- |
- {$data.room_num}
- {if isset($data['connected_rooms'][$data.id_room])}
- {include file="controllers/products/connected-rooms.tpl" htl_connected_rooms=$data['connected_rooms'][$data.id_room]}
- {/if}
-
+ |
+ {$data.room_num}
+ {$data.room_type}
{if $data.is_back_order}
{l s='overbooked'}
{/if}
+ {if isset($data['connected_rooms'][$data.id_room])}
+ {include file="controllers/products/connected-rooms.tpl" htl_connected_rooms=$data['connected_rooms'][$data.id_room]}
+ {/if}
|
-  |
-
- {$data.room_type}
- |
-
+ |  |
+
{assign var="is_full_date" value=($show_full_date && ($data['date_from']|date_format:'%D' == $data['date_to']|date_format:'%D'))}
- {dateFormat date=$data.date_from full=$is_full_date} - {dateFormat date=$data.date_to full=$is_full_date}
+ {dateFormat date=$data.date_from full=$is_full_date}
+ {l s='to'}
+ {dateFormat date=$data.date_to full=$is_full_date}
|
-
+ |
+ {if $data['adults']}{$data['adults']}{/if} {if $data['adults'] > 1}{l s='Adults'}{else}{l s='Adult'}{/if}
{if $data['children']}
- {else}
- {if $data['adults']}{$data['adults']}{/if} {if $data['adults'] > 1}{l s='Adults'}{else}{l s='Adult'}{/if}{if {$data['children']}}, {$data['children']} {if $data['children'] > 1}{l s='Children'}{else}{l s='Child'}{/if}{/if}
{/if}
|
-
+ |
+
+ {if ($data['id_status'] == $hotel_order_status['STATUS_CHECKED_IN']['id_status']) || ($data['id_status'] == $hotel_order_status['STATUS_CHECKED_OUT']['id_status'])}
+ {dateFormat date=$data['check_in'] full=1}
+ {else}
+ --
+ {/if}
+
+
+ {if $data['id_status'] == $hotel_order_status['STATUS_CHECKED_OUT']['id_status']}
+ {dateFormat date=$data['check_out'] full=1}
+ {else}
+ --
+ {/if}
+
+ |
+
+ {if $data['booking_type'] == $ALLOTMENT_MANUAL}
+ {l s='Manual'} {if $data['comment'] != ''}{/if}
+ {else}
+ {l s='Auto'}
+ {/if}
+ |
+
{convertPriceWithCurrency price=$data['total_price_tax_excl'] currency=$currency->id}
- {l s='Per day price:'} {convertPriceWithCurrency price=$data['paid_unit_price_tax_excl'] currency=$currency->id}
+ {convertPriceWithCurrency price=$data['paid_unit_price_tax_excl'] currency=$currency->id}/{l s='day'}
+
|
-
+ |
{convertPriceWithCurrency price=($data['extra_demands_price_te'] + $data['additional_services_price_te'] + $data['convenience_fee_te'] + $data['additional_services_price_auto_add_te']) currency=$currency->id}
{if $data['extra_demands']|count || $data['additional_services']|count}
{/if}
|
-
+ |
{convertPriceWithCurrency price=($data['total_room_tax']) currency=$currency->id}
|
-
+ |
{convertPriceWithCurrency price=($data['total_room_price_ti']) currency=$currency->id}
|
{if (isset($refundReqBookings) && $refundReqBookings)}
-
- {if $data.id|in_array:$refundReqBookings}
- {if $data.is_cancelled}
- {l s='Cancelled'}
- {elseif isset($data.refund_info) && (!$data.refund_info.refunded || $data.refund_info.id_customization)}
- {$data.refund_info.name|escape:'html':'UTF-8'}
- {else}
- --
- {/if}
- {else}
- --
- {/if}
- |
-
- {if $data.is_refunded && isset($data.refund_info) && $data.refund_info}
- {convertPriceWithCurrency price=$data.refund_info.refunded_amount currency=$currency->id}
- {else}
- --
- {/if}
+ |
+
+ {if $data.id|in_array:$refundReqBookings}
+ {if $data.is_cancelled}
+ {l s='Cancelled'}
+ {elseif isset($data.refund_info) && (!$data.refund_info.refunded || $data.refund_info.id_customization)}
+ {$data.refund_info.name|escape:'html':'UTF-8'}
+ {else}
+ --
+ {/if}
+ {else}
+ --
+ {/if}
+
+ {if $data.is_refunded && isset($data.refund_info) && $data.refund_info}
+
+ {convertPriceWithCurrency price=$data.refund_info.refunded_amount currency=$currency->id}
+
+ {/if}
|
{/if}
{if ($can_edit && !$order->hasBeenDelivered())}
-
-
+
+
{if isset($refundReqBookings) && $refundReqBookings && $data.id|in_array:$refundReqBookings && $data.is_cancelled}
| |