Adds location filter.

This commit is contained in:
Bryce Covert
2020-10-01 08:04:57 -07:00
parent 5445d55063
commit 71c716e669
9 changed files with 37 additions and 0 deletions

View File

@@ -88,6 +88,13 @@
{:on-change-event [::data-page/filter-changed data-page :amount-range]
:value @(re-frame/subscribe [::data-page/filter data-page :amount-range])}]]
[:p.menu-label "Location"]
[:div.field
[:div.control [:input.input {:placeholder "SC"
:style {:width "3em"}
:value @(re-frame/subscribe [::data-page/filter data-page :location])
:on-change (dispatch-value-change [::data-page/filter-changed data-page :location ])} ]]]
[:p.menu-label "Invoice #"]
[:div
[invoice-number-filter params]]])]))