Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0037171 | Retail Modules | Web POS | public | 2017-10-27 07:30 | 2017-11-03 08:40 |
Reporter | guillermogil | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR18Q1 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0037171: OB.MobileApp.model.get('terminal').currencySymbolAtTheRight is not returning boolean | ||||
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 | ||||
Steps To Reproduce | Login on WebPOS Open developer tools Execute the following: OB.MobileApp.model.get('terminal').currencySymbolAtTheRight You will see that it returns a 'true' or a 'false' | ||||
Proposed Solution | Modify Terminal.java to ensure it is a boolean. See patch attached | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | pricelist.diff (2,950) 2017-10-27 09:11 https://issues.openbravo.com/file_download.php?file_id=11241&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-10-27 07:30 | guillermogil | New Issue | |||
2017-10-27 07:30 | guillermogil | Assigned To | => Retail | ||
2017-10-27 07:30 | guillermogil | Resolution time | => 1510873200 | ||
2017-10-27 07:30 | guillermogil | Triggers an Emergency Pack | => No | ||
2017-10-27 07:32 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=16190#r16190 | ||
2017-10-27 07:34 | guillermogil | Proposed Solution updated | |||
2017-10-27 09:11 | marvintm | File Added: pricelist.diff | |||
2017-10-27 09:25 | guillermogil | Proposed Solution updated | |||
2017-10-31 06:13 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2017-10-31 06:14 | ranjith_qualiantech_com | Status | new => scheduled | ||
2017-11-01 06:32 | hgbot | Checkin | |||
2017-11-01 06:32 | hgbot | Note Added: 0100205 | |||
2017-11-01 06:32 | hgbot | Status | scheduled => resolved | ||
2017-11-01 06:32 | hgbot | Resolution | open => fixed | ||
2017-11-01 06:32 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4348fba3d2572cbd47bf4276548ef3ebeab60911 [^] | ||
2017-11-03 08:40 | marvintm | Review Assigned To | => marvintm | ||
2017-11-03 08:40 | marvintm | Status | resolved => closed | ||
2017-11-03 08:40 | marvintm | Fixed in Version | => RR18Q1 |
Notes | |||||
|
|||||
|
|