コード例 #1
0
ファイル: vatnumber.php プロジェクト: jicheng17/vipinsg
 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)');
 }
コード例 #2
0
ファイル: vatnumber.php プロジェクト: dev-lav/htdocs
 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_);
 }