// Syntax error on BO order page when not using taxes

This commit is contained in:
dMetzger
2012-06-07 15:46:50 +00:00
parent bc289c03f6
commit 4c86a8613d
@@ -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}";