diff --git a/app/Services/Invoice/HandleCancellation.php b/app/Services/Invoice/HandleCancellation.php index 76b7545229c4..903c5edec405 100644 --- a/app/Services/Invoice/HandleCancellation.php +++ b/app/Services/Invoice/HandleCancellation.php @@ -57,6 +57,8 @@ class HandleCancellation extends AbstractService event(new InvoiceWasCancelled($this->invoice, $this->invoice->company, Ninja::eventVars(auth()->user() ? auth()->user()->id : null))); + event('eloquent.updated: App\Models\Invoice', $this->invoice); + $transaction = [ 'invoice' => $this->invoice->transaction_event(), 'payment' => [],