tweaks
This commit is contained in:
@@ -69,8 +69,6 @@
|
||||
;; NOTE: upsert-running-balance now uses proper accounting signs:
|
||||
;; asset accounts increase with debit (positive), equity accounts increase with credit (negative here)
|
||||
(sut/upsert-running-balance conn)
|
||||
(println (d/pull (d/db conn) '[*] line-1-1))
|
||||
|
||||
(is (= [10.0 60.0 210.0]
|
||||
(map #(pull-attr (d/db conn) :journal-entry-line/running-balance %) [line-1-1 line-2-1 line-3-1])))
|
||||
(is (= [-10.0 -60.0 -210.0]
|
||||
|
||||
Reference in New Issue
Block a user