Project:
View Revisions: Issue #37171 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0037171: OB.MobileApp.model.get('terminal').currencySymbolAtTheRight is not returning boolean | ||
Revision | 2017-10-27 07:32 by guillermogil | ||
Description | OB.MobileApp.model.get('terminal').currencySymbolAtTheRight is not returning boolean values. That is generating error while trying to use OB.I18N.formatCurrencyWithSymbol function. the definition is the following: Terminal.java: + "'" + pricesList.getCurrency().isCurrencySymbolAtTheRight() + "' as currencySymbolAtTheRight, " in here it is generating the string. ob-i18n.js OB.I18N.formatCurrencyWithSymbol = function (number, symbol, currencySymbolToTheRight) { if (currencySymbolToTheRight) { return OB.I18N.formatCurrency(number) + symbol; } else { return symbol + OB.I18N.formatCurrency(number); } }; Then values like 'false' are going to the first return |
||
Revision | 2017-10-27 07:30 by guillermogil | ||
Description | OB.MobileApp.model.get('terminal').currencySymbolAtTheRight is not returning boolean values. That is generating error while trying to use OB.I18N.formatCurrencyWithSymbol function. the definition is the following: OB.I18N.formatCurrencyWithSymbol = function (number, symbol, currencySymbolToTheRight) { if (currencySymbolToTheRight) { return OB.I18N.formatCurrency(number) + symbol; } else { return symbol + OB.I18N.formatCurrency(number); } }; Then values like 'false' are going to the first return |
Copyright © 2000 - 2009 MantisBT Group |