profit and loss screen.
This commit is contained in:
@@ -150,12 +150,9 @@
|
||||
:where ['[?e :invoice/total]]}
|
||||
:args [(d/db conn)]}))
|
||||
z (->> invoice-ids
|
||||
(mapv #(ledger/entity-change->ledger (d/db conn) [:invoice %])))]
|
||||
(mapv #(vector (ledger/entity-change->ledger (d/db conn) [:invoice %]))))]
|
||||
z))
|
||||
|
||||
#_(do @(d/transact (d/connect auto-ap.datomic/uri)
|
||||
(bulk-load-invoice-ledger (d/connect auto-ap.datomic/uri)))
|
||||
(println "test"))
|
||||
|
||||
(defn bulk-load-transaction-ledger [conn]
|
||||
(let [transaction-ids (map first (d/query {:query {:find '[?e]
|
||||
|
||||
Reference in New Issue
Block a user