diff --git a/LICENSE.md b/LICENSE.md index e54d474..031040e 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright (c) 2019-2021 Team Ever. +Copyright (c) 2019-2023 Team Ever. Academic Free License ("AFL") v. 3.0 diff --git a/controllers/admin/AdminEverPsQuotationController.php b/controllers/admin/AdminEverPsQuotationController.php index ee082e2..238c018 100644 --- a/controllers/admin/AdminEverPsQuotationController.php +++ b/controllers/admin/AdminEverPsQuotationController.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ diff --git a/controllers/front/payment.php b/controllers/front/payment.php index beb58b5..3687346 100644 --- a/controllers/front/payment.php +++ b/controllers/front/payment.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ diff --git a/controllers/front/quotations.php b/controllers/front/quotations.php index dff0423..9a2f82c 100644 --- a/controllers/front/quotations.php +++ b/controllers/front/quotations.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ diff --git a/controllers/front/validation.php b/controllers/front/validation.php index 4487219..357ff94 100644 --- a/controllers/front/validation.php +++ b/controllers/front/validation.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ diff --git a/everpsquotation.php b/everpsquotation.php index 8fbaca5..e31f243 100644 --- a/everpsquotation.php +++ b/everpsquotation.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ @@ -41,7 +41,7 @@ public function __construct() { $this->name = 'everpsquotation'; $this->tab = 'payments_gateways'; - $this->version = '4.1.0'; + $this->version = '4.1.2'; $this->author = 'Team Ever'; $this->need_instance = 0; $this->bootstrap = true; diff --git a/models/EverpsquotationCart.php b/models/EverpsquotationCart.php index da209a6..2c813ea 100644 --- a/models/EverpsquotationCart.php +++ b/models/EverpsquotationCart.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ diff --git a/models/EverpsquotationCartProduct.php b/models/EverpsquotationCartProduct.php index b25617d..4d07927 100644 --- a/models/EverpsquotationCartProduct.php +++ b/models/EverpsquotationCartProduct.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ diff --git a/models/EverpsquotationClass.php b/models/EverpsquotationClass.php index 5b372c7..f4625fe 100644 --- a/models/EverpsquotationClass.php +++ b/models/EverpsquotationClass.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ diff --git a/models/EverpsquotationDetail.php b/models/EverpsquotationDetail.php index 36f2550..4353103 100644 --- a/models/EverpsquotationDetail.php +++ b/models/EverpsquotationDetail.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ diff --git a/models/HTMLTemplateEverQuotationPdf.php b/models/HTMLTemplateEverQuotationPdf.php index 2513ddd..ffca86e 100644 --- a/models/HTMLTemplateEverQuotationPdf.php +++ b/models/HTMLTemplateEverQuotationPdf.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ @@ -26,14 +26,15 @@ class HTMLTemplateEverQuotationPdf extends HTMLTemplate public function __construct($id_everpsquotation_quotes, $smarty) { + $module = Module::getInstanceByName('everpsquotation'); $this->id_everpsquotation_quotes = $id_everpsquotation_quotes; $this->smarty = $smarty; $this->pdfDir = _PS_MODULE_DIR_ . 'everpsquotation/views/templates/front/pdf/'; $this->context = Context::getContext(); $this->shop = new Shop(Context::getContext()->shop->id); $this->lang = new Language((int)Context::getContext()->language->id); - $text = Configuration::getConfigInMultipleLangs('EVERPSQUOTATION_TEXT'); - $filename = Configuration::getConfigInMultipleLangs('EVERPSQUOTATION_FILENAME'); + $text = $module::getConfigInMultipleLangs('EVERPSQUOTATION_TEXT'); + $filename = $module::getConfigInMultipleLangs('EVERPSQUOTATION_FILENAME'); $this->text = $text[(int)Context::getContext()->language->id]; $this->filename = $filename[(int)Context::getContext()->language->id] .$this->id_everpsquotation_quotes; diff --git a/sql/install.php b/sql/install.php index cef21f2..ca54307 100644 --- a/sql/install.php +++ b/sql/install.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ diff --git a/sql/uninstall.php b/sql/uninstall.php index 4d17d48..daebf96 100644 --- a/sql/uninstall.php +++ b/sql/uninstall.php @@ -1,6 +1,6 @@ - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ diff --git a/views/templates/admin/configure.tpl b/views/templates/admin/configure.tpl index dd90fcc..072e3d8 100644 --- a/views/templates/admin/configure.tpl +++ b/views/templates/admin/configure.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} diff --git a/views/templates/admin/footer.tpl b/views/templates/admin/footer.tpl index 303be2a..6e7e139 100644 --- a/views/templates/admin/footer.tpl +++ b/views/templates/admin/footer.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} diff --git a/views/templates/admin/header.tpl b/views/templates/admin/header.tpl index c8dfcf7..99c1166 100644 --- a/views/templates/admin/header.tpl +++ b/views/templates/admin/header.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} diff --git a/views/templates/admin/upgrade.tpl b/views/templates/admin/upgrade.tpl index 6719a11..c2a8f75 100644 --- a/views/templates/admin/upgrade.tpl +++ b/views/templates/admin/upgrade.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *}
diff --git a/views/templates/front/myaccount.tpl b/views/templates/front/myaccount.tpl index a063d53..bb5e41a 100644 --- a/views/templates/front/myaccount.tpl +++ b/views/templates/front/myaccount.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} diff --git a/views/templates/front/payment_infos.tpl b/views/templates/front/payment_infos.tpl index 54d7b5a..24d7dd1 100644 --- a/views/templates/front/payment_infos.tpl +++ b/views/templates/front/payment_infos.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} diff --git a/views/templates/front/pdf/everquotation.spacer.tpl b/views/templates/front/pdf/everquotation.spacer.tpl index dded4ec..f5553bd 100644 --- a/views/templates/front/pdf/everquotation.spacer.tpl +++ b/views/templates/front/pdf/everquotation.spacer.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} diff --git a/views/templates/front/pdf/everquotation.style-tab.tpl b/views/templates/front/pdf/everquotation.style-tab.tpl index a24a1a6..c7ab614 100644 --- a/views/templates/front/pdf/everquotation.style-tab.tpl +++ b/views/templates/front/pdf/everquotation.style-tab.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} diff --git a/views/templates/front/pdf/everquotation_footer.tpl b/views/templates/front/pdf/everquotation_footer.tpl index 91259e2..f9e406c 100644 --- a/views/templates/front/pdf/everquotation_footer.tpl +++ b/views/templates/front/pdf/everquotation_footer.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *}
diff --git a/views/templates/front/quotation_added.tpl b/views/templates/front/quotation_added.tpl index 671fdfa..040a583 100644 --- a/views/templates/front/quotation_added.tpl +++ b/views/templates/front/quotation_added.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} diff --git a/views/templates/front/quotations.tpl b/views/templates/front/quotations.tpl index 6371ac3..d68f0e2 100644 --- a/views/templates/front/quotations.tpl +++ b/views/templates/front/quotations.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} diff --git a/views/templates/hook/cartbutton.tpl b/views/templates/hook/cartbutton.tpl index 6b7a87c..f633177 100644 --- a/views/templates/hook/cartbutton.tpl +++ b/views/templates/hook/cartbutton.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *}
diff --git a/views/templates/hook/noaddress.tpl b/views/templates/hook/noaddress.tpl index c51ab51..c8b4c0a 100644 --- a/views/templates/hook/noaddress.tpl +++ b/views/templates/hook/noaddress.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} diff --git a/views/templates/hook/payment.tpl b/views/templates/hook/payment.tpl index 8af80af..20a0edf 100644 --- a/views/templates/hook/payment.tpl +++ b/views/templates/hook/payment.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} diff --git a/views/templates/hook/productbutton.tpl b/views/templates/hook/productbutton.tpl index 249b32b..2c3d15e 100644 --- a/views/templates/hook/productbutton.tpl +++ b/views/templates/hook/productbutton.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *}
diff --git a/views/templates/hook/unlogged.tpl b/views/templates/hook/unlogged.tpl index 4d6de02..9df247f 100644 --- a/views/templates/hook/unlogged.tpl +++ b/views/templates/hook/unlogged.tpl @@ -1,5 +1,5 @@ {* - * 2019-2021 Team Ever + * 2019-2023 Team Ever * * NOTICE OF LICENSE * @@ -12,7 +12,7 @@ * to license@prestashop.com so we can send you a copy immediately. * * @author Team Ever - * @copyright 2019-2021 Team Ever + * @copyright 2019-2023 Team Ever * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *}