timeblock finished email notification

This commit is contained in:
StudioTem committed 2023-05-23 15:58:48 +02:00
1 parent 86424d1b3d
commit 28a0bac095
6 files changed
+162

No files matched your search

@@ -6,14 +6,18 @@ use App\Events\MasterTaskEdited;
use App\Events\SubTaskCreated;
use App\Events\SubTaskDeleted;
use App\Events\SubTaskEdited;
use App\Events\TimeBlockFinished;
use App\Listeners\SendDeletedSubTaskNotification;
use App\Listeners\SendEditedMasterTaskNotification;
use App\Listeners\SendEditedSubTaskNotification;
use App\Listeners\SendFinishedTimeBlockNotification;
use App\Listeners\SendNewSubTaskEmailNotification;
use App\Models\MasterTask;
use App\Models\SubTask;
use App\Models\Timeblock;
use App\Observers\MasterTaskObserver;
use App\Observers\SubTaskObserver;
use App\Observers\TimeBlockObserver;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
@@ -43,6 +47,9 @@ class EventServiceProvider extends ServiceProvider
MasterTaskEdited::class => [
SendEditedMasterTaskNotification::class
],
TimeBlockFinished::class => [
SendFinishedTimeBlockNotification::class
],
];
/**
@@ -54,6 +61,7 @@ class EventServiceProvider extends ServiceProvider
{
MasterTask::observe( MasterTaskObserver::class);
SubTask::observe( SubTaskObserver::class);
Timeblock::observe( TimeBlockObserver::class);
}
/**