another fix.
This commit is contained in:
@@ -374,7 +374,7 @@
|
||||
:vendor-name vendor-name
|
||||
:amount (reduce + 0
|
||||
(->> lines
|
||||
(map :debit)))
|
||||
(map #(or (:debit %) 0.0))))
|
||||
:line-items (map (fn [{:keys [debit credit account-code location index]}]
|
||||
{:account-code account-code
|
||||
:index index
|
||||
|
||||
Reference in New Issue
Block a user