diff --git a/admin/themes/default/template/controllers/orders/_product_line.tpl b/admin/themes/default/template/controllers/orders/_product_line.tpl index 18ceebacc..3bdfaf032 100644 --- a/admin/themes/default/template/controllers/orders/_product_line.tpl +++ b/admin/themes/default/template/controllers/orders/_product_line.tpl @@ -193,18 +193,22 @@ {/if} - {if (isset($refundReqBookings) && $refundReqBookings) || (isset($isCancelledRoom) && $isCancelledRoom)} + {if (isset($refundReqBookings) && $refundReqBookings)}
{l s='Rooms'} | {l s='Room type'} | {l s='Hotel'} | {l s='Duration'} | -{l s='Num rooms'} | {l s='Total rooms price (tax incl.)'} | {l s='Extra services price (tax incl.)'} | {if $isRefundCompleted}{l s='Refund amount'} | +{l s='Refund Status'} | {/if}
---|---|---|---|---|---|---|---|---|
{l s='Room'} - {$smarty.foreach.refundRequest.iteration|string_format:'%02d'} | {$booking['room_type_name']|escape:'htmlall':'UTF-8'} | {$booking['hotel_name']|escape:'htmlall':'UTF-8'} | {$booking['date_from']|date_format:"%d-%m-%Y"} {l s='To'} {$booking['date_to']|date_format:"%d-%m-%Y"} | -{$booking['num_rooms']|escape:'htmlall':'UTF-8'} | {displayPrice price=$booking['total_price_tax_incl'] currency=$orderCurrency['id']} | {displayPrice price=$booking['extra_service_total_price_tax_incl'] currency=$orderCurrency['id']} | {if $isRefundCompleted}{displayPrice price=$booking['refunded_amount'] currency=$orderCurrency['id']} | ++ {if $booking['is_cancelled']} + {l s='Cancelled' mod='hotelreservationsystem'} + {* used id_customization to check if in this request which bookings are refunded or not*} + {else if $booking['id_customization']} + {l s='Refunded' mod='hotelreservationsystem'} + {else} + {l s='Denied' mod='hotelreservationsystem'} + {/if} + | {/if}