added ability to schedule payment on DOM

This commit is contained in:
Bryce Covert
2020-09-24 11:15:46 -07:00
parent c5ed61b2e1
commit 99e09b1181
8 changed files with 104 additions and 11 deletions

View File

@@ -136,6 +136,11 @@
:terms {:type 'Int}
}}
:schedule_payment_dom
{:fields {:id {:type :id}
:client {:type :client}
:dom {:type 'Int}}}
:vendor_account_override
{:fields {:id {:type :id}
:client {:type :client}
@@ -152,6 +157,7 @@
:hidden {:type 'Boolean}
:automatically_paid_when_due {:type '(list :client)}
:terms_overrides {:type '(list :terms_override)}
:schedule_payment_dom {:type '(list :schedule_payment_dom)}
:account_overrides {:type '(list :vendor_account_override)}
:usage {:type '(list :usage)}
@@ -689,6 +695,11 @@
:client_id {:type :id}
:account_id {:type :id}}}
:add_schedule_payment_dom
{:fields {:id {:type :id}
:client_id {:type :id}
:dom {:type 'Int}}}
:add_vendor
{:fields {:id {:type :id}
:name {:type 'String}
@@ -705,6 +716,7 @@
:default_account_id {:type :id}
:account_overrides {:type '(list :add_account_override)}
:schedule_payment_dom {:type '(list :add_schedule_payment_dom)}
:invoice_reminder_schedule {:type 'String}}}
:edit_expense_account