update material index update
This commit is contained in:
+5
-2
@@ -59,8 +59,11 @@ Route::middleware('auth:sanctum')->group(function () {
|
||||
|
||||
Route::post('/escalate', 'escalate');
|
||||
});
|
||||
|
||||
Route::prefix('materials')
|
||||
->controller(MaterialController::class)
|
||||
->group(function () {
|
||||
|
||||
Route::controller(MaterialController::class)->group(function () {
|
||||
Route::get('/', 'index');
|
||||
Route::post('/assign', 'assign');
|
||||
Route::post('/transfer', 'transfer');
|
||||
@@ -68,6 +71,7 @@ Route::middleware('auth:sanctum')->group(function () {
|
||||
|
||||
Route::get('/user/{user_id}', 'listByUser');
|
||||
Route::get('/history/{barcode_id}', 'history');
|
||||
|
||||
});
|
||||
|
||||
Route::prefix('audit-logs')
|
||||
@@ -80,4 +84,3 @@ Route::middleware('auth:sanctum')->group(function () {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user