Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0046875 | POS2 | POS | public | 2021-05-27 16:56 | 2021-06-03 08:31 |
|
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 | | Fixed in Version | pi | |
Merge Request Status | approved |
Review Assigned To | marvintm |
OBNetwork customer | OBPS |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0046875: 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 | related to | defect | 0046926 | | closed | justin_patterson | Retail Modules | JIRA 1123: The feature introduced behind preference "WebPOS Split Change in Different Payment Details" is not managed with state | depends on | backport | 0046876 | TAP | closed | gorka_gil | POS2 | Change not printed in the ticket |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-05-27 16:56 | gorka_gil | New Issue | |
2021-05-27 16:56 | gorka_gil | Assigned To | => Retail |
2021-05-27 16:56 | gorka_gil | OBNetwork customer | => No |
2021-05-27 16:56 | gorka_gil | Triggers an Emergency Pack | => No |
2021-05-27 16:56 | gorka_gil | Status | new => acknowledged |
2021-05-27 16:57 | gorka_gil | Assigned To | Retail => gorka_gil |
2021-05-27 16:59 | gorka_gil | Resolution time | => 1620684000 |
2021-05-27 17:00 | gorka_gil | Status | acknowledged => scheduled |
2021-05-27 17:01 | guilleaer | Resolution time | 1620684000 => 1623362400 |
2021-05-27 17:18 | gorka_gil | OBNetwork customer | No => OBPS |
2021-05-31 15:17 | hgbot | Merge Request Status | => open |
2021-05-31 15:17 | hgbot | Note Added: 0128817 | |
2021-06-01 12:37 | gorka_gil | Relationship added | related to 0046926 |
2021-06-03 08:30 | hgbot | Merge Request Status | open => approved |
2021-06-03 08:31 | hgbot | Note Added: 0128983 | |
2021-06-03 08:31 | hgbot | Note Added: 0128984 | |
2021-06-03 08:31 | marvintm | Status | scheduled => resolved |
2021-06-03 08:31 | marvintm | Fixed in Version | => pi |
2021-06-03 08:31 | marvintm | Resolution | open => fixed |
2021-06-03 08:31 | marvintm | Review Assigned To | => marvintm |
2021-06-03 08:31 | marvintm | Status | resolved => closed |