Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046876 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [POS2] POS | major | always | 2021-05-27 16:56 | 2021-06-03 13:43 | |||
Reporter | gorka_gil | View Status | public | |||||
Assigned To | gorka_gil | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | TAP | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0129017) gorka_gil (administrator) 2021-06-03 13:42 |
Fixed on this MR: https://gitlab.com/obcustomers/AGAP/org.openbravo.retail.posterminal/-/merge_requests/4 [^] |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |