print as
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
|
||||
[:id :name :locations [:bank-accounts [:id :number :check-number :name] ]]]
|
||||
[:vendor
|
||||
[:id :name :default-expense-account]]]}
|
||||
[:id :name :default-expense-account :primary-contact :primary-email :primary-phone :secondary-contact :secondary-email :secondary-phone :print-as :invoice-reminder-schedule :code]]]}
|
||||
|
||||
:on-success [::received-initial]}}))))
|
||||
|
||||
|
||||
@@ -115,7 +115,6 @@
|
||||
(re-frame/reg-event-db
|
||||
::received-vendors
|
||||
(fn [db [_ vendors]]
|
||||
|
||||
(assoc db :vendors (reduce (fn [vendors vendor]
|
||||
(assoc vendors (:id vendor) vendor))
|
||||
{}
|
||||
|
||||
@@ -33,8 +33,18 @@
|
||||
:spec ::entity/name
|
||||
:event change-event
|
||||
:subscription vendor}]]]]
|
||||
|
||||
|
||||
[horizontal-field
|
||||
[:label.label "Print Checks As"]
|
||||
[:div.control
|
||||
[bind-field
|
||||
[:input.input {:type "text"
|
||||
:field :print-as
|
||||
:spec ::entity/print-as
|
||||
:event change-event
|
||||
:subscription vendor}]]]]
|
||||
|
||||
#_[horizontal-field
|
||||
[:label.label "Code"]
|
||||
[:div.control
|
||||
|
||||
|
||||
Reference in New Issue
Block a user