diff --git a/admin/ajax.php b/admin/ajax.php index 2506e809d..57e492364 100644 --- a/admin/ajax.php +++ b/admin/ajax.php @@ -127,4 +127,4 @@ if (Tools::isSubmit('getZones')) { if (Tools::isSubmit('getEmailHTML') && $email = Tools::getValue('email')) { $email_html = AdminTranslationsController::getEmailHTML($email); die($email_html); -} +} \ No newline at end of file diff --git a/admin/filemanager/js/jquery.contextMenu.js b/admin/filemanager/js/jquery.contextMenu.js index 103a58582..136efe9b7 100644 --- a/admin/filemanager/js/jquery.contextMenu.js +++ b/admin/filemanager/js/jquery.contextMenu.js @@ -125,7 +125,7 @@ var // currently active contextMenu trigger offset = {top: y, left: x}; } - // correct offset if viewport demands it + // correct offset if viewport it var bottom = $win.scrollTop() + $win.height(), right = $win.scrollLeft() + $win.width(), height = opt.$menu.height(), diff --git a/admin/themes/default/template/controllers/carts/helpers/view/view.tpl b/admin/themes/default/template/controllers/carts/helpers/view/view.tpl index b26103a19..c4cacfa00 100644 --- a/admin/themes/default/template/controllers/carts/helpers/view/view.tpl +++ b/admin/themes/default/template/controllers/carts/helpers/view/view.tpl @@ -107,92 +107,42 @@ {displayWtPriceWithCurrency price=$room['feature_price_tax_excl'] currency=$currency} - {if (isset($room['selected_demands']) && $room['selected_demands']) || (isset($room['selected_services']) && $room['selected_services'])} - - {displayWtPriceWithCurrency price=($room['demand_price'] + $room['additional_service_price'] + $room['additional_services_auto_add_price'])|escape:'html':'UTF-8' currency=$currency} + {if isset($room['selected_services']) && $room['selected_services']} + + {displayWtPriceWithCurrency price=($room['additional_service_price'] + $room['additional_services_auto_add_price'])|escape:'html':'UTF-8' currency=$currency} {else} {displayWtPriceWithCurrency price=0 currency=$currency} {/if} - {if (isset($room['selected_demands']) && $room['selected_demands']) || (isset($room['selected_services']) && $room['selected_services'])} - {displayWtPriceWithCurrency price=($room['amt_with_qty'] + $room['additional_services_auto_add_price'] + $room['demand_price'] + $room['additional_service_price'])|escape:'html':'UTF-8' currency=$currency} + {if isset($room['selected_services']) && $room['selected_services']} + {displayWtPriceWithCurrency price=($room['amt_with_qty'] + $room['additional_services_auto_add_price'] + $room['additional_service_price'])|escape:'html':'UTF-8' currency=$currency} {else} {displayWtPriceWithCurrency price=$room['amt_with_qty']|escape:'html':'UTF-8' currency=$currency} {/if} -