Роли, переделывание отчета, изменение на главной странице

This commit is contained in:
brusnitsyn
2026-01-11 23:37:18 +09:00
parent eb019504d7
commit d4f077cdaf
59 changed files with 2099 additions and 366 deletions

View File

@@ -20,9 +20,7 @@ class IndexController extends Controller
$fillableModel =
$departments = Department::with(['lpu'])->whereHas('lpu', function ($query) {
$query->where('mainlpuid', 1);
})->get();
$departments = Department::all();
return Inertia::render('Report/Index', [
'depatments' => $departments,