diff --git a/admin-dev/themes/default/template/controllers/orders/_product_line.tpl b/admin-dev/themes/default/template/controllers/orders/_product_line.tpl index a27076f75..2b6a2ad1d 100644 --- a/admin-dev/themes/default/template/controllers/orders/_product_line.tpl +++ b/admin-dev/themes/default/template/controllers/orders/_product_line.tpl @@ -190,7 +190,7 @@ {l s='Delete'} - {if isset($use_tourism_tax) && $use_tourism_tax && isset($data.tourism_tax_status) && $data.tourism_tax_status != $tourism_tax_status_not_applicable && !$data.is_cancelled && !$data.is_refunded} + {if isset($use_tourism_tax) && $use_tourism_tax && isset($data.tourism_tax_status) && $data.tourism_tax_status != $tourism_tax_status_not_applicable && $data.id_status != $ROOM_STATUS_CANCELLED && !$data.is_refunded} {if $data.tourism_tax_status == $tourism_tax_status_applied}
  • diff --git a/admin-dev/themes/default/template/controllers/products/configuration.tpl b/admin-dev/themes/default/template/controllers/products/configuration.tpl index 4d88277f5..5e9a836e7 100644 --- a/admin-dev/themes/default/template/controllers/products/configuration.tpl +++ b/admin-dev/themes/default/template/controllers/products/configuration.tpl @@ -434,7 +434,7 @@

    {l s='Example:'} {l s='For the Room Type'} - {$product->name[$id_lang]|escape:'html':'UTF-8'}, + {$product->name[$id_lang]|default:''|escape:'html':'UTF-8'}, {l s='the room name will be'} {$room_type_acronym|escape:'html':'UTF-8'}.

    diff --git a/admin-dev/themes/default/template/controllers/products/features.tpl b/admin-dev/themes/default/template/controllers/products/features.tpl index edaa24e40..03dc6222b 100644 --- a/admin-dev/themes/default/template/controllers/products/features.tpl +++ b/admin-dev/themes/default/template/controllers/products/features.tpl @@ -53,119 +53,6 @@ {/if} - - - - - - - - - - - - {foreach from=$available_features item=available_feature} - - - {foreach from=$available_feature.featureValues item=value} - - - - {/foreach} - {*-- - {* *} - - - {foreachelse} - - - - {/foreach} - -
    {l s='Feature'}{l s='Feature Image'}
    - - {$available_feature.name} - - - - {if sizeof($available_feature.featureValues)} - - {else} - - {l s='N/A'} - - {l s='Add pre-defined values first'} - - {/if} *} - - - - - {foreach from=$languages key=k item=language} - {if $languages|count > 1} -
    -
    - {/if} - - - {if $languages|count > 1} -
    -
    - - -
    -
    - {/if} - {/foreach} -
    {l s='No features have been defined'}
    - -
    - {l s='Add a new feature'} - diff --git a/themes/hotel-reservation-theme/guest-tracking.tpl b/themes/hotel-reservation-theme/guest-tracking.tpl index 72ae8c4c5..8a9dbca36 100644 --- a/themes/hotel-reservation-theme/guest-tracking.tpl +++ b/themes/hotel-reservation-theme/guest-tracking.tpl @@ -63,6 +63,7 @@ {assign var=obj_hotel_branch_information value=$order->obj_hotel_branch_information} {assign var=hotel_address_info value=$order->hotel_address_info} {assign var=hotel_refund_rules value=$order->hotel_refund_rules} + {assign var=property_type value=$order->property_type} {if isset($order->total_old)} {assign var=total_old value=$order->total_old} diff --git a/themes/hotel-reservation-theme/order-detail.tpl b/themes/hotel-reservation-theme/order-detail.tpl index 7ee617deb..14866703b 100644 --- a/themes/hotel-reservation-theme/order-detail.tpl +++ b/themes/hotel-reservation-theme/order-detail.tpl @@ -1030,7 +1030,7 @@ ({$hotel_booking_detail.adults|string_format:'%02d'} {if $hotel_booking_detail.adults > 1}{l s='Adults'}{else}{l s='Adult'}{/if}{if $hotel_booking_detail.children > 0}{l s=', '}{$hotel_booking_detail.children|string_format:'%02d'} {if $hotel_booking_detail.children > 1}{l s='Children'}{else}{l s='Child'}{/if}{/if}) - {if $hotel_booking_detail.is_cancelled}{l s='Cancelled'}{else if $hotel_booking_detail.is_refunded}{l s='Refunded'}{else if $hotel_booking_detail.refund_denied}{l s='Refund denied'} {include file='_partials/htl-tooltip.tpl' tooltip_content={l s='Refund for this booking is denied. Please contact admin for more detail.'}}{else if $hotel_booking_detail.id_status != $ROOM_STATUS_ALLOTED}{if $hotel_booking_detail.id_status == $ROOM_STATUS_CHECKED_OUT}{l s='Checked-Out'}{else}{l s='Checked-In'}{/if}{/if} + {if $hotel_booking_detail.is_cancelled}{l s='Cancelled'}{else if $hotel_booking_detail.is_refunded}{l s='Refunded'}{else if $hotel_booking_detail.refund_denied}{l s='Refund denied'} {include file='_partials/htl-tooltip.tpl' tooltip_content={l s='Refund for this booking is denied. Please contact admin for more detail.'}}{else if $hotel_booking_detail.id_status != $ROOM_STATUS_ASSIGNED}{if $hotel_booking_detail.id_status == $ROOM_STATUS_CHECKED_OUT}{l s='Checked-Out'}{else}{l s='Checked-In'}{/if}{/if} diff --git a/themes/hotel-reservation-theme/shopping-cart-detail.tpl b/themes/hotel-reservation-theme/shopping-cart-detail.tpl index 9d8d23cf2..e786b4066 100644 --- a/themes/hotel-reservation-theme/shopping-cart-detail.tpl +++ b/themes/hotel-reservation-theme/shopping-cart-detail.tpl @@ -83,7 +83,7 @@
    {foreach $data_v['hotel_info']['room_features'] as $feature} - {$feature['name']} + {$feature['value']|escape:'html':'UTF-8'} {/foreach}