requires setting status.
This commit is contained in:
@@ -100,6 +100,7 @@
|
||||
:dom-lte nil
|
||||
:dom-gte nil
|
||||
:vendor nil
|
||||
:transaction-approval-status :unapproved
|
||||
:accounts [])))))
|
||||
|
||||
(re-frame/reg-event-db
|
||||
|
||||
@@ -141,11 +141,15 @@
|
||||
{:keys [form field raw-field error-notification submit-button ]} transaction-form]
|
||||
[form {:title "Hello" :edit-completed edit-completed}
|
||||
|
||||
(when @(re-frame/subscribe [::subs/is-admin?])
|
||||
[field "Merchant"
|
||||
(when (and @(re-frame/subscribe [::subs/is-admin?])
|
||||
(get-in data [:yodlee-merchant]))
|
||||
[:div.control
|
||||
[:p.help "Merchant"]
|
||||
[:input.input {:type "text"
|
||||
:field [:yodlee-merchant :name]
|
||||
:disabled "disabled"}]])
|
||||
:disabled true
|
||||
:value (str (get-in data [:yodlee-merchant :name])
|
||||
" - "
|
||||
(get-in data [:yodlee-merchant :yodlee-id]))}]])
|
||||
|
||||
(when @(re-frame/subscribe [::subs/is-admin?])
|
||||
[field "Matched Rule"
|
||||
|
||||
Reference in New Issue
Block a user