diff --git a/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl b/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl index e3405fa99..9566bbfe1 100644 --- a/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl +++ b/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl @@ -37,9 +37,7 @@ {l s='Room Image'} {l s='Room Type'} {l s='Duration'} - {if $occupancy_required_for_booking} - {l s='Occupancy'} - {/if} + {l s='Occupancy / Quantity'} {l s='Unit Price (tax excl)'} {l s='Extra Services / Fees (tax excl)'} {* {l s='Total Rooms Price (tax excl)'} *} @@ -58,7 +56,11 @@ {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} - {if $occupancy_required_for_booking} + {assign var=room_occ_required value=false} + {if isset($data.occupancy_required_for_booking)} + {assign var=room_occ_required value=$data.occupancy_required_for_booking} + {/if} + {if $room_occ_required} + {else} + + 1 + {/if} {assign var=shown_room_type_price value=$data.feature_price_tax_excl} diff --git a/admin/themes/default/template/controllers/products/configuration.tpl b/admin/themes/default/template/controllers/products/configuration.tpl index 7f0bc0f60..5e78cb1dc 100644 --- a/admin/themes/default/template/controllers/products/configuration.tpl +++ b/admin/themes/default/template/controllers/products/configuration.tpl @@ -21,9 +21,16 @@ *} {if isset($product->id)} + {if isset($htl_room_type['room_type_selling_type_name']) && $htl_room_type['room_type_selling_type_name']} + {assign var=attribute_type value=$htl_room_type['room_type_selling_type_name']} + {assign var=attribute_types value=$htl_room_type['room_type_selling_type_name']|cat:'s'} + {else} + {assign var=attribute_type value={l s='Room'}} + {assign var=attribute_types value={l s='Rooms'}} + {/if}
-

{l s='Rooms'}

+

{$attribute_types}

@@ -35,7 +42,7 @@ @@ -55,14 +62,14 @@ @@ -201,14 +208,14 @@
  • -  {l s='Create Rooms'} +  {l s='Create %s' sprintf=$attribute_types}
  • @@ -253,7 +260,7 @@
    @@ -325,7 +332,7 @@ - +