email notifications

This commit is contained in:
StudioTem committed 2023-04-12 18:00:53 +02:00
1 parent 3a71b42c1f
commit 8a774dd4fa
12 files changed
+263 -9

No files matched your search

+7 -2
View File
@@ -4,8 +4,10 @@ namespace App\Providers;
use App\Events\MasterTaskEdited;
use App\Events\SubTaskCreated;
use App\Events\SubTaskDeleted;
use App\Listeners\SendDeletedSubTaskNotification;
use App\Listeners\SendEditedMasterTaskNotification;
use App\Listeners\SendNewTaskEmailNotification;
use App\Listeners\SendNewSubTaskEmailNotification;
use App\Models\MasterTask;
use App\Models\SubTask;
use App\Observers\MasterTaskObserver;
@@ -27,9 +29,12 @@ class EventServiceProvider extends ServiceProvider
SendEmailVerificationNotification::class,
],
SubTaskCreated::class => [
SendNewTaskEmailNotification::class,
SendNewSubTaskEmailNotification::class,
//LogEvent::class,
],
SubTaskDeleted::class => [
SendDeletedSubTaskNotification::class
],
MasterTaskEdited::class => [
SendEditedMasterTaskNotification::class
],