feat(inventory): add refunded_units to inventory model and update related services

This commit is contained in:
2026-09-16 15:00:28 -03:00
parent f8a3296821
commit 353fd34db2
7 changed files with 137 additions and 1 deletions

View File

@@ -177,6 +177,7 @@ class FoodService
$historicalInventory = Inventory::query()->create([
'sold_units' => $inventory->sold_units,
'refunded_units' => $inventory->refunded_units,
'reserved_stock' => 0,
'real_stock' => $inventory->real_stock,
]);