adding invoices works correctly again.
This commit is contained in:
@@ -273,12 +273,12 @@
|
||||
:amount {:type 'String}}}
|
||||
|
||||
:add_invoice
|
||||
{:fields {:id {:type 'Int}
|
||||
{:fields {:id {:type 'String}
|
||||
:invoice_number {:type 'String}
|
||||
:location {:type 'String}
|
||||
:date {:type 'String}
|
||||
:company_id {:type 'Int}
|
||||
:vendor_id {:type 'Int}
|
||||
:client_id {:type 'String}
|
||||
:vendor_id {:type 'String}
|
||||
:vendor_name {:type 'String}
|
||||
:total {:type 'Float}}}
|
||||
|
||||
@@ -316,9 +316,9 @@
|
||||
:void_invoice {:type :invoice
|
||||
:args {:invoice_id {:type 'Int}}
|
||||
:resolve :mutation/void-invoice}
|
||||
:void_check {:type :payment
|
||||
:void_payment {:type :payment
|
||||
:args {:payment_id {:type 'String}}
|
||||
:resolve :mutation/void-check}
|
||||
:resolve :mutation/void-payment}
|
||||
:edit_expense_accounts {:type :invoice
|
||||
:args {:invoice_id {:type 'Int}
|
||||
:expense_accounts {:type '(list :edit_expense_account)}}
|
||||
@@ -483,7 +483,7 @@
|
||||
:mutation/add-invoice gq-invoices/add-invoice
|
||||
:mutation/edit-invoice gq-invoices/edit-invoice
|
||||
:mutation/void-invoice gq-invoices/void-invoice
|
||||
:mutation/void-check gq-checks/void-check
|
||||
:mutation/void-payment gq-checks/void-check
|
||||
:mutation/edit-expense-accounts gq-invoices/edit-expense-accounts
|
||||
:get-vendor get-vendor
|
||||
:get-expense-account expense-accounts/get-expense-account
|
||||
|
||||
Reference in New Issue
Block a user