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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047724
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[POS2] POSmajoralways2021-09-21 08:332024-01-02 15:08
ReporterAtulOpenbravoView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionunable to reproduceFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelPre packaging ( pi )
Regression date2021-09-03
Regression introduced in releasepi
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/31ed4a022dee3010eb690e25b9c66d929c5fd634 [^]
Triggers an Emergency PackNo
Summary

0047724: Cash Payments are not created in BackOffice for Return Tickets

DescriptionCash Payments are not created in BackOffice for Return Tickets
Steps To Reproduce- Login into POS2
- Create a ticket with few products.
- Set ticket as Return Order
- Pay the ticket using Cash payment method
- Complete the ticket.
- Login into BackOffice
- Navigate to Return From Customer and check the recent return order created.
- Check Payment Details Tab in Payment Plan
- Realize that there is no record in Payment Details.
Proposed SolutionInstead of calculating totalPaid as

const totalPaid = ticket.payments.reduce((total, payment) => {
  return OB.DEC.add(total, OB.DEC.mul(payment.amount, payment.rate));
}, 0);

use as below:-

const totalPaid = ticket.paymentWithSign;
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0158772)
Daria_Sh (developer)
2024-01-02 15:08

The issue is not reproducible in livebuilds

- Issue History
Date Modified Username Field Change
2021-09-21 08:33 AtulOpenbravo New Issue
2021-09-21 08:33 AtulOpenbravo Assigned To => Retail
2021-09-21 08:33 AtulOpenbravo Triggers an Emergency Pack => No
2021-09-21 08:36 AtulOpenbravo Regression level => Pre packaging ( pi )
2021-09-21 08:36 AtulOpenbravo Regression date => 2021-09-03
2021-09-21 08:36 AtulOpenbravo Regression introduced in release => pi
2021-09-21 08:36 AtulOpenbravo Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/31ed4a022dee3010eb690e25b9c66d929c5fd634 [^]
2021-09-21 08:36 AtulOpenbravo Status new => scheduled
2021-09-21 20:39 AtulOpenbravo Proposed Solution updated
2024-01-02 15:08 Daria_Sh Note Added: 0158772
2024-01-02 15:08 Daria_Sh Status scheduled => closed
2024-01-02 15:08 Daria_Sh Resolution open => unable to reproduce


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker