Добавлена страница штаба

Добавлены графики
Добавлены события отчетов
This commit is contained in:
brusnitsyn
2026-05-31 21:57:21 +09:00
parent 51b0dcc864
commit 0a882b0cb2
21 changed files with 2779 additions and 386 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Observers;
use App\Events\ReportDutyUpdated;
use App\Models\ReportDuty;
class ReportDutyObserver
{
public function created(ReportDuty $reportDuty): void
{
ReportDutyUpdated::dispatch($reportDuty, 'created');
}
public function updated(ReportDuty $reportDuty): void
{
ReportDutyUpdated::dispatch($reportDuty, 'updated');
}
}