diff --git a/modules/blockcart/blockcart.tpl b/modules/blockcart/blockcart.tpl index 1b622fa70..0599e08f3 100644 --- a/modules/blockcart/blockcart.tpl +++ b/modules/blockcart/blockcart.tpl @@ -23,246 +23,275 @@ * International Registered Trademark & Property of PrestaShop SA *} -{block name='block_cart'} +{block name='blockcart'} {if isset($blockcart_top) && $blockcart_top}
{l s='Welcome To' mod='hotelreservationsystem'}
{$WK_HTL_TAG_LINE|escape:'htmlall':'UTF-8'}
+ {block name='header_hotel_desc_block_hotel_name'} +{$WK_HTL_TAG_LINE|escape:'htmlall':'UTF-8'}
+ {/block}{$HOTEL_INTERIOR_HEADING|escape:'htmlall':'UTF-8'}
-{$HOTEL_INTERIOR_DESCRIPTION|escape:'htmlall':'UTF-8'}
- {hook h="displayInteriorExtraContent"} + {block name='hotel_interior_heading'} +{$HOTEL_INTERIOR_HEADING|escape:'htmlall':'UTF-8'}
+ {/block} + {block name='hotel_interior_description'} +{$HOTEL_INTERIOR_DESCRIPTION|escape:'htmlall':'UTF-8'}
+ {/block} + {block name='displayInteriorExtraContent'} + {hook h="displayInteriorExtraContent"} + {/block}{$HOTEL_AMENITIES_HEADING|escape:'htmlall':'UTF-8'}
-{$HOTEL_AMENITIES_DESCRIPTION|escape:'htmlall':'UTF-8'}
+ {block name='hotel_features_heading'} +{$HOTEL_AMENITIES_HEADING|escape:'htmlall':'UTF-8'}
+ {/block} + {block name='hotel_features_description'} +{$HOTEL_AMENITIES_DESCRIPTION|escape:'htmlall':'UTF-8'}
+ {/block}{$HOTEL_ROOM_DISPLAY_HEADING|escape:'htmlall':'UTF-8'}
-{$HOTEL_ROOM_DISPLAY_DESCRIPTION|escape:'htmlall':'UTF-8'}
+ {block name='hotel_room_display_block_heading'} +{$HOTEL_ROOM_DISPLAY_HEADING|escape:'htmlall':'UTF-8'}
+ {/block} + {block name='hotel_room_display_block_description'} +{$HOTEL_ROOM_DISPLAY_DESCRIPTION|escape:'htmlall':'UTF-8'}
+ {/block}{$roomDisplay.name|escape:'htmlall':'UTF-8'}
- {if $roomDisplay.show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE} -- {if $roomDisplay.feature_price_diff >= 0} - {convertPrice price = $roomDisplay.price_without_reduction} - {/if} - {if $roomDisplay.feature_price_diff} - {convertPrice price = $roomDisplay.feature_price} - {/if} - - / {l s='Per Night' mod='wkhotelroom'} - -
- {/if} -{$roomDisplay.name|escape:'htmlall':'UTF-8'}
+ {if $roomDisplay.show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE} ++ {if $roomDisplay.feature_price_diff >= 0} + {convertPrice price = $roomDisplay.price_without_reduction} + {/if} + {if $roomDisplay.feature_price_diff} + {convertPrice price = $roomDisplay.feature_price} + {/if} + + / {l s='Per Night' mod='wkhotelroom'} + +
+ {/if} +{$HOTEL_TESIMONIAL_BLOCK_HEADING|escape:'htmlall':'UTF-8'}
-{$HOTEL_TESIMONIAL_BLOCK_CONTENT|escape:'htmlall':'UTF-8'}
+ {block name='testimonial_block_heading'} +{$HOTEL_TESIMONIAL_BLOCK_HEADING|escape:'htmlall':'UTF-8'}
+ {/block} + {block name='testimonial_block_description'} +{$HOTEL_TESIMONIAL_BLOCK_CONTENT|escape:'htmlall':'UTF-8'}
+ {/block}- {if $total_price && $total_price_without_discount > $total_price} - - {convertPrice price=$total_price_without_discount|floatval} - - {/if} - {convertPrice price=$total_price|floatval} -
-+ {if $total_price && $total_price_without_discount > $total_price} + + {convertPrice price=$total_price_without_discount|floatval} + + {/if} + {convertPrice price=$total_price|floatval} +
+- -
+ {block name='booking_form_book_now_button'} ++ +
+ {/block} {/if}@@ -60,9 +62,13 @@
{/if}{l s='Your address has been successfully updated.'}
{/if} + {/block}{if isset($id_address) && (isset($smarty.post.alias) || isset($address->alias))} {l s='Modify address'} diff --git a/themes/hotel-reservation-theme/authentication.tpl b/themes/hotel-reservation-theme/authentication.tpl index ccc893730..932b106fe 100644 --- a/themes/hotel-reservation-theme/authentication.tpl +++ b/themes/hotel-reservation-theme/authentication.tpl @@ -415,7 +415,7 @@
{l s='Your account has been created.'}
{/if} -{l s='Welcome to your account. Here you can manage all of your personal information and orders.'}
+ {block name='my_account_heading_info'} +{l s='Welcome to your account. Here you can manage all of your personal information and orders.'}
+ {/block}{l s='Order Details -'}
- {block name='order_detail_content'} + {block name='order_confirmation_order_detail_heading'} +{l s='Order Details -'}
+ {/block} + {block name='order_confirmation_order_detail'}| {l s='Room Image'} | -{l s='Room Description'} | -{l s='Hotel Name'} | -{l s='Rooms'} | -{l s='Check-in Date'} | -{l s='Check-out Date'} | -{l s='Extra Services'} | -{l s='Total'} | -||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {l s='Room Image'} | +{l s='Room Description'} | +{l s='Hotel Name'} | +{l s='Rooms'} | +{l s='Check-in Date'} | +{l s='Check-out Date'} | +{l s='Extra Services'} | +{l s='Total'} | +||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
+ {block name='order_confirmation_order_detail_room_cover_image'}
+
+ |
+ + {block name='order_confirmation_order_detail_room_name'} + + {/block} + | ++ {block name='order_confirmation_order_detail_hotel_name'} + {$data_v['hotel_name']} + {block name='displayOrderConfirmationHotelNameAfter'} + {hook h="displayOrderConfirmationHotelNameAfter" id_product=$data_v['id_product']} + {/block} + {/block} + | +
+ {block name='order_confirmation_order_detail_guest'}
+
+ {if $rm_v['adults'] <= 9}0{$rm_v['adults']}{else}{$rm_v['adults']}{/if} {if $rm_v['adults'] > 1}{l s='Adults'}{else}{l s='Adult'}{/if}{if $rm_v['children']}, {if $rm_v['children'] <= 9}0{$rm_v['children']}{else} {$rm_v['children']}{/if} {if $rm_v['children'] > 1}{l s='Children'}{else}{l s='Child'}{/if}{/if} |
+
+ {block name='order_confirmation_order_detail_check_in'}
+ + {$rm_v['data_form']|date_format:"%d-%m-%Y"} + + {/block} + |
+
+ {block name='order_confirmation_order_detail_check_out'}
+ + {$rm_v['data_to']|date_format:"%d-%m-%Y"} + + {/block} + |
+
+ {block name='order_confirmation_order_detail_room_extra_demands'}
+ + + {if (isset($rm_v['extra_demands']) && $rm_v['extra_demands']) || isset($rm_v['additional_services']) && $rm_v['additional_services']} + + {/if} + {if $group_use_tax} + {displayWtPriceWithCurrency price=($rm_v['extra_demands_price_ti'] + $rm_v['additional_services_price_ti']) currency=$objOrderCurrency} + {else} + {displayWtPriceWithCurrency price=($rm_v['extra_demands_price_te'] + $rm_v['additional_services_price_te']) currency=$objOrderCurrency} + {/if} + {if (isset($rm_v['extra_demands']) && $rm_v['extra_demands']) || isset($rm_v['additional_services']) && $rm_v['additional_services']} + + {/if} + + {/block} + |
+
+ {block name='order_confirmation_order_room_total'}
+
+ {if $group_use_tax}
+ {displayWtPriceWithCurrency price=($rm_v['amount_tax_incl'] + $rm_v['extra_demands_price_ti'] + $rm_v['additional_services_price_ti'] + $rm_v['additional_services_price_auto_add_ti']) currency=$objOrderCurrency}
+ {else}
+ {displayWtPriceWithCurrency price=($rm_v['amount_tax_excl'] + $rm_v['extra_demands_price_te'] + $rm_v['additional_services_price_te'] + $rm_v['additional_services_price_auto_add_te']) currency=$objOrderCurrency}
+ {/if}
+ {if (isset($rm_v['extra_demands']) && $rm_v['extra_demands']) || isset($rm_v['additional_services']) && $rm_v['additional_services']}
+
+ |
+ {if isset($orders_has_invoice) && $orders_has_invoice && $order->payment != 'Free order'}
+ {/if}
+ {* + {if isset($rm_v['is_backorder']) && $rm_v['is_backorder']} + {l s='On Backorder'} + {else} + -- + {/if} + | *} + {/block} +|||||
| {l s='Image'} | +{l s='Name'} | +{l s='Unit Price'} | +{l s='Quantity'} | +{l s='Total'} | +|||||||||
|
|
- + | - | {$data_v['hotel_name']} - {block name='displayOrderConfirmationHotelNameAfter'} - {hook h="displayOrderConfirmationHotelNameAfter" id_product=$data_v['id_product']} - {/block} - | -
-
- {if $rm_v['adults'] <= 9}0{$rm_v['adults']}{else}{$rm_v['adults']}{/if} {if $rm_v['adults'] > 1}{l s='Adults'}{else}{l s='Adult'}{/if}{if $rm_v['children']}, {if $rm_v['children'] <= 9}0{$rm_v['children']}{else} {$rm_v['children']}{/if} {if $rm_v['children'] > 1}{l s='Children'}{else}{l s='Child'}{/if}{/if} |
-
- - {$rm_v['data_form']|date_format:"%d-%m-%Y"} - - |
-
- - {$rm_v['data_to']|date_format:"%d-%m-%Y"} + |
+ + {if $group_use_tax} + {displayWtPriceWithCurrency price=$data_v['unit_price_tax_incl'] currency=$objOrderCurrency} + {* {displayPrice price=$data_v['unit_price_tax_incl']|floatval|round:2} *} + {else} + {* {displayPrice price=$data_v['unit_price_tax_excl']|floatval|round:2} *} + {displayWtPriceWithCurrency price=$data_v['unit_price_tax_excl'] currency=$objOrderCurrency} + {/if} |
- - {if (isset($rm_v['extra_demands']) && $rm_v['extra_demands']) || isset($rm_v['additional_services']) && $rm_v['additional_services']} - - {/if} + {$data_v['product_quantity']} + + |
+
+ {if $group_use_tax} - {displayWtPriceWithCurrency price=($rm_v['extra_demands_price_ti'] + $rm_v['additional_services_price_ti']) currency=$objOrderCurrency} + {displayWtPriceWithCurrency price=$data_v['total_price_tax_incl'] currency=$objOrderCurrency} {else} - {displayWtPriceWithCurrency price=($rm_v['extra_demands_price_te'] + $rm_v['additional_services_price_te']) currency=$objOrderCurrency} - {/if} - {if (isset($rm_v['extra_demands']) && $rm_v['extra_demands']) || isset($rm_v['additional_services']) && $rm_v['additional_services']} - + {displayWtPriceWithCurrency price=$data_v['total_price_tax_excl'] currency=$objOrderCurrency} {/if} |
-
-
- {if $group_use_tax}
- {displayWtPriceWithCurrency price=($rm_v['amount_tax_incl'] + $rm_v['extra_demands_price_ti'] + $rm_v['additional_services_price_ti'] + $rm_v['additional_services_price_auto_add_ti']) currency=$objOrderCurrency}
- {else}
- {displayWtPriceWithCurrency price=($rm_v['amount_tax_excl'] + $rm_v['extra_demands_price_te'] + $rm_v['additional_services_price_te'] + $rm_v['additional_services_price_auto_add_te']) currency=$objOrderCurrency}
- {/if}
- {if (isset($rm_v['extra_demands']) && $rm_v['extra_demands']) || isset($rm_v['additional_services']) && $rm_v['additional_services']}
-
- |
- {if isset($orders_has_invoice) && $orders_has_invoice && $order->payment != 'Free order'}
- {/if}
- {* - {if isset($rm_v['is_backorder']) && $rm_v['is_backorder']} - {l s='On Backorder'} - {else} - -- - {/if} - | *}||
| {l s='Image'} | -{l s='Name'} | -{l s='Unit Price'} | -{l s='Quantity'} | -{l s='Total'} | -|||||||||
|
-
- |
- - - | -
- - {if $group_use_tax} - {displayWtPriceWithCurrency price=$data_v['unit_price_tax_incl'] currency=$objOrderCurrency} - {* {displayPrice price=$data_v['unit_price_tax_incl']|floatval|round:2} *} - {else} - {* {displayPrice price=$data_v['unit_price_tax_excl']|floatval|round:2} *} - {displayWtPriceWithCurrency price=$data_v['unit_price_tax_excl'] currency=$objOrderCurrency} - {/if} - - |
-
- - {$data_v['product_quantity']} - - |
-
- - {if $group_use_tax} - {displayWtPriceWithCurrency price=$data_v['total_price_tax_incl'] currency=$objOrderCurrency} - {else} - {displayWtPriceWithCurrency price=$data_v['total_price_tax_excl'] currency=$objOrderCurrency} - {/if} - - |
- |||||||||
| - | - {l s='Total Rooms Cost (tax excl.)'} - | -- {displayWtPriceWithCurrency price=($orderTotalInfo['total_rooms_te'] + $orderTotalInfo['total_services_te'] + $orderTotalInfo['total_auto_add_services_te'] + $orderTotalInfo['total_demands_price_te']) currency=$objOrderCurrency} - | -|||||||||||
| - | - {l s='Total Rooms Cost'} {if $use_tax}{l s='(tax incl.)'}{/if} - | -- {displayWtPriceWithCurrency price=($orderTotalInfo['total_rooms_ti'] + $orderTotalInfo['total_services_ti'] + $orderTotalInfo['total_auto_add_services_ti'] + $orderTotalInfo['total_demands_price_ti']) currency=$objOrderCurrency} - | -|||||||||||
| - | - {l s='Total service products cost (tax excl.)'} - | -- {displayWtPriceWithCurrency price=$orderTotalInfo['total_service_products_te'] currency=$objOrderCurrency} - | -|||||||||||
| - | - {l s='Total service products cost'} {if $use_tax}{l s='(tax incl.)'}{/if} - | -- {displayWtPriceWithCurrency price=$orderTotalInfo['total_service_products_ti'] currency=$objOrderCurrency} - | -|||||||||||
| - | - {l s='Total extra services cost (tax excl.)'} - | -- {displayWtPriceWithCurrency price=$orderTotalInfo['total_services_te'] currency=$objOrderCurrency} - | -|||||||||||
| - | - {l s='Total extra services cost'} {if $use_tax}{l s='(tax incl.)'}{/if} - | -- {displayWtPriceWithCurrency price=$orderTotalInfo['total_services_ti'] currency=$objOrderCurrency convert=1} - | -|||||||||||
| - | - {l s='Total gift wrapping cost'} - | -- {displayWtPriceWithCurrency price=($orderTotalInfo['total_wrapping'] * -1) currency=$objOrderCurrency} - | -|||||||||||
| - | - {l s='Total Vouchers'} - | -+ | |||||||||||
| + | + {l s='Total Rooms Cost (tax excl.)'} + | ++ {displayWtPriceWithCurrency price=($orderTotalInfo['total_rooms_te'] + $orderTotalInfo['total_services_te'] + $orderTotalInfo['total_auto_add_services_te'] + $orderTotalInfo['total_demands_price_te']) currency=$objOrderCurrency} + | +|||||||||||
| + | + {l s='Total Rooms Cost'} {if $use_tax}{l s='(tax incl.)'}{/if} + | ++ {displayWtPriceWithCurrency price=($orderTotalInfo['total_rooms_ti'] + $orderTotalInfo['total_services_ti'] + $orderTotalInfo['total_auto_add_services_ti'] + $orderTotalInfo['total_demands_price_ti']) currency=$objOrderCurrency} + | +|||||||||||
| - | - {l s='Total Convenience Fees (tax excl.)'} - | -- {displayWtPriceWithCurrency price=($orderTotalInfo['total_convenience_fee_te']) currency=$objOrderCurrency} - | -|||||||||||
| - | - {l s='Total Convenience Fees'} {if $use_tax}{l s='(tax incl.)'}{/if} - | -- {displayWtPriceWithCurrency price=($orderTotalInfo['total_convenience_fee_ti']) currency=$objOrderCurrency} - | -|||||||||||
| - | - {l s='Total Tax'} - | -- {displayWtPriceWithCurrency price=$orderTotalInfo['total_tax'] currency=$objOrderCurrency convert=1} - | -|||||||||||
| - | - {l s='Final Booking Total'} - | -- {displayWtPriceWithCurrency price=$orderTotalInfo['total_paid'] currency=$objOrderCurrency} - | -|||||||||||
| - | - {l s='Due Amount'} - | -- {displayWtPriceWithCurrency price=($orderTotalInfo['total_paid'] - $orderTotalInfo['total_paid_real']) currency=$objOrderCurrency} - | -|||||||||||
{l s='An email has been sent with this information.'} diff --git a/themes/hotel-reservation-theme/order-detail.tpl b/themes/hotel-reservation-theme/order-detail.tpl index f438699c9..288f632f0 100644 --- a/themes/hotel-reservation-theme/order-detail.tpl +++ b/themes/hotel-reservation-theme/order-detail.tpl @@ -24,41 +24,45 @@ *} {block name='order_detail'} - {capture name=path} - - {l s='My account'} - - - - {l s='Bookings'} - - - - {/capture} + {block name='order_detail_heading'} + {capture name=path} + + {l s='My account'} + + + + {l s='Bookings'} + + + + {/capture} -