From eae2bcc79c7e9b5771f618ad1a9de9321d172072 Mon Sep 17 00:00:00 2001 From: Francis Whittle Date: Mon, 16 Oct 2023 11:53:02 +1100 Subject: [PATCH] CIVIQBO-107 Correct accounts status for completed invoices This fixes a regression introduced in 66ee833 --- CRM/Civiquickbooks/Invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Civiquickbooks/Invoice.php b/CRM/Civiquickbooks/Invoice.php index 2659ce9..7a65a5a 100644 --- a/CRM/Civiquickbooks/Invoice.php +++ b/CRM/Civiquickbooks/Invoice.php @@ -346,7 +346,7 @@ protected function saveToCiviCRM($invoice, $record) { } $record['accounts_needs_update'] = 0; - $record['accounts_status_id'] = 'cancelled'; + $record['accounts_status_id'] = 'completed'; CRM_Core_DAO::setFieldValue( 'CRM_Accountsync_DAO_AccountInvoice',