Makes yodlee search wwork again

This commit is contained in:
Bryce
2023-07-20 17:20:24 -07:00
parent e08a4cd28a
commit 148a00097d

View File

@@ -483,7 +483,7 @@
[form-builder/field-v2 {:field :yodlee-account}
"Yodlee Account (new)"
[typeahead-v3 {:entities @(re-frame/subscribe [::yodlee-accounts (:id new-client)])
[typeahead-v3 {:entities (mapcat :accounts (:yodlee-provider-accounts new-client ))
:entity->text (fn [m] (str (:name m) " - " (:number m)))}]]
[form-builder/raw-field-v2 {:field :use-date-instead-of-post-date}
@@ -638,9 +638,7 @@
[bank-account-card new-client bank-account (= 0 (:sort-order bank-account)) (= (:sort-order bank-account) (dec (count (:bank-accounts new-client))))]])
[:div.buttons
[:a.button.is-primary.is-outlined {:on-click (dispatch-event [::add-new-bank-account :credit])} "Add Credit Account"]
[:a.button.is-primary.is-outlined {:on-click (dispatch-event [::add-new-bank-account :check])} "Add Checking Account"]
[:a.button.is-primary.is-outlined {:on-click (dispatch-event [::add-new-bank-account :cash])} "Add Cash Account"]]]))
[:a.button.is-primary.is-outlined {:on-click (dispatch-event [::add-
(defn cash-flow-section []
(let [next-week-a (if (is-week-a? (t/now))