[+] CORE : Accounting, Add a begin of the Accounting plan detail

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13750 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vSchoener
2012-02-29 15:28:07 +00:00
parent c8e1306ac9
commit 4c2eca45d2
16 changed files with 312 additions and 57 deletions
+4 -1
View File
@@ -133,6 +133,8 @@ class CustomerCore extends ObjectModel
public $groupBox;
public $account_number;
protected $webserviceParameters = array(
'fields' => array(
'id_default_group' => array('xlink_resource' => 'groups'),
@@ -169,6 +171,7 @@ class CustomerCore extends ObjectModel
'optin' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
'website' => array('type' => self::TYPE_STRING, 'validate' => 'isUrl'),
'company' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName'),
'account_number' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'size' => 65000, 'copy_from_front' => false),
'siret' => array('type' => self::TYPE_STRING, 'validate' => 'isSiret'),
'ape' => array('type' => self::TYPE_STRING, 'validate' => 'isApe'),
'outstanding_allow_amount' => array('type' => self::TYPE_INT, 'validate' => 'isFloat', 'copy_post' => false),
@@ -756,4 +759,4 @@ class CustomerCore extends ObjectModel
$this->addGroups($groups);
return true;
}
}
}