This commit is contained in:
2026-02-02 15:18:51 +01:00
parent 7a26dd69a5
commit ae0ee002ec
170 changed files with 7446 additions and 1519 deletions

View File

@@ -29,4 +29,8 @@
</div>
</div>
</div>
{/if}
{/if}
{if $data_paynow_plugin_version}
<span data-paynow-plugin-version="{$data_paynow_plugin_version}"></span>
{/if}

View File

@@ -10,7 +10,7 @@
*}
{if !empty($payment_options)}
{foreach from=$payment_options item=method}
{if ($method.type !== 'BLIK' AND $method.type !== 'PBL' || ($method.type == 'BLIK' AND $method.authorization != 'CODE')) }
{if ($method.type !== 'BLIK' AND $method.type !== 'PBL' AND $method.type !== 'CARD' AND $method.type !== 'DIGITAL_WALLETS' || ($method.type == 'BLIK' AND $method.authorization != 'CODE') || ($method.type == 'CARD' AND empty($method.instruments))) }
<form action="{$paynow_url|escape:'htmlall':'UTF-8'}" method="POST">
{/if}
<p class="payment_module paynow{if !empty($method.pbls)} with-pbls{/if}">
@@ -24,9 +24,12 @@
{if $method.authorization == 'CODE'}
{include file="./_partials/payment_method_blik_form.tpl"}
{/if}
{if ($method.type == 'CARD' AND !empty($method.instruments))}
{include file="./_partials/payment_method_card_form.tpl"}
{/if}
{/if}
</p>
{if ($method.type !== 'BLIK' AND $method.type !== 'PBL' || ($method.type == 'BLIK' AND $method.authorization != 'CODE')) }
{if ($method.type !== 'BLIK' AND $method.type !== 'PBL' AND $method.type !== 'CARD' || ($method.type == 'BLIK' AND $method.authorization != 'CODE') || ($method.type == 'CARD' AND empty($method.instruments))) }
</form>
{/if}
{/foreach}