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