Fix for deleted invoice/quote subscriptions

This commit is contained in:
Hillel Coren 2018-10-08 10:17:04 +03:00
parent 55a756920b
commit fcf9b6149d

View file

@ -56,6 +56,7 @@ class EventServiceProvider extends ServiceProvider
'App\Listeners\TaskListener@deletedInvoice',
'App\Listeners\ExpenseListener@deletedInvoice',
'App\Listeners\HistoryListener@deletedInvoice',
'App\Listeners\SubscriptionListener@deletedInvoice',
],
'App\Events\InvoiceWasRestored' => [
'App\Listeners\ActivityListener@restoredInvoice',
@ -92,6 +93,7 @@ class EventServiceProvider extends ServiceProvider
'App\Events\QuoteWasDeleted' => [
'App\Listeners\ActivityListener@deletedQuote',
'App\Listeners\HistoryListener@deletedQuote',
'App\Listeners\SubscriptionListener@deletedQuote',
],
'App\Events\QuoteWasRestored' => [
'App\Listeners\ActivityListener@restoredQuote',