[-] BO : #PSCFV-731 : change type int by string for zipcode_from and zipcode_to
&& check this zip codes && display errors && normalize git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15187 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -46,8 +46,8 @@ class TaxRuleCore extends ObjectModel
|
||||
'id_tax_rules_group' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
||||
'id_country' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
||||
'id_state' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'),
|
||||
'zipcode_from' => array('type' => self::TYPE_INT, 'validate' => 'isPostCode'),
|
||||
'zipcode_to' => array('type' => self::TYPE_INT, 'validate' => 'isPostCode'),
|
||||
'zipcode_from' => array('type' => self::TYPE_STRING, 'validate' => 'isPostCode'),
|
||||
'zipcode_to' => array('type' => self::TYPE_STRING, 'validate' => 'isPostCode'),
|
||||
'id_tax' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
||||
'behavior' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'),
|
||||
'description' => array('type' => self::TYPE_STRING, 'validate' => 'isString'),
|
||||
|
||||
Reference in New Issue
Block a user