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

This commit is contained in:
vSchoener
2012-02-29 15:28:07 +00:00
parent 78c0ad182a
commit 1e88952721
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;
}
}
}