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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055328
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajoralways2024-04-25 17:462024-08-09 12:57
Reporterasier_perezView Statuspublic 
Assigned ToSABARINATH P 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0055328: [24Q2] Amount is subtracted from gift card or gift certificate balance when refunding orders, instead of being added

DescriptionWhen refunding an order while using a Gift Card or Gift Certificate as a payment method, instead of adding the amount of the refund to the gift card's balance, it is subtracted, as it were a payment.
Steps To Reproduce1) Log into POS2
2) Search for a Gift Card product and click it
3) Type GC/01 in the identifier field
4) Type 50 in the initial balance field
5) Click Finish
6) In the order area, click Pay
7) Select Cash payment method
8) Click Done
9) Back in the key map, select Headlamp Ultralight to add it tho a new order (price 18.9 €)
10) Click on the three-dots button in the order
11) Select Convert to return
12) Click Refund
13) Select Gift Card payment method
14) In the Card ID field, type GC/01
15) Click Search
16) Select the gift card you created that will appear as a result
17) Click Done
18) At the menu bar at the left side, hover over Restaurant and select Gift Cards / Credit Notes / Gift Certificates
19) In the card ID field, type GC/01
20) Click search
21) Click on the eye icon of the gift card that will appear as a result
22) See the Current balance => It should be 50 € + 18.9 € = 68.9 €, but instead it is 50 € - 18.9 € = 31.1 €
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0055055 closedSABARINATH P If a refund is made and an existing gift certificate is chosen as payment method, it spends it. 
has duplicate defect 0055342 closedRetail [24Q2] Refunding a purchase using a gift card substracts the price instead of adding it 

-  Notes
(0164945)
guilleaer (manager)
2024-05-22 10:50

Marked as OBPS with due date 14 jun because they are major/critical issues reported by QA tagged for 24Q2.
(0164951)
hgbot (developer)
2024-05-22 11:47

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/338 [^]
(0167912)
hgbot (developer)
2024-08-09 12:57

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 5b02dac1d71d83d8179626b9b635237a7c1c5055
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 09-08-2024 10:57:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/5b02dac1d71d83d8179626b9b635237a7c1c5055 [^]

Fixed ISSUE-55328: Added giftcard amount when refund was done using giftcard.

---
M web-jspack/org.openbravo.retail.giftcards/src/components/PaymentIntegration/GCNVPaymentProvider.js
M web-jspack/org.openbravo.retail.giftcards/src/components/PaymentIntegration/__test__/GCNVPaymentProvider.test.js
---
(0167913)
hgbot (developer)
2024-08-09 12:57

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/338 [^]

- Issue History
Date Modified Username Field Change
2024-04-25 17:46 asier_perez New Issue
2024-04-25 17:46 asier_perez Assigned To => Retail
2024-04-25 17:46 asier_perez Triggers an Emergency Pack => No
2024-04-30 10:57 asier_perez Relationship added has duplicate 0055342
2024-04-30 10:58 asier_perez Summary [24Q2] Amount is subtracted, instead of added, from gift card balance when refunding orders => [24Q2] Amount is subtracted from gift card or gift certificate balance when refunding orders, instead of added
2024-04-30 10:58 asier_perez Description Updated View Revisions
2024-05-02 14:06 Daria_Sh Description Updated View Revisions
2024-05-02 14:06 Daria_Sh Description Updated View Revisions
2024-05-02 14:07 Daria_Sh Description Updated View Revisions
2024-05-02 14:12 asier_perez Summary [24Q2] Amount is subtracted from gift card or gift certificate balance when refunding orders, instead of added => [24Q2] Amount is subtracted from gift card or gift certificate balance when refunding orders, instead of being added
2024-05-06 16:56 lorenzofidalgo Target Version => 24Q2
2024-05-06 17:10 asier_perez Severity minor => major
2024-05-22 10:45 guilleaer Status new => acknowledged
2024-05-22 10:50 guilleaer Note Added: 0164945
2024-05-22 10:53 SABARINATH P Assigned To Retail => SABARINATH P
2024-05-22 10:55 SABARINATH P Status acknowledged => scheduled
2024-05-22 11:47 hgbot Note Added: 0164951
2024-05-29 13:27 marvintm Target Version 24Q2 =>
2024-08-09 12:56 marvintm Type defect => backport
2024-08-09 12:57 marvintm Relationship added related to 0055055
2024-08-09 12:57 hgbot Resolution open => fixed
2024-08-09 12:57 hgbot Status scheduled => closed
2024-08-09 12:57 hgbot Note Added: 0167912
2024-08-09 12:57 hgbot Note Added: 0167913


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker