This commit is contained in:
BC
2018-07-05 20:36:09 -07:00
parent e5caab4285
commit 6d685ffd3b
7 changed files with 45 additions and 17 deletions

View File

@@ -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]}}))))

View File

@@ -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))
{}

View File

@@ -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