From 19fcff7dc517ada67e69fa892acbd51e11884e12 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Sat, 22 Oct 2022 21:03:22 -0700 Subject: [PATCH] another attempt --- src/clj/auto_ap/graphql/ledger.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clj/auto_ap/graphql/ledger.clj b/src/clj/auto_ap/graphql/ledger.clj index 8636544e..e33c47ec 100644 --- a/src/clj/auto_ap/graphql/ledger.clj +++ b/src/clj/auto_ap/graphql/ledger.clj @@ -548,8 +548,8 @@ (fn [[acc last-je] je] (let [next-je (assoc je :running_balance (- (+ (:running_balance last-je 0.0) - (Double/parseDouble (:debit je 0.0))) - (Double/parseDouble (:credit je 0.0))))] + (:debit je 0.0)) + (:credit je 0.0)))] [(conj acc next-je) next-je])) [] journal-entries)})})