diff --git a/admin/themes/default/template/controllers/orders/helpers/view/view.tpl b/admin/themes/default/template/controllers/orders/helpers/view/view.tpl index 16e0859ede..8fe050c7a7 100644 --- a/admin/themes/default/template/controllers/orders/helpers/view/view.tpl +++ b/admin/themes/default/template/controllers/orders/helpers/view/view.tpl @@ -160,7 +160,7 @@ {if $refund_allowed && !$hasCompletelyRefunded} - {if $order->hasBeenPaid()} + {if $order->getTotalPaid()|floatval} {l s='Initiate refund'} {else} {l s='Cancel bookings'} @@ -520,12 +520,7 @@ {$payment_types[$payment['payment_type']]['name']|escape:'html':'UTF-8'} {$payment['transaction_id']|escape:'html':'UTF-8'} {displayPrice price=$payment['real_paid_amount'] currency=$payment['id_currency']} - - {if $payment['invoice_number']} - {$payment['invoice_number']} - {else} - {/if} - + {if isset($payment['invoice_number'])}{$payment['invoice_number']}{else}--{/if}