From 55e1a3386ce1a156cf60d5947578b73d1d3e7e7e Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Mon, 24 Oct 2022 23:32:46 -0700 Subject: [PATCH] one more tweak. --- src/clj/auto_ap/graphql/ledger.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/auto_ap/graphql/ledger.clj b/src/clj/auto_ap/graphql/ledger.clj index 99ff72fe..41fceef9 100644 --- a/src/clj/auto_ap/graphql/ledger.clj +++ b/src/clj/auto_ap/graphql/ledger.clj @@ -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))})})