diff --git a/install/data/xml/configuration.xml b/install/data/xml/configuration.xml index ab955c1f2..7065bfd04 100644 --- a/install/data/xml/configuration.xml +++ b/install/data/xml/configuration.xml @@ -276,7 +276,7 @@ id_shop;id_currency;id_country;id_group - 0 + 1 0 diff --git a/themes/hotel-reservation-theme/css/order-opc.css b/themes/hotel-reservation-theme/css/order-opc.css index 8a25c6359..03de6fea2 100644 --- a/themes/hotel-reservation-theme/css/order-opc.css +++ b/themes/hotel-reservation-theme/css/order-opc.css @@ -438,6 +438,12 @@ margin-top: 10px; margin-bottom: 10px; } +#order-opc .cart_total_detail_block hr { + margin: 9px 0; +} +#order-opc .cart_total_detail_block .strong { + font-weight: 600; +} #order-opc .cart_total_detail_block .cart_total_values { float: right; } diff --git a/themes/hotel-reservation-theme/order-opc.tpl b/themes/hotel-reservation-theme/order-opc.tpl index c5112d5a9..f8a6c1c84 100644 --- a/themes/hotel-reservation-theme/order-opc.tpl +++ b/themes/hotel-reservation-theme/order-opc.tpl @@ -211,18 +211,6 @@
{* Total cart details, tax details, advance payment details and voucher details *}
- {* {if $total_rooms} -

- {l s='Total rooms cost'}{if $display_tax_label}{l s=' (tax excl.)'}{/if} - {displayPrice price=$total_rooms} -

- {/if} - {if (isset($total_extra_demands) && $total_extra_demands) || (isset($total_additional_services) && $total_additional_services)} -

- {l s='Total extra services'}{if $display_tax_label}{l s=' (tax excl.)'}{/if} - {displayPrice price=($total_extra_demands + $total_additional_services)} -

- {/if} *} {* {if $total_service_products}

{l s='Total service products cost'}{if $display_tax_label}{l s=' (tax excl.)'}{/if} @@ -249,6 +237,34 @@ {displayPrice price=$total_rooms_cost}

+ {if $convenience_fee_wt} +

+ + {l s='Convenience Fees'} + {if $display_tax_label} + {if $use_taxes && $priceDisplay == 0} + {l s='(tax incl)'} + {else} + {l s='(tax excl)'} + {/if} + {/if} + + + {if $use_taxes && $priceDisplay == 0} + {displayPrice price=$convenience_fee_wt} + {else} + {displayPrice price=$convenience_fee} + {/if} + +

+ {/if} + {if $show_taxes} + {hook h="displayCartTotalPriceLabel" type='before_tax'} +

+ {l s='Total tax'} + {displayPrice price=($total_tax)} +

+ {/if}

{if $display_tax_label} @@ -270,112 +286,33 @@ {displayPrice price=$total_discounts_negative}

- {* {if $priceDisplay != 0} *} -

- - {l s='Total'} - {if $display_tax_label} - {if $use_taxes && $priceDisplay == 0} - {l s='(tax incl)'} - {else} - {l s='(tax excl)'} - {/if} - {/if} - - - {if $use_taxes && $priceDisplay == 0} - {displayPrice price=$total_price - $convenience_fee_wt} - {else} - {displayPrice price=$total_price_without_tax - $convenience_fee} - {/if} - -

- {* {/if} *} - {* {if $total_rooms_wt != 0} -

- {l s='Tax on rooms'} - {displayPrice price=($total_rooms_wt - $total_rooms)} -

- {/if} *} - {if $convenience_fee_wt} -

- {l s='Convenience Fees'} - - {if $use_taxes && $priceDisplay == 0} - {displayPrice price=$convenience_fee_wt} - {else} - {displayPrice price=$convenience_fee} - {/if} - -

- {/if} - {hook h="displayCartTotalPriceLabel" type='before_tax'} - -

- {l s='Total tax'} - {displayPrice price=($total_tax)} -

- {* {if $use_taxes && $show_taxes && ($total_extra_demands_wt + $total_additional_services_wt)!= 0 } -

- {l s='Tax on services'} - {displayPrice price=(($total_extra_demands_wt - $total_extra_demands) + ($total_additional_services_wt - $total_additional_services))} -

- {/if} *} - {* {if $use_taxes && $show_taxes && $total_service_products_wt != 0 } -

- {l s='Tax on service products'} - {displayPrice price=($total_service_products_wt - $total_service_products)} -

- {/if} *} - -

- +


+

+ {l s='Total'} + {if $use_taxes} - {if $display_tax_label}{l s='Total gift wrapping (tax incl.)'}{else}{l s='Total gift-wrapping cost'}{/if} + {displayPrice price=$total_price} {else} - {l s='Total gift-wrapping cost'} - {/if} - - - {if $use_taxes} - {if $priceDisplay} - {displayPrice price=$total_wrapping_tax_exc} - {else} - {displayPrice price=$total_wrapping} - {/if} - {else} - {displayPrice price=$total_wrapping_tax_exc} + {displayPrice price=$total_price_without_tax} {/if} +

+ {hook h="displayCartTotalPriceLabel"} +

- {if isset($is_advance_payment) && $is_advance_payment} -

- {l s='Advance Payment Amount'} - {displayPrice price=$advPaymentAmount} -

+

{l s='Due Amount'} {displayPrice price=$dueAmount}

- {/if} -

- {l s='Final Total'} - {if isset($is_advance_payment) && $is_advance_payment} +

+ {l s='Partially Payable Total'} {displayPrice price=$advPaymentAmount} - {else} - - {if $use_taxes} - {displayPrice price=$total_price} - {else} - {displayPrice price=$total_price_without_tax} - {/if} - -

- {hook h="displayCartTotalPriceLabel"} -
- {/if} -

+

+ {else} + {/if} +
{* Check if voucher feature is enabled currently *} {if $voucherAllowed}