This commit is contained in:
Bryce Covert
2019-10-04 22:09:07 -07:00
parent 71b7a1ff8e
commit 6833e8abf5

View File

@@ -251,7 +251,7 @@
["8200 Occupancy Costs" 8200 8299] ["8200 Occupancy Costs" 8200 8299]
["8300 Utilities" 8300 8399] ["8300 Utilities" 8300 8399]
["8400 Equipment Rental" 8400 8499] ["8400 Equipment Rental" 8400 8499]
["8500-8700 Taxes and Insurance" 8500 8699] ["8500-8700 Taxes and Insurance" 8500 8799]
["8800 Depreciation" 8800 8899] ["8800 Depreciation" 8800 8899]
["9100 Promotion and Outreach" 9100 9199] ["9100 Promotion and Outreach" 9100 9199]
["9200 Employee Morale and Training" 9200 9299] ["9200 Employee Morale and Training" 9200 9299]
@@ -466,9 +466,9 @@
(list (list
[:tr [:tr
[:td.has-text-right "Period ending"] [:td.has-text-right "Period ending"]
[:td.has-text-right (date->str (str->date (:date params) standard))] [:td.has-text-right (date->str (str->date (:to-date params) standard))]
[:td.has-text-right (when (:date params) [:td.has-text-right (when (:to-date params)
(date->str (t/minus (str->date (:date params) standard) (t/years 1))))] (date->str (t/minus (str->date (:to-date params) standard) (t/years 1))))]
[:td]] [:td]]
(for [location @(re-frame/subscribe [::locations])] (for [location @(re-frame/subscribe [::locations])]
(list (list