you can set terms

This commit is contained in:
Bryce Covert
2020-04-18 09:24:34 -07:00
parent ec10e6b823
commit 5f309de2d4
5 changed files with 11 additions and 4 deletions

View File

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

View File

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