Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0025844 | Retail Modules | Return Receipt | public | 2014-02-26 11:53 | 2014-03-28 12:36 |
Reporter | rafademiguel | ||||
Assigned To | gorkaion | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR14Q2 | |||
Merge Request Status | |||||
Review Assigned To | migueldejuana | ||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0025844: Check "Has enough change" fails when required cash is more than 999 | ||||
Description | There is one check: hasEnoughChange = OB.DEC.compare(OB.DEC.sub(currentCash, requiredcash)) >= 0; So for example when you have; currentCash: 3141.64 requiredcash: "2,128.10" You receive this error: Uncaught BigDecimal(): Not a number: 2,,,1,2,8,.,1,0 bigdecimal-1.0.1.min.js:14 Notice that requiredcash is a string with a coma instead of a number | ||||
Steps To Reproduce | Try to return an order with an amount more than 999. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-02-26 11:53 | rafademiguel | New Issue | |||
2014-02-26 11:53 | rafademiguel | Assigned To | => gorkaion | ||
2014-02-26 11:53 | rafademiguel | Triggers an Emergency Pack | => No | ||
2014-02-26 17:23 | hgbot | Checkin | |||
2014-02-26 17:23 | hgbot | Note Added: 0064630 | |||
2014-02-26 17:23 | hgbot | Status | new => resolved | ||
2014-02-26 17:23 | hgbot | Resolution | open => fixed | ||
2014-02-26 17:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e279939d5227e22afa790773e148a91a4496db39 [^] | ||
2014-02-26 17:26 | hgbot | Checkin | |||
2014-02-26 17:26 | hgbot | Note Added: 0064633 | |||
2014-02-26 17:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e279939d5227e22afa790773e148a91a4496db39 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/e279939d5227e22afa790773e148a91a4496db39 [^] | ||
2014-03-28 12:36 | migueldejuana | Review Assigned To | => migueldejuana | ||
2014-03-28 12:36 | migueldejuana | Note Added: 0065573 | |||
2014-03-28 12:36 | migueldejuana | Status | resolved => closed | ||
2014-03-28 12:36 | migueldejuana | Fixed in Version | => RR14Q2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|