one more tweak.
This commit is contained in:
@@ -553,7 +553,7 @@
|
||||
:client_id client-id
|
||||
:location location
|
||||
:account (or account
|
||||
(str "All " {:name (name category)}))
|
||||
{:name (str "All " (name category))})
|
||||
:journal_entries (when account (sort-by :date journal-entries))
|
||||
:total (- (or (reduce + 0.0 (map #(or (:credit %) 0.0) journal-entries)) 0.0)
|
||||
(or (reduce + 0.0 (map #(or (:debit %) 0.0) journal-entries)) 0.0))})})
|
||||
|
||||
Reference in New Issue
Block a user