starting work on cash flow.
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
[:client [:name :id :locations]]
|
||||
[:payments [:amount :id [:payment [:id :status :amount :s3_url :check_number
|
||||
[:transaction [:post_date]]]]]]]]
|
||||
:outstanding
|
||||
:total
|
||||
:start
|
||||
:end]]]})
|
||||
@@ -172,7 +173,7 @@
|
||||
visible-expense-accounts @(re-frame/subscribe [::visible-expense-accounts])
|
||||
selected-client @(re-frame/subscribe [::subs/client])
|
||||
{:keys [sort]} @(re-frame/subscribe [::table-params])
|
||||
{:keys [invoices start end count total]} @invoice-page
|
||||
{:keys [invoices outstanding start end count total]} @invoice-page
|
||||
visible-checks @(re-frame/subscribe [::visible-checks])
|
||||
visible-expense-accounts @(re-frame/subscribe [::visible-expense-accounts])
|
||||
selected-client @(re-frame/subscribe [::subs/client])
|
||||
@@ -200,7 +201,9 @@
|
||||
:on-change opc}]]
|
||||
[:div.level-item
|
||||
[sort-by-list {:sort sort
|
||||
:on-change opc}]]]]
|
||||
:on-change opc}]]
|
||||
[:div.level-item
|
||||
"Outstanding" (nf outstanding)]]]
|
||||
(doall
|
||||
(for [invoices invoice-groups]
|
||||
^{:key (:id (first invoices))}
|
||||
|
||||
Reference in New Issue
Block a user