Merge branch 'master' into fix-stuff

This commit is contained in:
Bryce Covert
2020-12-21 20:05:54 -08:00
4 changed files with 29 additions and 20 deletions

View File

@@ -38,7 +38,7 @@
))
)
journal-entries)]
(result->page journal-entries journal-entries-count :journal_entries args)))
(result->page journal-entries journal-entries-count :journal_entries (:filters args))))
;; TODO a better way to do this might be to accumulate ALL credits and ALL debits, and then just do for credits: balance = credits - debits. and for debits balance = debits - credits
(defn credit-account? [account]