-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cchalamon
committed
Jul 7, 2023
1 parent
1e4244a
commit bcd63fe
Showing
29 changed files
with
61 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Copyright (c) 2019-2021 Team Ever. | ||
Copyright (c) 2019-2023 Team Ever. | ||
|
||
Academic Free License ("AFL") v. 3.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{* | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -12,7 +12,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{* | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -12,7 +12,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{* | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -12,7 +12,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{* | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -12,7 +12,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*} | ||
<div class="panel everheader"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{* | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -12,7 +12,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*} | ||
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" href="{$link->getModuleLink('everpsquotation','quotations')|escape:'htmlall':'UTF-8'}"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{* | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -12,7 +12,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{* | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -12,7 +12,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*} | ||
<table id="spacer" cellspacing="0" cellpadding="0"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{* | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -12,7 +12,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{* | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -12,7 +12,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*} | ||
<table style="width: 100%;"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{* | ||
* 2019-2021 Team Ever | ||
* 2019-2023 Team Ever | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -12,7 +12,7 @@ | |
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @author Team Ever <https://www.team-ever.com/> | ||
* @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) | ||
*} | ||
|
||
|
Oops, something went wrong.