public function __construct() { $this->name = 'vatnumber'; $this->tab = 'billing_invoicing'; $this->version = 1.2; $this->author = 'PrestaShop'; $this->need_instance = 0; $this->tax_manager_class = 'VATNumberTaxManager'; parent::__construct(); $id_country = (int) Configuration::get('VATNUMBER_COUNTRY'); if ($id_country == 0) { $this->warning = $this->l('No default country set.'); } $this->displayName = $this->l('European VAT number'); $this->description = $this->l('Enable entering of the VAT intra-community number when creating the address (You must fill in the company field to allow keyboarding VAT number)'); }
public function __construct() { $this->name = 'vatnumber'; $this->tab = 'billing_invoicing'; $this->version = 1.5; $this->author = 'PrestaShop'; $this->need_instance = 0; $this->tax_manager_class = 'VATNumberTaxManager'; $this->bootstrap = true; parent::__construct(); $id_country = (int) Configuration::get('VATNUMBER_COUNTRY'); if ($id_country == 0) { $this->warning = $this->l('No default country set.'); } $this->displayName = $this->l('European VAT number'); $this->description = $this->l('Enables you to enter the intra-community VAT number when creating the address. You must fill in the company field to allow entering the VAT number.'); $this->ps_versions_compliancy = array('min' => '1.5.6.1', 'max' => _PS_VERSION_); }