source filtering and making it so 0s get deleted

This commit is contained in:
2022-03-03 09:18:32 -08:00
parent 223a3749ec
commit 7d0320dfcc
6 changed files with 37 additions and 13 deletions

View File

@@ -25,6 +25,7 @@
:account-id (:id (:account params))
:bank-account-id (:id (:bank-account params))
:external-id-like (:external-id params)
:source (:source params)
:amount-gte (:amount-gte (:amount-range params))
:amount-lte (:amount-lte (:amount-range params))
:only-external true})

View File

@@ -95,6 +95,13 @@
(when (= :external-ledger ap)
[:<>
[:p.menu-label "Source"]
[:div
[:div.field
[:div.control [:input.input {:placeholder "Source"
:value @(re-frame/subscribe [::data-page/filter data-page :source])
:on-change (dispatch-value-change [::data-page/filter-changed data-page :source])} ]]]]
[:p.menu-label "External ID"]
[:div
[:div.field