Openbravo Issue Tracking System - POS2 | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0046876 | POS2 | POS | public | 2021-05-27 16:56 | 2021-06-03 13:43 | |||||||
Reporter | gorka_gil | |||||||||||
Assigned To | gorka_gil | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | TAP | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0046876: Change not printed in the ticket | |||||||||||
Description | When pay more than needed, the change appear in the pos but not in the ticket. To print the ticket it is called the utility function getChangeLabelFromTicket, that uses the getState().ticket.changePayments. But looks like in pos2 is missing the changePayments. | |||||||||||
Steps To Reproduce | Pay an order with cash, with more amount that needed, for example pay with 100€ a ticket of 50€. The change appear in the pos, but the printed ticket doesn't appear the change. | |||||||||||
Proposed Solution | In old pos, after addPayment it calls to calculateChange as part of updatePending. Probably needed to move the calculateChange inside the addpPayment action | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2021-05-27 17:00 | gorka_gil | Type | defect => backport | |||||||||
2021-05-27 17:00 | gorka_gil | Target Version | => TAP | |||||||||
2021-05-27 17:01 | guilleaer | Resolution time | 1620684000 => 1623362400 | |||||||||
2021-06-03 13:42 | gorka_gil | Note Added: 0129017 | ||||||||||
2021-06-03 13:43 | gorka_gil | Status | scheduled => resolved | |||||||||
2021-06-03 13:43 | gorka_gil | Resolution | open => fixed | |||||||||
2021-06-03 13:43 | gorka_gil | Status | resolved => closed |
Notes | |||||
|
|||||
|
|