{* * Hutko PrestaShop Module * * This template is used to display the Hutko payment refund tab content * on the PrestaShop admin order details page. * It lists all Hutko payments for the order and provides a refund button * which opens a modal for amount and comment input. *} {if $hutkoPayments->count()}
{l s='Hutko Payments & Refunds' d='Modules.Hutko.Admin'}
{foreach from=$hutkoPayments item='payment'} {/foreach}
{l s='Transaction ID' d='Modules.Hutko.Admin'} {l s='Amount' d='Modules.Hutko.Admin'} {l s='Payment Date' d='Modules.Hutko.Admin'} {l s='Actions' d='Modules.Hutko.Admin'}
{$payment->transaction_id} {displayPrice price=Tools::ps_round($payment->amount, 2) currency=$currency->id} {$payment->date_add|date_format:'%Y-%m-%d %H:%M:%S'} {if $payment->amount > 0} {/if} {*
*}
{/if}