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

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

0046876: 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 ]
blocks defect 0046875 closedgorka_gil Change not printed in the ticket 

-  Notes
(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 [^]

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker