payment matching almost there.

This commit is contained in:
Bryce Covert
2019-04-24 07:42:53 -07:00
parent f547911c5b
commit 9013f54f32

View File

@@ -159,11 +159,14 @@
[:div.column.is-narrow
[:a.button {:on-click (dispatch-event [::manual-match])} [:i.fa.fa-times]]]]
[:ul
[:table.table.compact.is-borderless
(list
(for [{:keys [memo vendor]} (:potential-payment-matches data)]
[:li (:name vendor) " - " memo " " [:a.button.is-primary.is-small "Match"]]
))]
[:tr
[:td.no-border (:name vendor)]
[:td.no-border memo]
[:td.no-border
[:a.button.is-primary.is-small "Match"]]]))]
]
[:div
[:div.field