cleanup.
This commit is contained in:
@@ -44,7 +44,6 @@
|
|||||||
(re-frame/reg-event-db
|
(re-frame/reg-event-db
|
||||||
::editing
|
::editing
|
||||||
(fn [db [_ which]]
|
(fn [db [_ which]]
|
||||||
|
|
||||||
(-> db
|
(-> db
|
||||||
(forms/start-form ::edit-transaction {:id (:id which)
|
(forms/start-form ::edit-transaction {:id (:id which)
|
||||||
:yodlee-merchant (:yodlee-merchant which)
|
:yodlee-merchant (:yodlee-merchant which)
|
||||||
@@ -156,17 +155,7 @@
|
|||||||
:event change-event
|
:event change-event
|
||||||
:subscription data}]]]]
|
:subscription data}]]]]
|
||||||
|
|
||||||
[:div.field
|
|
||||||
[:div.control
|
|
||||||
[:label.checkbox
|
|
||||||
[bind-field
|
|
||||||
[:input.checkbox {:type "checkbox"
|
|
||||||
:field [:exclude-from-ledger]
|
|
||||||
:subscription data
|
|
||||||
:event change-event}
|
|
||||||
]]
|
|
||||||
" Exclude from ledger?"
|
|
||||||
]]]
|
|
||||||
|
|
||||||
[:div.field
|
[:div.field
|
||||||
[bind-field
|
[bind-field
|
||||||
@@ -179,6 +168,18 @@
|
|||||||
:event change-event
|
:event change-event
|
||||||
:subscription data}]]]
|
:subscription data}]]]
|
||||||
|
|
||||||
|
[:div.field
|
||||||
|
[:div.control
|
||||||
|
[:label.checkbox
|
||||||
|
[bind-field
|
||||||
|
[:input.checkbox {:type "checkbox"
|
||||||
|
:field [:exclude-from-ledger]
|
||||||
|
:subscription data
|
||||||
|
:event change-event}
|
||||||
|
]]
|
||||||
|
" Exclude from ledger?"
|
||||||
|
]]]
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
[:div.field
|
[:div.field
|
||||||
[:p.control
|
[:p.control
|
||||||
|
|||||||
Reference in New Issue
Block a user