Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0036625 | Retail Modules | Web POS | public | 2017-08-08 11:46 | 2017-09-12 11:35 |
Reporter | maite | ||||
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 | RR17Q4 | |||
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 | 0036625: amountToKeep calculated to more than 2 decimals under some circumstances (due to javascript calculations) | ||||
Description | depending on the amounts, javascript is calculating "amountToKeep":"586.8199999999999" which is causing CashUp not imported | ||||
Steps To Reproduce | 1. Access to the terminal and ensure that starting amount is 0.00 (in case it is needed do an initial cash up) 2. Create new ticket adding any product and setting price=389.82. Pay it using CASH 3. Create new ticket adding any product and setting price=25. Set option "layaway this receipt" and LAYAWAY it using CASH 4. Create new ticket adding any product and setting price=17. Set option "layaway this receipt" and LAYAWAY it using CASH 5. Create new ticket adding any product and setting price=25. Set option "layaway this receipt" and LAYAWAY it using CASH 6. Create new ticket adding any product and setting price=50. Set option "layaway this receipt" and LAYAWAY it using CASH 7. Run CashUp process selecting option "Total Amount=389.82" to KEEP for CASH 8. Create new ticket and pay 4 previous layaways using CASH 9. Create new ticket adding any product and setting price=52. Pay it using CASH 10.Create new ticket adding any product and setting price=28. Pay it using CASH 11. Run CashUp process selecting option "Total Amount=586.82" to KEEP for CASH Access to backoffice to "Errors while importing POS data" and realize that this last cashup is there. If you review the JSON you can see that "amountToKeep" has been calculated to "586.8199999999999" | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | issue 36625 test 6721.patch (8,626) 2017-08-16 10:22 https://issues.openbravo.com/file_download.php?file_id=10979&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-08-08 11:46 | maite | New Issue | |||
2017-08-08 11:46 | maite | Assigned To | => Retail | ||
2017-08-08 11:46 | maite | Resolution time | => 1503957600 | ||
2017-08-08 11:46 | maite | Triggers an Emergency Pack | => No | ||
2017-08-08 11:46 | maite | Issue Monitored: networkb | |||
2017-08-08 11:52 | Practics | Issue Monitored: Practics | |||
2017-08-16 09:37 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2017-08-16 09:37 | ranjith_qualiantech_com | Status | new => scheduled | ||
2017-08-16 10:22 | ranjith_qualiantech_com | File Added: issue 36625 test 6721.patch | |||
2017-09-06 14:45 | hgbot | Checkin | |||
2017-09-06 14:45 | hgbot | Note Added: 0098863 | |||
2017-09-06 14:45 | hgbot | Status | scheduled => resolved | ||
2017-09-06 14:45 | hgbot | Resolution | open => fixed | ||
2017-09-06 14:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3d8591f9140f7393dc9daa84fbb34f27e85b06af [^] | ||
2017-09-06 14:45 | hgbot | Checkin | |||
2017-09-06 14:45 | hgbot | Note Added: 0098864 | |||
2017-09-07 07:38 | hgbot | Checkin | |||
2017-09-07 07:38 | hgbot | Note Added: 0098877 | |||
2017-09-07 07:38 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3d8591f9140f7393dc9daa84fbb34f27e85b06af [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a4bdb68cf987df6e25d47baf1cce7ad0c4102d2d [^] | ||
2017-09-08 15:11 | marvintm | Review Assigned To | => marvintm | ||
2017-09-08 15:11 | marvintm | Status | resolved => closed | ||
2017-09-08 15:11 | marvintm | Fixed in Version | => RR17Q4 | ||
2017-09-12 11:34 | ranjith_qualiantech_com | Note Edited: 0098877 | bug_revision_view_page.php?bugnote_id=0098877#r15869 | ||
2017-09-12 11:35 | ranjith_qualiantech_com | Note Added: 0098980 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|