From fea344658b88bc72ffc5888996a82a5584f4b060 Mon Sep 17 00:00:00 2001 From: Bryce Date: Thu, 26 Sep 2024 06:53:39 -0700 Subject: [PATCH] formatting change. --- src/clj/auto_ap/ssr/dashboard.clj | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/clj/auto_ap/ssr/dashboard.clj b/src/clj/auto_ap/ssr/dashboard.clj index 5b23cadf..b06b5b53 100644 --- a/src/clj/auto_ap/ssr/dashboard.clj +++ b/src/clj/auto_ap/ssr/dashboard.clj @@ -72,10 +72,7 @@ (-> b :bank-account/yodlee-account :yodlee-account/available-balance) (-> b :bank-account/plaid-account :plaid-account/balance) 0.0))] - (when-let [pending-balance (-> b :bank-account/yodlee-account :yodlee-account/available-balance)] - (list - [:div (str n " Pending Balance")] - [:div.text-right (format "$%,.2f" pending-balance)])) + [:div.text-xs.text-gray-400.text-right (or (some-> (:bank-account/intuit-bank-account b) (:intuit-bank-account/last-synced) @@ -89,6 +86,10 @@ (:plaid-account/last-synced) (atime/unparse-local atime/standard-time) (#(str "Synced " %))))] + (when-let [pending-balance (-> b :bank-account/yodlee-account :yodlee-account/pending-balance)] + (list + [:div (str n " Pending Txs")] + [:div.text-right (format "$%,.2f" pending-balance)])) [:div.inline-flex.justify-end.text-xs.text-gray-400.it])) #_[:div.inline-flex.justify-between.items-baseline]]])]])))