// todo are done
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9318 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -40,11 +40,11 @@ class TaxRuleCore extends ObjectModel
|
|||||||
protected $fieldsValidate = array('id_tax_rules_group' => 'isUnsignedId',
|
protected $fieldsValidate = array('id_tax_rules_group' => 'isUnsignedId',
|
||||||
'id_country' => 'isUnsignedId',
|
'id_country' => 'isUnsignedId',
|
||||||
'id_state' => 'isUnsignedId',
|
'id_state' => 'isUnsignedId',
|
||||||
'zipcode_from' => 'isUnsignedId', // TODO: char
|
'zipcode_from' => 'isPostCode',
|
||||||
'zipcode_to' => 'isUnsignedId', // TODO: char
|
'zipcode_to' => 'isPostCode',
|
||||||
'id_tax' => 'isUnsignedId',
|
'id_tax' => 'isUnsignedId',
|
||||||
'behavior' => 'isUnsignedInt',
|
'behavior' => 'isUnsignedInt',
|
||||||
'description' => 'isUnsignedInt'); // TODO:char
|
'description' => 'isString');
|
||||||
|
|
||||||
protected $table = 'tax_rule';
|
protected $table = 'tax_rule';
|
||||||
protected $identifier = 'id_tax_rule';
|
protected $identifier = 'id_tax_rule';
|
||||||
|
|||||||
Reference in New Issue
Block a user