i create crud for violation

This commit is contained in:
2025-12-27 14:14:15 +03:30
parent 49a52af720
commit 9b094e9016
7 changed files with 107 additions and 8 deletions

View File

@@ -527,7 +527,11 @@ Route::prefix('missions')
->controller(ViolationManagementController::class)
->group(function () {
Route::get('/', 'index')->name('index');
Route::post('/', 'store')->name('store');
Route::post('/no_process/{violation}','noProcess')->name('noProcess');
Route::get('/{violation}', 'show')->name('show');
Route::post('/{violation}', 'update')->name('update');
Route::delete('/{violation}', 'destroy')->name('destroy');
});
Route::prefix('report')
->name('reports.')