Files
ws_vatcheck/ws_vatcheck.php
T

57 lines
1.8 KiB
PHP

<?php
/**
* 2007-2023 De Websmid BV
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please contact us for extra customization service at an affordable price
*
* @author De Websmid BV <info@dewebsmid.nl>
* @copyright 2007-2024 De Websmid BV
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of De Websmid BV
*/
use Websmid\VatCheck\Module\Install;
use Websmid\VatCheck\Module\Front\FrontHooks;
use Websmid\VatCheck\Module\Admin\AdminHooks;
use Websmid\VatCheck\Module\Admin\SettingsForm;
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
require_once __DIR__ . '/vendor/autoload.php';
}
if (!defined('_PS_VERSION_')) {
exit;
}
class Ws_VatCheck extends \Module
{
use Install;
use AdminHooks;
use SettingsForm;
use FrontHooks;
public function __construct()
{
$this->name = 'ws_vatcheck';
$this->version = '1.0.3';
$this->author = 'Johan van der Klis | De Websmid BV';
$this->need_instance = 0;
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->trans('Vat Check', [], 'Modules.Ws_VatCheck.Admin');
$this->description = $this->trans('Gecachte vat check', [], 'Modules.Ws_VatCheck.Description');
$this->ps_versions_compliancy = ['min' => '1.7.0.0', 'max' => _PS_VERSION_];
}
}