making saveable.
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
[clj-time.core :as time]
|
[clj-time.core :as time]
|
||||||
[clj-time.coerce :as coerce]))
|
[clj-time.coerce :as coerce]))
|
||||||
|
|
||||||
(def uri "datomic:sql://invoices-backup?jdbc:postgresql://database:5432/datomic?user=datomic&password=datomic")
|
(def uri "datomic:sql://invoices?jdbc:postgresql://database:5432/datomic?user=datomic&password=datomic")
|
||||||
|
|
||||||
(defn create-database []
|
(defn create-database []
|
||||||
(d/create-database uri))
|
(d/create-database uri))
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
:note
|
:note
|
||||||
:amount-gte
|
:amount-gte
|
||||||
:amount-lte
|
:amount-lte
|
||||||
|
:dom-gte
|
||||||
|
:dom-lte
|
||||||
[:client [:name :id]]
|
[:client [:name :id]]
|
||||||
[:bank-account [:name :id]]
|
[:bank-account [:name :id]]
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -84,7 +84,10 @@
|
|||||||
:bank-account nil
|
:bank-account nil
|
||||||
:note nil
|
:note nil
|
||||||
:amount-lte nil
|
:amount-lte nil
|
||||||
:amount-gte nil)))))
|
:amount-gte nil
|
||||||
|
:dom-lte nil
|
||||||
|
:dom-gte nil
|
||||||
|
)))))
|
||||||
|
|
||||||
(re-frame/reg-event-db
|
(re-frame/reg-event-db
|
||||||
::editing
|
::editing
|
||||||
@@ -96,7 +99,10 @@
|
|||||||
:bank-account
|
:bank-account
|
||||||
:note
|
:note
|
||||||
:amount-lte
|
:amount-lte
|
||||||
:amount-gte])))))
|
:amount-gte
|
||||||
|
:dom-lte
|
||||||
|
:dom-gte
|
||||||
|
])))))
|
||||||
|
|
||||||
|
|
||||||
(re-frame/reg-event-db
|
(re-frame/reg-event-db
|
||||||
|
|||||||
Reference in New Issue
Block a user