Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046875 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | always | 2021-05-27 16:56 | 2021-06-03 08:31 | |||
Reporter | gorka_gil | View Status | public | |||||
Assigned To | gorka_gil | |||||||
Priority | high | Resolution | fixed | Fixed in Version | pi | |||
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 | |||||||
Review Assigned To | marvintm | |||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||
|
Notes | |
(0128817) hgbot (developer) 2021-05-31 15:17 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/441 [^] |
(0128983) hgbot (developer) 2021-06-03 08:31 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 374dd0aec45b573bdb4481a60213aba701c64ad7 Author: Gorka Gil <gorka.gil@openbravo.com> Date: 2021-06-03T06:30:49+00:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/374dd0aec45b573bdb4481a60213aba701c64ad7 [^] Fix ISSUE-46875: Fix change in the printed ticket This is temporary fix till multicurrency is implemented in pos2, this commit can be reverted, since should be checked the ticket.changePayments, instead the ticket.change --- M web/org.openbravo.retail.posterminal/app/external-device/printing/PrintUtils.js --- |
(0128984) hgbot (developer) 2021-06-03 08:31 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/441 [^] |
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 | 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-31 15:17 | hgbot | Note Added: 0128817 | |
2021-06-01 12:37 | gorka_gil | Relationship added | related to 0046926 |
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 |
Copyright © 2000 - 2009 MantisBT Group |