[-] MO : stock : error declaration interface
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9846 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
43c32d61c0
commit
5a397515ab
1 file changed
+2
-2
@@ -52,7 +52,7 @@ interface StockManagerInterface
|
|||||||
* @param int $id_supplier_order optionnal
|
* @param int $id_supplier_order optionnal
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function addProduct($id_product, $id_product_attribute, Warehouse $warehouse, $quantity, $id_stock_movement_reason, $price_te, $is_usable, $id_supplier_order = null);
|
public function addProduct($id_product, $id_product_attribute, Warehouse $warehouse, $quantity, $id_stock_movement_reason, $price_te, $is_usable = true, $id_supplier_order = null);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For a given product, removes a given quantity
|
* For a given product, removes a given quantity
|
||||||
@@ -66,7 +66,7 @@ interface StockManagerInterface
|
|||||||
* @param int $id_order Optionnal
|
* @param int $id_order Optionnal
|
||||||
* @return array - empty if an error occured | details of removed products quantities with corresponding prices otherwise
|
* @return array - empty if an error occured | details of removed products quantities with corresponding prices otherwise
|
||||||
*/
|
*/
|
||||||
public function removeProduct($id_product, $id_product_attribute, Warehouse $warehouse, $quantity, $id_stock_movement_reason, $is_usable, $id_order = null);
|
public function removeProduct($id_product, $id_product_attribute, Warehouse $warehouse, $quantity, $id_stock_movement_reason, $is_usable = true, $id_order = null);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For a given product, returns its physical quantity
|
* For a given product, returns its physical quantity
|
||||||
|
|||||||
Reference in new issue
Block a user