Add triggered actions to update route of invoices
This commit is contained in:
parent
88c4fe0147
commit
8178cd4bac
1 changed files with 1 additions and 1 deletions
|
|
@ -397,7 +397,7 @@ class InvoiceController extends BaseController
|
|||
|
||||
$invoice = $this->invoice_repo->save($request->all(), $invoice);
|
||||
|
||||
$invoice->service()->deletePdf();
|
||||
$invoice->service()->triggeredActions($request)->deletePdf();
|
||||
|
||||
event(new InvoiceWasUpdated($invoice, $invoice->company, Ninja::eventVars(auth()->user() ? auth()->user()->id : null)));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue