feat(inventory): add refunded_units to inventory model and update related services
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user