Count stock and correct the differences on confirmation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -19,4 +19,9 @@ interface StockItemRepository
|
||||
public function save(StockItem $item): StockItem;
|
||||
|
||||
public function isNameTaken(string $name, ?int $exceptId = null): bool;
|
||||
|
||||
/**
|
||||
* The value of all stock: each item's balance at its average cost.
|
||||
*/
|
||||
public function stockValueCents(): int;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user