fix inventory
This commit is contained in:
@@ -914,6 +914,17 @@ Route::prefix('v1')->group(function () {
|
||||
Route::post('supply-categories', [SupplyCategoryController::class, 'store']);
|
||||
Route::patch('supply-categories/{id}', [SupplyCategoryController::class, 'update']);
|
||||
Route::delete('supply-categories/{id}', [SupplyCategoryController::class, 'destroy']);
|
||||
|
||||
// New inventory improvement endpoints
|
||||
Route::get('low-stock', [InventoryController::class, 'lowStock']);
|
||||
Route::get('reorder-suggestions', [InventoryController::class, 'reorderSuggestions']);
|
||||
Route::post('items/{id}/reorder-request', [InventoryController::class, 'reorderRequest']);
|
||||
Route::get('stock-status', [InventoryController::class, 'stockStatus']);
|
||||
Route::get('dashboard', [InventoryController::class, 'dashboard']);
|
||||
|
||||
// Movement void/correction (append-only ledger)
|
||||
Route::post('movements/{id}/void', [InventoryMovementController::class, 'void']);
|
||||
Route::post('movements/{id}/correct', [InventoryMovementController::class, 'correct']);
|
||||
});
|
||||
|
||||
Route::prefix('family-admin')->group(function () {
|
||||
|
||||
Reference in New Issue
Block a user