another attempt
This commit is contained in:
@@ -548,8 +548,8 @@
|
|||||||
(fn [[acc last-je] je]
|
(fn [[acc last-je] je]
|
||||||
(let [next-je (assoc je :running_balance
|
(let [next-je (assoc je :running_balance
|
||||||
(- (+ (:running_balance last-je 0.0)
|
(- (+ (:running_balance last-je 0.0)
|
||||||
(Double/parseDouble (:debit je 0.0)))
|
(:debit je 0.0))
|
||||||
(Double/parseDouble (:credit je 0.0))))]
|
(:credit je 0.0)))]
|
||||||
[(conj acc next-je) next-je]))
|
[(conj acc next-je) next-je]))
|
||||||
[]
|
[]
|
||||||
journal-entries)})})
|
journal-entries)})})
|
||||||
|
|||||||
Reference in New Issue
Block a user