From 5fe4d7e0b38ab184ab0bd698f5821f1ab3c31091 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Tue, 18 Sep 2018 08:36:56 -0700 Subject: [PATCH] voiding invoice voids expense accounts too --- src/clj/auto_ap/graphql/invoices.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/clj/auto_ap/graphql/invoices.clj b/src/clj/auto_ap/graphql/invoices.clj index 34d4e827..82074fd1 100644 --- a/src/clj/auto_ap/graphql/invoices.clj +++ b/src/clj/auto_ap/graphql/invoices.clj @@ -62,6 +62,7 @@ :total 0 :outstanding-balance 0 :status "voided"})] + (invoices-expense-accounts/replace-for-invoice id []) (-> updated-invoice (->graphql))))