{* * * @author Przelewy24 * @copyright Przelewy24 * @license https://www.gnu.org/licenses/lgpl-3.0.en.html * *}
{l s='Refunds to Przelewy24' mod='przelewy24'}
{if '' !== $refundError}
{foreach from=$refundError item=singleError}

{l s=$singleError mod='przelewy24'}

{/foreach}
{/if} {if $amount > 0} {assign var="amountToRefund" value=$amount/100}

{l s='Here you can send a refund to the customer. The amount of the refund may not exceed the value of the transaction and the amount of funds available in your account.' mod='przelewy24'}

{l s='Amount to refund' mod='przelewy24'}: {$amountToRefund} {$sign}

{foreach $productsPossibleToRefund as $i => $oneProduct} {/foreach}
{$oneProduct.name}
/ {$oneProduct.quantity}
{$oneProduct.priceFormatted}
{else}

{l s='The payment has already been fully refunded - no funds to make further returns.' mod='przelewy24'}

{/if} {if $refunds}
{foreach from=$refunds item=refund} {/foreach}
{l s='Amount refunded' mod='przelewy24'} {l s='Date of refund' mod='przelewy24'} Status
{$refund['amount_refunded']/100} {$sign} {$refund['created']} {l s=$refund['status'] mod='przelewy24'}
{/if}