Adds transaction->autopay linking

This commit is contained in:
Bryce Covert
2021-01-05 17:57:36 -08:00
parent d3bb1f6cda
commit f0b31fe6d1
12 changed files with 745 additions and 347 deletions

View File

@@ -33,6 +33,7 @@
:amount-lte (:amount-lte (:amount-range params))
:location (:location params)
:unresolved (:unresolved params)
:scheduled-payments (:scheduled-payments params)
:invoice-number-like (:invoice-number-like params)
:client-id (:id @(re-frame/subscribe [::subs/client]))
:import-status (:import-status params)

View File

@@ -76,6 +76,19 @@
{:on-change-event [::data-page/filter-changed data-page :due-range]
:value @(re-frame/subscribe [::data-page/filter data-page :due-range])}]]
[:p.menu-label ""]
[:div
[switch-field {:id "unresolved-only"
:checked (boolean @(re-frame/subscribe [::data-page/filter data-page :scheduled-payments]))
:on-change (fn [e]
(re-frame/dispatch [::data-page/filter-changed data-page :scheduled-payments (.-checked (.-target e))])
)
:label "Scheduled payments"
:type "checkbox"}]]
[:p.menu-label "Amount"]
[:div
[number-filter