diff --git a/controllers/front/OrderDetailController.php b/controllers/front/OrderDetailController.php
index 196091216..ab8cabb34 100644
--- a/controllers/front/OrderDetailController.php
+++ b/controllers/front/OrderDetailController.php
@@ -214,6 +214,11 @@ class OrderDetailControllerCore extends FrontController
'additionalServices' => $additionalServices,
));
}
+ $this->context->smarty->assign(
+ array(
+ 'objOrder' => new Order($idOrder)
+ )
+ );
$response['extra_demands'] = $this->context->smarty->fetch(_PS_THEME_DIR_.'_partials/order_booking_demands.tpl');
}
diff --git a/themes/hotel-reservation-theme/_partials/order_booking_demands.tpl b/themes/hotel-reservation-theme/_partials/order_booking_demands.tpl
index e684fdcb1..376640411 100644
--- a/themes/hotel-reservation-theme/_partials/order_booking_demands.tpl
+++ b/themes/hotel-reservation-theme/_partials/order_booking_demands.tpl
@@ -48,9 +48,9 @@
{if $useTax}
- {displayPrice price="{$demand['total_price_tax_incl']|escape:'html':'UTF-8'}"}
+ {displayPrice price="{$demand['total_price_tax_incl']|escape:'html':'UTF-8'}" currency=$objOrder->id_currency}
{else}
- {displayPrice price="{$demand['total_price_tax_excl']|escape:'html':'UTF-8'}"}
+ {displayPrice price="{$demand['total_price_tax_excl']|escape:'html':'UTF-8'}" currency=$objOrder->id_currency}
{/if}
@@ -90,9 +90,9 @@
{if $useTax}
- {displayPrice price=$additionalService['total_price_tax_incl']|escape:'html':'UTF-8'}
+ {displayPrice price=$additionalService['total_price_tax_incl']|escape:'html':'UTF-8' currency=$objOrder->id_currency}
{else}
- {displayPrice price=$additionalService['total_price_tax_excl']|escape:'html':'UTF-8'}
+ {displayPrice price=$additionalService['total_price_tax_excl']|escape:'html':'UTF-8' currency=$objOrder->id_currency}
{/if}
diff --git a/themes/hotel-reservation-theme/order-confirmation.tpl b/themes/hotel-reservation-theme/order-confirmation.tpl
index 1f011f4a0..ba458b60e 100644
--- a/themes/hotel-reservation-theme/order-confirmation.tpl
+++ b/themes/hotel-reservation-theme/order-confirmation.tpl
@@ -299,7 +299,7 @@
{l s='Total extra services cost'} {if $use_tax}{l s='(tax incl.)'}{/if}
- {displayWtPriceWithCurrency price=$orderTotalInfo['total_services_ti'] currency=$currency convert=1}
+ {displayWtPriceWithCurrency price=$orderTotalInfo['total_services_ti'] currency=$objCurrency convert=1}
|
{/if} *}
@@ -322,9 +322,9 @@
{if $priceDisplay && $use_tax}
- {displayWtPriceWithCurrency price=($orderTotalInfo['total_discounts_te'] * -1) currency=$currency convert=1}
+ {displayWtPriceWithCurrency price=($orderTotalInfo['total_discounts_te'] * -1) currency=$objCurrency convert=1}
{else}
- {displayWtPriceWithCurrency price=($orderTotalInfo['total_discounts'] * -1) currency=$currency convert=1}
+ {displayWtPriceWithCurrency price=($orderTotalInfo['total_discounts'] * -1) currency=$objCurrency convert=1}
{/if}
|
@@ -356,7 +356,7 @@
{l s='Total Tax'}
- {displayWtPriceWithCurrency price=$orderTotalInfo['total_tax'] currency=$currency convert=1}
+ {displayWtPriceWithCurrency price=$orderTotalInfo['total_tax'] currency=$objCurrency convert=1}
|