From 6833e8abf5b29383ee9f017d2955c01448379b70 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Fri, 4 Oct 2019 22:09:07 -0700 Subject: [PATCH] fixes. --- src/cljs/auto_ap/views/pages/ledger/profit_and_loss.cljs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cljs/auto_ap/views/pages/ledger/profit_and_loss.cljs b/src/cljs/auto_ap/views/pages/ledger/profit_and_loss.cljs index c01b1848..fbf323f6 100644 --- a/src/cljs/auto_ap/views/pages/ledger/profit_and_loss.cljs +++ b/src/cljs/auto_ap/views/pages/ledger/profit_and_loss.cljs @@ -251,7 +251,7 @@ ["8200 Occupancy Costs" 8200 8299] ["8300 Utilities" 8300 8399] ["8400 Equipment Rental" 8400 8499] - ["8500-8700 Taxes and Insurance" 8500 8699] + ["8500-8700 Taxes and Insurance" 8500 8799] ["8800 Depreciation" 8800 8899] ["9100 Promotion and Outreach" 9100 9199] ["9200 Employee Morale and Training" 9200 9299] @@ -466,9 +466,9 @@ (list [:tr [:td.has-text-right "Period ending"] - [:td.has-text-right (date->str (str->date (:date params) standard))] - [:td.has-text-right (when (:date params) - (date->str (t/minus (str->date (:date params) standard) (t/years 1))))] + [:td.has-text-right (date->str (str->date (:to-date params) standard))] + [:td.has-text-right (when (:to-date params) + (date->str (t/minus (str->date (:to-date params) standard) (t/years 1))))] [:td]] (for [location @(re-frame/subscribe [::locations])] (list