[FEAT] 優化庫存分析邏輯,增加銷售 Reference Type 追蹤並修正 InventoryService 閉包變數問題
All checks were successful
ERP-Deploy-Demo / deploy-demo (push) Successful in 1m20s
All checks were successful
ERP-Deploy-Demo / deploy-demo (push) Successful in 1m20s
This commit is contained in:
@@ -23,7 +23,7 @@ interface InventoryServiceInterface
|
||||
* @param string|null $slot
|
||||
* @return void
|
||||
*/
|
||||
public function decreaseStock(int $productId, int $warehouseId, float $quantity, ?string $reason = null, bool $force = false, ?string $slot = null): void;
|
||||
public function decreaseStock(int $productId, int $warehouseId, float $quantity, ?string $reason = null, bool $force = false, ?string $slot = null, ?string $referenceType = null, $referenceId = null): void;
|
||||
|
||||
/**
|
||||
* Get all active warehouses.
|
||||
|
||||
Reference in New Issue
Block a user