[-] BO : #PSCFI-4484 - Add historisation of the order status

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12082 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-01-03 16:06:18 +00:00
parent a6acc82e34
commit e5cad60084
5 changed files with 53 additions and 44 deletions
+4
View File
@@ -58,6 +58,9 @@ class OrderStateCore extends ObjectModel
/** @var boolean Paid */
public $paid;
/** @var boolean True if carrier has been deleted (staying in database as deleted) */
public $deleted = 0;
/**
* @see ObjectModel::$definition
@@ -76,6 +79,7 @@ class OrderStateCore extends ObjectModel
'delivery' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
'hidden' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
'paid' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
'deleted' => array('type' => self::TYPE_BOOL, 'validade' => 'isBool'),
// Lang fields
'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 64),