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

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

@@ -21,9 +21,17 @@ Route::prefix('api')->group(function () {
Route::get('/dashboard', [\App\Http\Controllers\Web\IndexController::class, 'index'])
->middleware(['auth'])
->name('dashboard');
Route::get('/report', [\App\Http\Controllers\Web\ReportController::class, 'index'])
->middleware(['auth'])
->name('report');
Route::get('/statistic', [\App\Http\Controllers\Web\StatisticController::class, 'index'])
->middleware(['auth'])
->name('statistic');
Route::get('/path/patient', function () {
return \Inertia\Inertia::render('Path/Patient');
})
->middleware(['auth'])
->name('path.patient');
Route::get('/', [\App\Http\Controllers\Web\IndexController::class, 'start'])
->middleware(['auth'])