shows check numbers

This commit is contained in:
2024-07-03 23:03:15 -07:00
parent 0bb6ed2c6d
commit de12d8f804

View File

@@ -102,13 +102,15 @@
(when (and selected-client (:is-locked i)) (when (and selected-client (:is-locked i))
[lock-icon]) [lock-icon])
(:name bank-account)] (:name bank-account)]
[grid/cell {} (cond vendor [grid/cell {} [:<> (cond vendor
(:name vendor) (:name vendor)
yodlee-merchant yodlee-merchant
[:i.has-text-grey (str "Merchant '" (:name yodlee-merchant) "'")] [:i.has-text-grey (str "Merchant '" (:name yodlee-merchant) "'")]
:else :else
[:i.has-text-grey (str description-original)])] [:i.has-text-grey (str description-original)])
(when (:check-number i)
[:div.tag.is-primary.is-light {:style {:margin-left "2em"}} "Check " (:check-number i)])]]
[grid/cell {} (date->str date)] [grid/cell {} (date->str date)]
[grid/cell {:class "has-text-right"} (nf amount)] [grid/cell {:class "has-text-right"} (nf amount)]
[grid/cell {} status] [grid/cell {} status]