create api for register road observation

This commit is contained in:
2025-02-25 11:03:13 +03:30
parent e527cc5f43
commit 21c1e0c580
7 changed files with 192 additions and 6 deletions

View File

@@ -285,5 +285,10 @@ Route::prefix('road_observations')
Route::post('/verify/{road_observed}', 'verifyBySupervisor')->name('verifyBySupervisor');
Route::get('/supervisor_report', 'supervisorCartableReport')->name('report');
Route::get('/operator_index','operatorIndex')->name('operatorIndex')->middleware('permission:show-fast-react|show-fast-react-province');
Route::get('/operator_report', 'operatorCartableReport')->name('operatorExcelReport');
Route::get('/complaints_index', 'complaintsIndex')
->middleware('permission:show-fast-react-edarate-shahri|show-fast-react-province|show-fast-react')
->name('complaintsIndex');
Route::post('/register/{roadObserved}', 'register')
->middleware('permission:show-fast-react-edarate-shahri|show-fast-react-province|show-fast-react')
->name('register');
});