invoice and bill reminding is moved console command to listeners

This commit is contained in:
Sevan Nerse
2020-04-15 11:27:58 +03:00
parent 981c825213
commit 4c988cb373
7 changed files with 120 additions and 27 deletions

View File

@@ -39,6 +39,9 @@ class Event extends Provider
'App\Events\Purchase\BillRecurring' => [
'App\Listeners\Purchase\SendBillRecurringNotification',
],
'App\Events\Purchase\BillReminding' => [
'App\Listeners\Purchase\SendBillRemindingNotification',
],
'App\Events\Sale\PaymentReceived' => [
'App\Listeners\Sale\CreateInvoiceTransaction',
'App\Listeners\Sale\SendInvoicePaymentNotification',
@@ -59,6 +62,9 @@ class Event extends Provider
'App\Events\Sale\InvoiceRecurring' => [
'App\Listeners\Sale\SendInvoiceRecurringNotification',
],
'App\Events\Sale\InvoiceReminding' => [
'App\Listeners\Sale\SendInvoiceRemindingNotification',
],
'App\Events\Menu\AdminCreated' => [
'App\Listeners\Menu\AddAdminItems',
],