From 57fc56c212fcb99cc5ebf0e4476e9d4e82a97d4a Mon Sep 17 00:00:00 2001 From: dMetzger Date: Thu, 7 Jun 2012 15:46:50 +0000 Subject: [PATCH] // Syntax error on BO order page when not using taxes git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15937 b9a71923-0436-4b27-9f14-aed3839534dd --- .../default/template/controllers/orders/helpers/view/view.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl index 5fec237f9..a93297948 100755 --- a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl @@ -38,7 +38,7 @@ var currency_format = "{$currency->format}"; var currency_blank = "{$currency->blank}"; var priceDisplayPrecision = 2; - var use_taxes = {$order->getTaxCalculationMethod() == $smarty.const.PS_TAX_INC}; + var use_taxes = {if $order->getTaxCalculationMethod() == $smarty.const.PS_TAX_INC}true{else}false{/if}; var token = "{$smarty.get.token|escape:'htmlall':'UTF-8'}"; var txt_add_product_stock_issue = "{l s='You want to add more product than are available in stock, are you sure you want to add this quantity?' js=1}";