diff --git a/themes/hotel-reservation-theme/order-confirmation.tpl b/themes/hotel-reservation-theme/order-confirmation.tpl index d23fbf032..64db52cf3 100644 --- a/themes/hotel-reservation-theme/order-confirmation.tpl +++ b/themes/hotel-reservation-theme/order-confirmation.tpl @@ -414,46 +414,32 @@
| - {l s='Total Rooms Cost (tax excl.)'} - | -+ | |
| + {l s='Total Rooms Cost'} {if $use_taxes && $display_tax_label == 1}{if $priceDisplay == 1}{l s='(tax excl.)'}{elseif $priceDisplay == 0}{l s='(tax incl.)'}{/if} {/if} + | ++ {if $priceDisplay && $use_tax} {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} - | -+ {else} {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 products cost (tax excl.)'} - | -+ | |
| + {l s='Total products cost'} {if $use_taxes && $display_tax_label == 1}{if $priceDisplay == 1}{l s='(tax excl.)'}{elseif $priceDisplay == 0}{l s='(tax incl.)'}{/if} {/if} + | ++ {if $priceDisplay && $use_tax} {displayWtPriceWithCurrency price=$orderTotalInfo['total_standalone_products_te'] currency=$objOrderCurrency} - | -|
| - {l s='Total products cost'} {if $use_tax}{l s='(tax incl.)'}{/if} - | -+ {else} {displayWtPriceWithCurrency price=$orderTotalInfo['total_standalone_products_ti'] currency=$objOrderCurrency} - | -|
| - {l s='Total Convenience Fees (tax excl.)'} + {l s='Total Convenience Fees'} {if $use_taxes && $display_tax_label == 1}{if $priceDisplay == 1}{l s='(tax excl.)'}{elseif $priceDisplay == 0}{l s='(tax incl.)'}{/if} {/if} | - {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} + {if $priceDisplay && $use_tax} + {displayWtPriceWithCurrency price=($orderTotalInfo['total_convenience_fee_te']) currency=$objOrderCurrency} + {else} + {displayWtPriceWithCurrency price=($orderTotalInfo['total_convenience_fee_ti']) currency=$objOrderCurrency} + {/if} | |
| {l s='Total rooms cost (tax excl.)'} | -- {displayWtPriceWithCurrency price=($room_price_tax_excl + $room_services_price_tax_excl - $total_convenience_fee_te) currency=$currency} - | -|
| {l s='Total Rooms Cost'} {if $use_tax}{l s='(tax incl.)'}{/if} | -- {displayWtPriceWithCurrency price=($room_price_tax_incl + $room_services_price_tax_incl - $total_convenience_fee_ti) currency=$currency} - | -|
| - {l s='Total products cost (tax excl.)'} - | -- {displayWtPriceWithCurrency price=$total_standard_products_tax_excl currency=$currency} - | -|
| - {l s='Total products cost'} {if $use_tax}{l s='(tax incl.)'}{/if} - | -- {displayWtPriceWithCurrency price=$total_standard_products_tax_incl currency=$currency} - | -|
| {l s='Total Convenience Fees (tax excl.)'} | +{l s='Total rooms cost'} {if $use_taxes && $display_tax_label == 1}{if $priceDisplay == 1}{l s='(tax excl.)'}{elseif $priceDisplay == 0}{l s='(tax incl.)'}{/if} {/if} | - {displayWtPriceWithCurrency price=$total_convenience_fee_te currency=$currency} + {if $priceDisplay && $use_tax} + {displayWtPriceWithCurrency price=($room_price_tax_excl + $room_services_price_tax_excl - $total_convenience_fee_te) currency=$currency} + {else} + {displayWtPriceWithCurrency price=($room_price_tax_incl + $room_services_price_tax_incl - $total_convenience_fee_ti) currency=$currency} + {/if} |
| {l s='Total Convenience Fees (tax incl.)'} | + {/if} + {if (isset($hotel_service_products) && $hotel_service_products) || (isset($standalone_service_products) && $standalone_service_products)} +||
| {l s='Total products cost'} {if $use_taxes && $display_tax_label == 1}{if $priceDisplay == 1}{l s='(tax excl.)'}{elseif $priceDisplay == 0}{l s='(tax incl.)'}{/if}{/if} | - {displayWtPriceWithCurrency price=$total_convenience_fee_ti currency=$currency} + {if $priceDisplay && $use_tax} + {displayWtPriceWithCurrency price=$total_standard_products_tax_excl currency=$currency} + {else} + {displayWtPriceWithCurrency price=$total_standard_products_tax_incl currency=$currency} + {/if} + | +|
| {l s='Total Convenience Fees'} {if $use_taxes && $display_tax_label == 1}{if $priceDisplay == 1}{l s='(tax excl.)'}{elseif $priceDisplay == 0}{l s='(tax incl.)'}{/if}{/if} | ++ {if $priceDisplay && $use_tax} + {displayWtPriceWithCurrency price=$total_convenience_fee_te currency=$currency} + {else} + {displayWtPriceWithCurrency price=$total_convenience_fee_ti currency=$currency} + {/if} | |
| {l s='Total rooms cost (tax excl.)'} | -- {displayWtPriceWithCurrency price=($room_price_tax_excl + $room_services_price_tax_excl - $total_convenience_fee_te) currency=$currency} - | -|
| {l s='Total Rooms Cost'} {if $use_tax}{l s='(tax incl.)'}{/if} | -- {displayWtPriceWithCurrency price=($room_price_tax_incl + $room_services_price_tax_incl - $total_convenience_fee_ti) currency=$currency} - | -|
| - {l s='Total products cost (tax excl.)'} - | -- {displayWtPriceWithCurrency price=$total_standard_products_tax_excl currency=$currency} - | -|
| - {l s='Total products cost'} {if $use_tax}{l s='(tax incl.)'}{/if} - | -- {displayWtPriceWithCurrency price=$total_standard_products_tax_incl currency=$currency} - | -|
| {l s='Total Convenience Fees (tax excl.)'} | +{l s='Total rooms cost'} {if $use_taxes && $display_tax_label == 1}{if $priceDisplay == 1}{l s='(tax excl.)'}{elseif $priceDisplay == 0}{l s='(tax incl.)'}{/if} {/if} | - {displayWtPriceWithCurrency price=$total_convenience_fee_te currency=$currency} + {if $priceDisplay && $use_tax} + {displayWtPriceWithCurrency price=($room_price_tax_excl + $room_services_price_tax_excl - $total_convenience_fee_te) currency=$currency} + {else} + {displayWtPriceWithCurrency price=($room_price_tax_incl + $room_services_price_tax_incl - $total_convenience_fee_ti) currency=$currency} + {/if} |
| {l s='Total Convenience Fees (tax incl.)'} | + {/if} + {if (isset($hotel_service_products) && $hotel_service_products) || (isset($standalone_service_products) && $standalone_service_products)} +||
| {l s='Total products cost'} {if $use_taxes && $display_tax_label == 1}{if $priceDisplay == 1}{l s='(tax excl.)'}{elseif $priceDisplay == 0}{l s='(tax incl.)'}{/if}{/if} | - {displayWtPriceWithCurrency price=$total_convenience_fee_ti currency=$currency} + {if $priceDisplay && $use_tax} + {displayWtPriceWithCurrency price=$total_standard_products_tax_excl currency=$currency} + {else} + {displayWtPriceWithCurrency price=$total_standard_products_tax_incl currency=$currency} + {/if} + | +|
| {l s='Total Convenience Fees'} {if $use_taxes && $display_tax_label == 1}{if $priceDisplay == 1}{l s='(tax excl.)'}{elseif $priceDisplay == 0}{l s='(tax incl.)'}{/if}{/if} | ++ {if $priceDisplay && $use_tax} + {displayWtPriceWithCurrency price=$total_convenience_fee_te currency=$currency} + {else} + {displayWtPriceWithCurrency price=$total_convenience_fee_ti currency=$currency} + {/if} |