no message

This commit is contained in:
StudioTem committed 2025-03-19 10:07:33 +01:00
1 parent e1712c8fcd
commit c77b19d229
8 files changed
+334 -30

No files matched your search

+11 -10
View File
@@ -12,6 +12,7 @@ use App\Listeners\SendEditedMasterTaskNotification;
use App\Listeners\SendEditedSubTaskNotification;
use App\Listeners\SendFinishedTimeBlockNotification;
use App\Listeners\SendNewSubTaskEmailNotification;
use App\Listeners\SendTrackedTimeReachingPriceQouteTimeNotification;
use App\Models\MasterTask;
use App\Models\SubTask;
use App\Models\Timeblock;
@@ -21,7 +22,6 @@ use App\Observers\TimeBlockObserver;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Event;
class EventServiceProvider extends ServiceProvider
{
@@ -31,21 +31,22 @@ class EventServiceProvider extends ServiceProvider
* @var array<class-string, array<int, class-string>>
*/
protected $listen = [
Registered::class => [
Registered::class => [
SendEmailVerificationNotification::class,
],
SubTaskCreated::class => [
SubTaskCreated::class => [
SendNewSubTaskEmailNotification::class,
//LogEvent::class,
],
SubTaskDeleted::class => [
SubTaskDeleted::class => [
SendDeletedSubTaskNotification::class
],
SubTaskEdited::class => [
SubTaskEdited::class => [
SendEditedSubTaskNotification::class
],
MasterTaskEdited::class => [
SendEditedMasterTaskNotification::class
MasterTaskEdited::class => [
SendEditedMasterTaskNotification::class,
SendTrackedTimeReachingPriceQouteTimeNotification::class
],
TimeBlockFinished::class => [
SendFinishedTimeBlockNotification::class
@@ -59,9 +60,9 @@ class EventServiceProvider extends ServiceProvider
*/
public function boot()
{
MasterTask::observe( MasterTaskObserver::class);
SubTask::observe( SubTaskObserver::class);
Timeblock::observe( TimeBlockObserver::class);
MasterTask::observe(MasterTaskObserver::class);
SubTask::observe(SubTaskObserver::class);
Timeblock::observe(TimeBlockObserver::class);
}
/**