you can add overrides.
This commit is contained in:
@@ -110,12 +110,26 @@
|
||||
:city {:type 'String}
|
||||
:state {:type 'String}
|
||||
:zip {:type 'String}}}
|
||||
|
||||
:terms_override
|
||||
{:fields {:id {:type :id}
|
||||
:client {:type :client}
|
||||
:terms {:type 'Int}
|
||||
}}
|
||||
|
||||
:account_override
|
||||
{:fields {:id {:type :id}
|
||||
:client {:type :client}
|
||||
:account {:type :account}}}
|
||||
|
||||
:vendor
|
||||
{:fields {:id {:type :id}
|
||||
:name {:type 'String}
|
||||
:code {:type 'String}
|
||||
:terms {:type 'Int}
|
||||
:hidden {:type 'Boolean}
|
||||
:terms_overrides {:type '(list :terms_override)}
|
||||
:account_overrides {:type '(list :account_override)}
|
||||
|
||||
:print_as {:type 'String}
|
||||
:primary_contact {:type :contact}
|
||||
@@ -516,10 +530,22 @@
|
||||
:state {:type 'String}
|
||||
:zip {:type 'String}}}
|
||||
|
||||
:add_terms_override
|
||||
{:fields {:id {:type :id}
|
||||
:client_id {:type :id}
|
||||
:terms {:type 'Int}
|
||||
}}
|
||||
|
||||
:add_account_override
|
||||
{:fields {:id {:type :id}
|
||||
:client_id {:type :id}
|
||||
:account_id {:type :id}}}
|
||||
|
||||
:add_vendor
|
||||
{:fields {:id {:type :id}
|
||||
:name {:type 'String}
|
||||
:terms {:type 'Int}
|
||||
:terms_overrides {:type '(list :add_terms_override)}
|
||||
:code {:type 'String}
|
||||
|
||||
:hidden {:type 'Boolean}
|
||||
@@ -529,6 +555,7 @@
|
||||
:address {:type :add_address}
|
||||
|
||||
:default_account_id {:type :id}
|
||||
:account_overrides {:type '(list :add_account_override)}
|
||||
:invoice_reminder_schedule {:type 'String}}}
|
||||
|
||||
:edit_expense_account
|
||||
|
||||
Reference in New Issue
Block a user