you can set terms
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
[:accounts [:numeric-code :location :name :type :account_set :id]]]}
|
||||
:on-success [::received-initial]}}))))
|
||||
(def vendor-query
|
||||
[:id :name :hidden [:default-account [:name :id :location]]
|
||||
[:id :name :hidden :terms [:default-account [:name :id :location]]
|
||||
[:primary-contact [:name :phone :email :id]]
|
||||
[:secondary-contact [:id :name :phone :email]]
|
||||
:print-as :invoice-reminder-schedule :code
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
:on-success [::save-complete]
|
||||
:on-error [::forms/save-error ::vendor-form]}})))
|
||||
|
||||
(defn vendor-dialog [{:keys [save-event] {:keys [name]} :vendor}]
|
||||
(defn vendor-dialog [{:keys [save-event] }]
|
||||
|
||||
(let [clients-by-id @(re-frame/subscribe [::subs/clients-by-id])
|
||||
all-vendors @(re-frame/subscribe [::subs/vendors])
|
||||
|
||||
Reference in New Issue
Block a user