making saveable.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
[clj-time.core :as time]
|
||||
[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 []
|
||||
(d/create-database uri))
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
:note
|
||||
:amount-gte
|
||||
:amount-lte
|
||||
:dom-gte
|
||||
:dom-lte
|
||||
[:client [:name :id]]
|
||||
[:bank-account [:name :id]]
|
||||
])
|
||||
|
||||
@@ -84,7 +84,10 @@
|
||||
:bank-account nil
|
||||
:note nil
|
||||
:amount-lte nil
|
||||
:amount-gte nil)))))
|
||||
:amount-gte nil
|
||||
:dom-lte nil
|
||||
:dom-gte nil
|
||||
)))))
|
||||
|
||||
(re-frame/reg-event-db
|
||||
::editing
|
||||
@@ -96,7 +99,10 @@
|
||||
:bank-account
|
||||
:note
|
||||
:amount-lte
|
||||
:amount-gte])))))
|
||||
:amount-gte
|
||||
:dom-lte
|
||||
:dom-gte
|
||||
])))))
|
||||
|
||||
|
||||
(re-frame/reg-event-db
|
||||
|
||||
Reference in New Issue
Block a user