another small improvement.

This commit is contained in:
Bryce Covert
2022-10-25 06:59:04 -07:00
parent 55e1a3386c
commit c36602ef09
2 changed files with 11 additions and 13 deletions

View File

@@ -566,10 +566,9 @@
(into rows (into rows
;; TODO colspan ? ;; TODO colspan ?
(concat (when (seq (:journal-entries category)) (concat (when (seq (:journal-entries category))
[[{:value (str (client-codes (:client-id category)) " - " (:location category) " - " (name (:category category)) " - " (:name (:account category)) ) [[{:value (str "Total " (client-codes (:client-id category)) " - " (:location category) " - " (:name (:account category)) )
:colspan 2
} :bold true}
{:value "Total"}
{:value ""} {:value ""}
{:value ""} {:value ""}
{:value (:total category) {:value (:total category)
@@ -585,14 +584,13 @@
{:value (get je :running-balance) {:value (get je :running-balance)
:format :dollar}]) :format :dollar}])
(:journal-entries category)) (:journal-entries category))
[[{:value (str (client-codes (:client-id category)) " - " (:location category) " - " (name (:category category)) " - " (:name (:account category)) ) [[[{:value (str "Total " (client-codes (:client-id category)) " - " (:location category) " - " (:name (:account category)) )
:colspan 2
} :bold true}
{:value "Total"} {:value ""}
{:value ""} {:value ""}
{:value ""} {:value (:total category)
{:value (:total category) :format :dollar}]]]))
:format :dollar}]]))
) )
[] []

View File

@@ -193,7 +193,7 @@ NOTE: Please review the transactions we may have question for you here: https://
(when (:warning report) (when (:warning report)
[:div.notification.is-warning.is-light [:div.notification.is-warning.is-light
(:warning report)]) (:warning report)])
[rtable/table {:widths [20 20 60 20 20] [rtable/table {:widths [20 60 20 20 20]
:table report}]])) :table report}]]))