fix inventory

This commit is contained in:
root
2026-06-11 11:06:32 -04:00
parent 9483750161
commit c91fa2ce4d
53 changed files with 2936 additions and 12666 deletions
+11
View File
@@ -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 () {