tweaks for totals.
This commit is contained in:
@@ -586,24 +586,23 @@
|
||||
{:value (get je :running-balance)
|
||||
:format :dollar}])
|
||||
(:journal-entries category))
|
||||
(when (seq (:journal-entries category))
|
||||
[[
|
||||
{:value (str (client-codes (:client-id category)) " - " (:location category) " - " (:name (:account category)))
|
||||
:bold true
|
||||
:border [:top]}
|
||||
{:value ""
|
||||
:border [:top]}
|
||||
{:value (str "Total" )
|
||||
:bold true
|
||||
:border [:top]}
|
||||
{:value ""
|
||||
:border [:top]}
|
||||
{:value ""
|
||||
:border [:top]}
|
||||
{:value (:total category)
|
||||
:format :dollar
|
||||
:bold true
|
||||
:border [:top]}]])))
|
||||
[[
|
||||
{:value (str (client-codes (:client-id category)) " - " (:location category) " - " (:name (:account category)))
|
||||
:bold true
|
||||
:border [:top]}
|
||||
{:value ""
|
||||
:border [:top]}
|
||||
{:value (str "Total" )
|
||||
:bold true
|
||||
:border [:top]}
|
||||
{:value ""
|
||||
:border [:top]}
|
||||
{:value ""
|
||||
:border [:top]}
|
||||
{:value (:total category)
|
||||
:format :dollar
|
||||
:bold true
|
||||
:border [:top]}]]))
|
||||
|
||||
)
|
||||
[]
|
||||
|
||||
Reference in New Issue
Block a user