Openbravo Issue Tracking System - POS2
View Issue Details
0052087POS2POSpublic2023-03-16 17:472023-04-25 14:12
javierRodriguez 
Retail 
normalminoralways
closedfixed 
5
 
23Q223Q2 
No
0052087: 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-11 09:08guilleaerTarget Version23Q1.2 => 23Q2
2023-04-23 12:04hgbotNote Added: 0148753
2023-04-25 14:12hgbotResolutionopen => fixed
2023-04-25 14:12hgbotStatusscheduled => closed
2023-04-25 14:12hgbotNote Added: 0148862
2023-04-25 14:12hgbotFixed in Version => 23Q2
2023-04-25 14:12hgbotNote Added: 0148863

Notes
(0148753)
hgbot   
2023-04-23 12:04   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1716 [^]
(0148862)
hgbot   
2023-04-25 14:12   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1716 [^]
(0148863)
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: c63bf32aeec7d5061bb09b8ee16e9e0681c89f33
Author: Javier Rodríguez Regueiro <javier.rodriguez@openbravo.com>
Date: 25-04-2023 12:12:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c63bf32aeec7d5061bb09b8ee16e9e0681c89f33 [^]

Fixed ISSUE-52087: 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
---