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]]])]])))