From de12d8f8040ec75f614cb66f07ed7bfb71de61d5 Mon Sep 17 00:00:00 2001 From: Bryce Date: Wed, 3 Jul 2024 23:03:15 -0700 Subject: [PATCH] shows check numbers --- .../auto_ap/views/pages/transactions/table.cljs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/cljs/auto_ap/views/pages/transactions/table.cljs b/src/cljs/auto_ap/views/pages/transactions/table.cljs index adb2bee6..aab2f782 100644 --- a/src/cljs/auto_ap/views/pages/transactions/table.cljs +++ b/src/cljs/auto_ap/views/pages/transactions/table.cljs @@ -102,13 +102,15 @@ (when (and selected-client (:is-locked i)) [lock-icon]) (:name bank-account)] - [grid/cell {} (cond vendor - (:name vendor) - yodlee-merchant - [:i.has-text-grey (str "Merchant '" (:name yodlee-merchant) "'")] + [grid/cell {} [:<> (cond vendor + (:name vendor) + yodlee-merchant + [:i.has-text-grey (str "Merchant '" (:name yodlee-merchant) "'")] - :else - [:i.has-text-grey (str description-original)])] + :else + [: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 {:class "has-text-right"} (nf amount)] [grid/cell {} status]