Openbravo Issue Tracking System - POS2
View Issue Details
0051896POS2POSpublic2023-03-16 17:472023-04-25 14:11
javierRodriguez 
Retail 
normalminoralways
closedfixed 
5
 
23Q3 
No
0051896: 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.
depends on backport 005208723Q2 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 
depends on backport 005208823Q1.2 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-03-17 09:53javierRodriguezTypedefect => backport
2023-03-17 09:53javierRodriguezTarget Version => 23Q1.1
2023-03-28 12:41guillermogilTarget Version23Q1.1 => 23Q1.2
2023-04-05 13:48javierRodriguezSummaryIt is not possible to to cancel and replace and order with a paid prepayment greater than the new total amount => When Cancel & replace is done for an amount is less than the total paid amount, the refund payment should show a negative value
2023-04-05 13:48javierRodriguezDescription Updatedbug_revision_view_page.php?rev_id=25839#r25839
2023-04-05 13:48javierRodriguezSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25841#r25841
2023-04-05 13:48javierRodriguezProposed Solution updated
2023-04-11 09:08guilleaerStatusscheduled => acknowledged
2023-04-11 09:08guilleaerStatusacknowledged => scheduled
2023-04-11 09:08guilleaerTypebackport => defect
2023-04-11 09:08guilleaerTarget Version23Q1.2 =>
2023-04-18 19:48hgbotNote Added: 0148568
2023-04-25 14:11hgbotResolutionopen => fixed
2023-04-25 14:11hgbotStatusscheduled => closed
2023-04-25 14:11hgbotFixed in Version => 23Q3
2023-04-25 14:11hgbotNote Added: 0148860
2023-04-25 14:11hgbotNote Added: 0148861

Notes
(0148568)
hgbot   
2023-04-18 19:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1699 [^]
(0148860)
hgbot   
2023-04-25 14:11   
Directly closing issue as related merge request is already approved.

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

Fixed ISSUE-51896: 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
---
(0148861)
hgbot   
2023-04-25 14:11   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1699 [^]