Skip to content

Commit

Permalink
CIVIQBO-107 Correct accounts status for completed invoices
Browse files Browse the repository at this point in the history
This fixes a regression introduced in 66ee833
  • Loading branch information
agileware-fj committed Oct 16, 2023
1 parent 86c3a2c commit eae2bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Civiquickbooks/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit eae2bcc

Please sign in to comment.