two background task fixes.
This commit is contained in:
@@ -293,6 +293,8 @@
|
||||
[]))
|
||||
|
||||
(defn code-invoice [invoice]
|
||||
(mu/log ::trying-to-code-invoice
|
||||
:invoice invoice)
|
||||
(let [db (dc/db auto-ap.datomic/conn)
|
||||
client-id (:invoice/client invoice)
|
||||
vendor-id (:invoice/vendor invoice)
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#:transaction
|
||||
{:post-date (coerce/to-date (atime/parse post-date "YYYY-MM-dd"))
|
||||
:id (di/sha-256 (str id))
|
||||
:db/id (random-tempid)
|
||||
:raw-id (str id)
|
||||
:account-id account-id
|
||||
:date (if use-date-instead-of-post-date?
|
||||
|
||||
Reference in New Issue
Block a user