Files
interblue.pl/modules/paybynet/views/templates/front/payment.tpl
2024-10-25 14:16:28 +02:00

48 lines
1.9 KiB
Smarty

{capture name=path}{l s='PayByNet payment' mod='paybynet'}{/capture}
<h1 class="page-heading">{l s='Order summary' mod='paybynet'}</h1>
{assign var='current_step' value='payment'}
{include file="$tpl_dir./order-steps.tpl"}
{if isset($nbProducts) && $nbProducts <= 0}
<p class="alert alert-warning">{l s='Your shopping cart is empty.' mod='paybynet'}</p>
{else}
<form action="{$link->getModuleLink('paybynet', 'submit', ['bank_id' => $bank_id], true)|escape:'html'}" method="post">
<div class="box paybynet-box">
<h3 class="page-subheading">{l s='PayByNet payment' mod='paybynet'}{if $selected_bank}: {$selected_bank.name}{/if}</h3>
<div style="float: left;">
<p class="paybynet-indent">
<strong class="dark">
{l s='Here is a short summary of your order:' mod='paybynet'}
</strong>
</p>
<p>
- {l s='The total amount of your order comes to:' mod='paybynet'}
<span id="amount" class="price"><strong>{displayPrice price=$total}</strong></span>
{if $use_taxes == 1}
{l s='(tax incl.)' mod='paybynet'}
{/if}
</p>
<p>
- {l s='After confirm you will be redirected to payment website to plase your paiment for the order.' mod='paybynet'}
</p>
</div>
<div style="float: right; text-align: center;">
<img src="{$this_path}paybynet_logo.jpg" alt="" style="border:1px solid #ccc; box-shadow: 1px 1px 1px #ddd;"/>
</div>
<div class="clearfix">
</div>
</div>
<p class="cart_navigation clearfix" id="cart_navigation">
<a href="{$link->getPageLink('order', true, NULL, "step=3")|escape:'html':'UTF-8'}" class="button-exclusive btn btn-default">
<i class="icon-chevron-left"></i>{l s='Other payment methods' mod='paybynet'}
</a>
<button type="submit" class="button btn btn-default button-medium">
<span>{l s='I confirm my order' mod='paybynet'}<i class="icon-chevron-right right"></i></span>
</button>
</p>
</form>
{/if}