improvements.
This commit is contained in:
@@ -277,7 +277,17 @@
|
|||||||
"New account"))))])
|
"New account"))))])
|
||||||
:footer
|
:footer
|
||||||
(mm/default-step-footer linear-wizard this :validation-route ::route/new-wizard-navigate)
|
(mm/default-step-footer linear-wizard this :validation-route ::route/new-wizard-navigate)
|
||||||
:validation-route ::route/new-wizard-navigate)))
|
:validation-route ::route/new-wizard-navigate))
|
||||||
|
mm/Initializable
|
||||||
|
(init-step-params
|
||||||
|
[_ request]
|
||||||
|
(alog/peek ::INIT {:invoice/expense-accounts [{:db/id "123"
|
||||||
|
:invoice-expense-account/amount 100}]})
|
||||||
|
{:invoice/expense-accounts [{:db/id "123"
|
||||||
|
:invoice-expense-account/location "Shared"
|
||||||
|
:invoice-expense-account/account (ffirst (dc/q '[:find ?a :where [?a :account/name]]
|
||||||
|
(dc/db conn)))
|
||||||
|
:invoice-expense-account/amount 100}]}))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user