adds total.

This commit is contained in:
2022-02-07 19:06:52 -08:00
parent 4ad0e13c27
commit 24cc03ccd2
3 changed files with 30 additions and 14 deletions

View File

@@ -53,6 +53,7 @@
[:payments [:amount :id [:payment [:id :status :amount :s3_url :check_number
[:transaction [:post_date]]]]]]]]
:outstanding
:total_amount
:total
:start
:end]]]})
@@ -254,7 +255,8 @@
:column-count (if selected-client 8 9)}
[grid/controls data
[:div.level-item
"Outstanding " (nf (:outstanding data))]]
"Outstanding " (nf (:outstanding data))
" Total " (nf (:total-amount data))]]
(for [invoices invoice-groups]
^{:key (or (:id (first invoices)) "init")}
[grid/table {:fullwidth true}