making saveable.

This commit is contained in:
Bryce Covert
2019-05-10 06:20:36 -07:00
parent 16a3b14844
commit ea4367a910
3 changed files with 11 additions and 3 deletions

View File

@@ -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))

View File

@@ -5,6 +5,8 @@
:note
:amount-gte
:amount-lte
:dom-gte
:dom-lte
[:client [:name :id]]
[:bank-account [:name :id]]
])

View File

@@ -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