Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046875
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2021-05-27 16:562021-06-03 08:31
Reportergorka_gilView Statuspublic 
Assigned Togorka_gil 
PriorityhighResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046875: Change not printed in the ticket

DescriptionWhen 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 ReproducePay 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 SolutionIn old pos, after addPayment it calls to calculateChange as part of updatePending.

Probably needed to move the calculateChange inside the addpPayment action
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0046926 closedjustin_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 0046876TAP closedgorka_gil POS2 Change not printed in the ticket 

-  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
Powered by Mantis Bugtracker