Skip to content

Commit

Permalink
Merge pull request #20 from tpay-com/364
Browse files Browse the repository at this point in the history
Fixed payment terms info
  • Loading branch information
krzGablo authored Oct 8, 2024
2 parents 7e17896 + 2da4b85 commit a4aaffd
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ 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]

### Added

- Added installment simulator
- Added reset function

### Fixed

- Fixed payment terms info

## [1.9.5]

### Added
Expand Down
2 changes: 1 addition & 1 deletion tpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,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 = [
Expand Down
1 change: 0 additions & 1 deletion views/templates/hook/blik.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<div class="tpay-wrapper tpay-blik-wrapper" data-payment-type="blik">
{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}
<form action="{$blik_moduleLink}" method="POST" id="tpay-blik-form">
<input type="hidden" name="cart_id" class="blikId" value="{$blik_order_id}"/>
Expand Down
4 changes: 3 additions & 1 deletion views/templates/hook/card.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@
<input type="hidden" name="redirect_type" id="redirect_type" value="{$card_type}"/>
</div>

{include file="module:tpay/views/templates/hook/regulations.tpl"}
{if $card_type === 'widget'}
{include file="module:tpay/views/templates/hook/regulations.tpl"}
{/if}
</form>

<script type="text/javascript">
Expand Down
4 changes: 3 additions & 1 deletion views/templates/hook/payment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
{l s='Please choose payment gateway' mod='tpay'}
</span>
</div>
{include file="module:tpay/views/templates/hook/regulations.tpl"}
{if $transfer_type === 'widget'}
{include file="module:tpay/views/templates/hook/regulations.tpl"}
{/if}
{else}
{l s='No active payment gateways' mod='tpay'}
{/if}
Expand Down

0 comments on commit a4aaffd

Please sign in to comment.