// updated stock classes

This commit is contained in:
bMancone
2012-01-02 17:41:57 +00:00
parent 92977632db
commit 3056e7c943
10 changed files with 123 additions and 108 deletions
+4 -2
View File
@@ -178,7 +178,7 @@ class StockMvtCore extends ObjectModel
* @since 1.5.0
* @param int $id_order
* @param int $id_product
* @param int $id_product_attribute
* @param int $id_product_attribute Use 0 if the product does not have attributes
* @param int $quantity
* @param int $id_warehouse Optional
* @return Array mvts
@@ -213,8 +213,10 @@ class StockMvtCore extends ObjectModel
/**
* For a given product, gets the last positive stock mvt
*
* @since 1.5.0
* @param int $id_product
* @param int $id_product_attribute
* @param int $id_product_attribute Use 0 if the product does not have attributes
* @return bool|array
*/
public static function getLastPositiveStockMvt($id_product, $id_product_attribute)