// updated stock classes

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12022 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-01-02 17:41:57 +00:00
parent 8fa12fda5b
commit e20374e6f7
10 changed files with 123 additions and 108 deletions
+6 -6
View File
@@ -41,7 +41,7 @@ class SupplyOrderStateCore extends ObjectModel
public $delivery_note;
/**
* @var bool Tells if the order is still editable by an employee
* @var bool Tells if the order is still editable by an employee (i.e. you can add products)
*/
public $editable;
@@ -56,12 +56,12 @@ class SupplyOrderStateCore extends ObjectModel
public $pending_receipt;
/**
* @var bool Tells if the the order is in an enclosed state
* @var bool Tells if the the order is in an enclosed state (i.e. terminated, canceled)
*/
public $enclosed;
/**
* @var string Display state in the specified color (Ex. #FFFF00)
* @var string Color used to display the state in the specified color (Ex. #FFFF00)
*/
public $color;
@@ -96,9 +96,9 @@ class SupplyOrderStateCore extends ObjectModel
/**
* Gets the list of supply order states
*
* @param int $id_state_referrer The state refferer id used to know what state is available after the current state refferer
* @param int $id_lang The language id
* @return array
* @param int $id_state_referrer Optional, used to know what state is available after this one
* @param int $id_lang Optional Id Language
* @return array States
*/
public static function getSupplyOrderStates($id_state_referrer = null, $id_lang = null)
{