Openbravo Issue Tracking System - POS2
View Issue Details
0052088POS2POSpublic2023-03-16 17:472023-04-25 14:12
javierRodriguez 
Retail 
normalminoralways
closedfixed 
5
 
23Q1.223Q1.2 
No
0052088: When Cancel & replace is done for an amount is less than the total paid amount, the refund payment should show a negative value
When Cancel & replace is done for an amount is less than the total paid amount, the refund payment should show a negative value
- Create a ticket with delivery modes configured (pay 50% to complete)
- Add 3 times the same product
- Add a Business partner and set the ticket as pick up in the store delivery property
- pay the prepayment and sync the ticket
- Do a cancel and replace with the previous ticket.
- Remove 2 products
- Try to pay it
- Add the refund payment
- KO. the showed payment amount is positive
Create a brand new component which show the corresponding sign in payment panel.
No tags attached.
blocks defect 0051896 closed Retail When Cancel & replace is done for an amount is less than the total paid amount, the refund payment should show a negative value 
Issue History
2023-04-23 12:02hgbotNote Added: 0148752
2023-04-25 14:12hgbotResolutionopen => fixed
2023-04-25 14:12hgbotStatusscheduled => closed
2023-04-25 14:12hgbotFixed in Version => 23Q1.2
2023-04-25 14:12hgbotNote Added: 0148864
2023-04-25 14:12hgbotNote Added: 0148865

Notes
(0148752)
hgbot   
2023-04-23 12:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1715 [^]
(0148864)
hgbot   
2023-04-25 14:12   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 7f86f85dde97cdcb8c5f8bc074ba1e7bc0ff3355
Author: Javier Rodríguez Regueiro <javier.rodriguez@openbravo.com>
Date: 25-04-2023 12:12:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/7f86f85dde97cdcb8c5f8bc074ba1e7bc0ff3355 [^]

Fixed ISSUE-52088: Show negative amount if it is a return payment

---
A web-jspack/org.openbravo.pos2/src/components/Payments/PaymentList/PaymentAmount.jsx
A web-jspack/org.openbravo.pos2/src/components/Payments/PaymentList/PaymentAmount.scss
A web-jspack/org.openbravo.pos2/src/components/Payments/PaymentList/__test__/PaymentAmount.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentList/PaymentList.scss
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentList/PaymentsGrid.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentList/SubtotalsGrid.jsx
---
(0148865)
hgbot   
2023-04-25 14:12   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1715 [^]