Skip to content

Commit

Permalink
Fix smarty error on quotation mentions
Browse files Browse the repository at this point in the history
  • Loading branch information
cchalamon committed Feb 17, 2024
1 parent 85ab7d0 commit dad6f67
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion everpsquotation.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function __construct()
{
$this->name = 'everpsquotation';
$this->tab = 'payments_gateways';
$this->version = '5.0.2';
$this->version = '5.0.3';
$this->author = 'Team Ever';
$this->need_instance = 0;
$this->bootstrap = true;
Expand Down
2 changes: 2 additions & 0 deletions views/js/everpsquotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ $(document).ready(function() {
data: formData,
dataType: 'json',
success: function(response) {
$('#everpsquotationform').remove();
// Insérer le tag GTM dans le DOM
if (response.gtm) {
// Vérification et traitement des données pour GTM
Expand Down Expand Up @@ -62,6 +63,7 @@ $(document).ready(function() {
type: 'POST',
dataType: 'json',
success: function(response) {
$('#everpscartquotation').remove();
// Insérer le tag GTM dans le DOM
if (response.gtm) {
// Vérification et traitement des données pour GTM
Expand Down
2 changes: 1 addition & 1 deletion views/templates/front/pdf/everquotation_content.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -267,4 +267,4 @@
</table>
<!-- //Table total -->
{/if}
{$everpsquotationmentions}
{if isset($everpsquotationmentions) && $everpsquotationmentions}{$everpsquotationmentions}{/if}
2 changes: 1 addition & 1 deletion views/templates/front/pdf/everquotation_footer.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<table style="width: 100%;">
<tr>
<td style="text-align: center; font-size: 6pt; color: #444; width:100%;line-height:5px;">
{if isset($everpsquotationtext)}{$everpsquotationtext nofilter}{/if}
{if isset($everpsquotationtext) && $everpsquotationtext}{$everpsquotationtext nofilter}{/if}
</td>
</tr>
</table>

0 comments on commit dad6f67

Please sign in to comment.