From 20d729851a669f5c844b5267912cefc8bf69d82c Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Wed, 16 Nov 2022 11:52:27 -0800 Subject: [PATCH] fix bug. --- src/clj/auto_ap/graphql/ledger.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/clj/auto_ap/graphql/ledger.clj b/src/clj/auto_ap/graphql/ledger.clj index bfa31936..6cea8abb 100644 --- a/src/clj/auto_ap/graphql/ledger.clj +++ b/src/clj/auto_ap/graphql/ledger.clj @@ -592,9 +592,9 @@ :total (+ (get-in @category-totals [client-id location :sales] 0.0) (get-in @category-totals [client-id location :cogs] 0.0) (get-in @category-totals [client-id location :payroll] 0.0) - (- (+ (get-in @category-totals [client-id location :controllable] 0.0) - (get-in @category-totals [client-id location :fixed-overhead] 0.0) - (get-in @category-totals [client-id location :ownership-controllable] 0.0))))}]] + (get-in @category-totals [client-id location :controllable] 0.0) + (get-in @category-totals [client-id location :fixed-overhead] 0.0) + (get-in @category-totals [client-id location :ownership-controllable] 0.0))}]] line))}] result))