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