Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0025844 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Return Receipt | major | always | 2014-02-26 11:53 | 2014-03-28 12:36 | |||
Reporter | rafademiguel | View Status | public | |||||
Assigned To | gorkaion | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR14Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e279939d5227 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | migueldejuana | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0064630) hgbot (developer) 2014-02-26 17:23 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: e279939d5227e22afa790773e148a91a4496db39 Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com> Date: Wed Feb 26 17:17:43 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e279939d5227e22afa790773e148a91a4496db39 [^] Fixed issue 25844.Use a proper numeric object on check cash. --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js --- |
(0064633) hgbot (developer) 2014-02-26 17:26 |
Repository: erp/pmods/org.openbravo.retail.posterminal.cirque Changeset: e279939d5227e22afa790773e148a91a4496db39 Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com> Date: Wed Feb 26 17:17:43 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/e279939d5227e22afa790773e148a91a4496db39 [^] Fixed issue 25844.Use a proper numeric object on check cash. --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js --- |
(0065573) migueldejuana (developer) 2014-03-28 12:36 |
Tested and reviewed in c32dc0bbefd6 |
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 |
Copyright © 2000 - 2009 MantisBT Group |