date too.
This commit is contained in:
@@ -298,7 +298,8 @@
|
|||||||
(mapv
|
(mapv
|
||||||
#(remove-nils (-> %
|
#(remove-nils (-> %
|
||||||
(update :journal-entry-line/account :db/id)
|
(update :journal-entry-line/account :db/id)
|
||||||
(assoc :journal-entry-line/client (-> request :form-params :journal-entry/client :db/id)))
|
(assoc :journal-entry-line/client (-> request :form-params :journal-entry/client :db/id)
|
||||||
|
:journal-entry-line/date (-> request :form-params :journal-entry/date coerce/to-date)))
|
||||||
li)))
|
li)))
|
||||||
(assoc :journal-entry/external-id (str "manual-" (UUID/randomUUID))))
|
(assoc :journal-entry/external-id (str "manual-" (UUID/randomUUID))))
|
||||||
(= :post (:request-method request)) (assoc :db/id "new"))
|
(= :post (:request-method request)) (assoc :db/id "new"))
|
||||||
|
|||||||
Reference in New Issue
Block a user