// Added states to HelperForm

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9285 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-10-12 15:27:06 +00:00
parent 5ae93179f2
commit 53f19438d3
3 changed files with 91 additions and 5 deletions
+4 -1
View File
@@ -84,7 +84,10 @@ class HelperFormCore extends Helper
'back' => Tools::getValue('back'),
'fields' => $this->fields_form,
'fields_value' => $this->fields_value,
'requiredFields' => $this->getFieldsRequired()
'requiredFields' => $this->getFieldsRequired(),
'vat_number' => file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'),
'module_dir' => _MODULE_DIR_,
'contains_states' => Country::containsStates($this->fields_value['id_country'])
));
return $this->context->smarty->fetch(_PS_ADMIN_DIR_.'/themes/template/'.$this->tpl);