Merge pull request #10522 from turbo124/v5-develop

Update invoice event when matching on invoice transactions
This commit is contained in:
David Bomba 2025-01-13 16:36:04 +11:00 committed by GitHub
commit 3d2ba32c7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -323,6 +323,9 @@ class MatchBankTransactions implements ShouldQueue
->updatePaidToDate($_amount) ->updatePaidToDate($_amount)
->setCalculatedStatus() ->setCalculatedStatus()
->save(); ->save();
event('eloquent.updated: App\Models\Invoice', $this->invoice);
} }
}); });
}, 2); }, 2);