Merge branch 'master' of bitbucket.org:brycecovertoperations/integreat
This commit is contained in:
@@ -34,9 +34,10 @@
|
||||
(invoices-expense-accounts/get-for-invoice (:id value))))
|
||||
|
||||
(defn edit-expense-accounts [context args value]
|
||||
(invoices-expense-accounts/replace-for-invoice (:invoice_id args) (map (fn [{:keys [id expense_account_id amount]}]
|
||||
(invoices-expense-accounts/replace-for-invoice (:invoice_id args) (map (fn [{:keys [id expense_account_id amount location]}]
|
||||
{
|
||||
:expense-account-id expense_account_id
|
||||
:location location
|
||||
:amount (Double/parseDouble amount)} )
|
||||
(:expense_accounts args)))
|
||||
(->graphql
|
||||
|
||||
Reference in New Issue
Block a user