From 29adfc36ffe3ad5e3b9f546fa1acce9f177e574f Mon Sep 17 00:00:00 2001 From: kGablo Date: Mon, 16 Sep 2024 11:04:20 +0200 Subject: [PATCH 1/2] Fixed payment terms info --- CHANGELOG.MD | 6 ++++++ tpay.php | 2 +- views/templates/hook/blik.tpl | 1 - views/templates/hook/card.tpl | 4 +++- views/templates/hook/payment.tpl | 4 +++- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 2fae566..338eefc 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.9.6] + +### Fixed + +- Fixed payment terms info + ## [1.9.5] ### Added diff --git a/tpay.php b/tpay.php index 732166c..da86241 100644 --- a/tpay.php +++ b/tpay.php @@ -110,7 +110,7 @@ public function __construct() { $this->name = 'tpay'; $this->tab = 'payments_gateways'; - $this->version = '1.9.5'; + $this->version = '1.9.6'; $this->author = 'Krajowy Integrator Płatności S.A.'; $this->need_instance = 0; $this->ps_versions_compliancy = [ diff --git a/views/templates/hook/blik.tpl b/views/templates/hook/blik.tpl index 6d1d5cd..2b08737 100755 --- a/views/templates/hook/blik.tpl +++ b/views/templates/hook/blik.tpl @@ -14,7 +14,6 @@
{if $blik_type === 'redirect'} {l s='You will be redirected to the payment gateway.' mod='tpay'} - {include file="module:tpay/views/templates/hook/regulations.tpl"} {else}
diff --git a/views/templates/hook/card.tpl b/views/templates/hook/card.tpl index 6d23b00..0228203 100644 --- a/views/templates/hook/card.tpl +++ b/views/templates/hook/card.tpl @@ -146,7 +146,9 @@
- {include file="module:tpay/views/templates/hook/regulations.tpl"} + {if $card_type === 'widget'} + {include file="module:tpay/views/templates/hook/regulations.tpl"} + {/if}