requires setting status.

This commit is contained in:
Bryce Covert
2019-05-16 08:52:35 -07:00
parent 8845ec9688
commit b488ad6302
2 changed files with 9 additions and 4 deletions

View File

@@ -100,6 +100,7 @@
:dom-lte nil :dom-lte nil
:dom-gte nil :dom-gte nil
:vendor nil :vendor nil
:transaction-approval-status :unapproved
:accounts []))))) :accounts [])))))
(re-frame/reg-event-db (re-frame/reg-event-db

View File

@@ -141,11 +141,15 @@
{:keys [form field raw-field error-notification submit-button ]} transaction-form] {:keys [form field raw-field error-notification submit-button ]} transaction-form]
[form {:title "Hello" :edit-completed edit-completed} [form {:title "Hello" :edit-completed edit-completed}
(when @(re-frame/subscribe [::subs/is-admin?]) (when (and @(re-frame/subscribe [::subs/is-admin?])
[field "Merchant" (get-in data [:yodlee-merchant]))
[:div.control
[:p.help "Merchant"]
[:input.input {:type "text" [:input.input {:type "text"
:field [:yodlee-merchant :name] :disabled true
:disabled "disabled"}]]) :value (str (get-in data [:yodlee-merchant :name])
" - "
(get-in data [:yodlee-merchant :yodlee-id]))}]])
(when @(re-frame/subscribe [::subs/is-admin?]) (when @(re-frame/subscribe [::subs/is-admin?])
[field "Matched Rule" [field "Matched Rule"