Роли, переделывание отчета, изменение на главной странице
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user