// Fixed StockCover

// Removed id_stock_mvt_reason from StockManager::transferBetweenWarehouses()
// It is now allowed to transfer stock within one warehouse if and only if it only changes, for a given quantity, its usable state
This commit is contained in:
bMancone
2011-10-24 12:58:24 +00:00
parent 3d0c38a987
commit 32853c481e
4 changed files with 8 additions and 9 deletions
+1 -2
View File
@@ -101,14 +101,13 @@ interface StockManagerInterface
* @param int $id_product
* @param int $id_product_attribute
* @param int $quantity
* @param int $id_stock_movement_reason
* @param int $warehouse_from
* @param int $warehouse_to
* @param bool $usable_from true by default
* @param bool $usable_to true by default
* @return bool
*/
public function transferBetweenWarehouses($id_product, $id_product_attribute, $quantity, $id_stock_movement_reason, $warehouse_from, $warehouse_to, $usable_from = true, $usable_to = true);
public function transferBetweenWarehouses($id_product, $id_product_attribute, $quantity, $warehouse_from, $warehouse_to, $usable_from = true, $usable_to = true);
/**
* For a given product, returns the time left before being out of stock.