You change change expense accounts on invoices

This commit is contained in:
Bryce Covert
2018-09-03 16:00:20 -07:00
parent 2e87b9ddff
commit 11a9e3c39c
5 changed files with 45 additions and 19 deletions

View File

@@ -272,7 +272,7 @@
:companies {:type '(list Int)}}}
:edit_expense_account
{:fields {:id {:type 'Int}
{:fields {:id {:type 'String}
:expense_account_id {:type 'Int}
:location {:type 'String}
:amount {:type 'String}}}
@@ -330,7 +330,7 @@
:args {:payment_id {:type 'String}}
:resolve :mutation/void-payment}
:edit_expense_accounts {:type :invoice
:args {:invoice_id {:type 'Int}
:args {:invoice_id {:type 'String}
:expense_accounts {:type '(list :edit_expense_account)}}
:resolve :mutation/edit-expense-accounts}}})