Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0047280 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2021-06-29 13:58 | 2021-08-11 11:29 | |||
Reporter | maite | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | 24615 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0047280: Change Payments info wrongly calculated | |||||||
Description | Payment related to a ticket of a total 0 is considered as "change payment". However, when a product of lower price is added and paid in SCO mode, the change payments section is still calculated with the original's product price (instead of the real change amount) | |||||||
Steps To Reproduce | 1. Add any product to the ticket, for example with price 8.95 2. Add payment in Cash 3. Delete line, so the ticket's total is 0 but the payment is still there in ChangePayments section (OB.MobileApp.model.receipt.attributes.changePayments) with amount of 8.95 4. Go to SCO mode 5. Add another product with price 0.16. Pay the ticket in SCO and finish. The ticket will be paid with the payment of 8.95 already existent. But check the JSON and realize that "changePayments" section is calculated as 8.95 (when it should be 8.79) However, if you repeat steps 4 and 5 in normal mode (not SCO mode) and checks the JSON you can see that "changePayments" section is correctly calculated as 8.79 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0131060) marvintm (viewer) 2021-08-11 11:29 |
The problem affects a custom module, the patch can be used to solve it. |
![]() |
|||
Date Modified | Username | Field | Change |
2021-06-29 13:58 | maite | New Issue | |
2021-06-29 13:58 | maite | Assigned To | => Retail |
2021-06-29 13:58 | maite | OBNetwork customer | => Gold |
2021-06-29 13:58 | maite | Support ticket | => 24615 |
2021-06-29 13:58 | maite | Resolution time | => 1626732000 |
2021-06-29 13:58 | maite | Triggers an Emergency Pack | => No |
2021-06-29 14:02 | maite | Relationship added | related to 0046862 |
2021-07-07 17:48 | rqueralta | Assigned To | Retail => rqueralta |
2021-07-07 17:48 | rqueralta | Status | new => scheduled |
2021-07-23 12:47 | adrianromero | Status | scheduled => resolved |
2021-07-23 12:47 | adrianromero | Resolution | open => fixed |
2021-07-23 17:12 | rqueralta | File Added: 0001-Fixed-BUG-47280-Recalculated-Change-Payments-info-wr.patch | |
2021-07-31 09:39 | rqueralta | File Deleted: 0001-Fixed-BUG-47280-Recalculated-Change-Payments-info-wr.patch | |
2021-07-31 09:39 | rqueralta | File Added: 0001-Fixed-BUG-47280-Recalculated-Change-Payments-info-wr.patch | |
2021-08-11 11:29 | marvintm | Review Assigned To | => marvintm |
2021-08-11 11:29 | marvintm | Note Added: 0131060 | |
2021-08-11 11:29 | marvintm | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |