wip del err

This commit is contained in:
salam committed 2026-10-04 15:22:39 +02:00
1 parent 812736ca9a
commit 9bcd4432c6
1210 files changed
-220941

No files matched your search

-27
View File
@@ -1,27 +0,0 @@
<?php
namespace App\Actions;
use App\Models\Supervisor;
use Filament\Notifications\Notification;
class SupervisorStatus
{
public static function set($status = 0)
{
Supervisor::query()->update(['is_active' => $status]);
if ($status) {
Notification::make()
->title('All supervisors started successfully')
->success()
->send();
} else {
Notification::make()
->title('All supervisors stopped successfully')
->success()
->send();
}
}
}