Openbravo Issue Tracking System - POS2
View Issue Details
0055055POS2POSpublic2024-03-26 12:222024-04-16 09:05
NaroaIriarte 
SABARINATH P 
normalminoralways
closedfixed 
5
 
 
No
0055055: If a refund is made and an existing gift certificate is chosen as payment method, it spends it.
When a refund is made, it is possible to choose in which payment method the return is performed. If a a gift certificate is chosen as the payment method, it is spent instead of doing nothing, not permitting it, or adding the refund money to it. This should not happen.
- Log into the POS and create a new customer.
- With that customer selected, create a new gift certificate by clicking the 'Restaurant' button -> Gift Cards / Credit Notes / Gift Cartificates.
- Set an amount of 100 and create it.
- With the same customer, buy an avalanch transceiver and convert that line to a refund.
- You can see that the 'Amount to refund' is 150.50.
- As the desired payment method in which you want to refund made, select 'Gift Cards/Certificates'
- Choose the gift certificate created in previous steps.
- See that the 'Amount to refund' now is 50.50. This is wrong.
- Click on card payment method to get the rest of the refund and click on Done.
- If you now go to check the gift certificates of the customer, you will see that the gift card has been spent.

This behaviour should not happen because, you are spending money instead of having it refunded when using that gift certificate. Maybe avoid using this payment method, or sum it to the gift card but not substract it.
No tags attached.
Issue History
2024-03-26 12:22NaroaIriarteNew Issue
2024-03-26 12:22NaroaIriarteAssigned To => Retail
2024-03-26 12:22NaroaIriarteTriggers an Emergency Pack => No
2024-04-05 23:29guilleaerStatusnew => acknowledged
2024-04-05 23:29guilleaerNote Added: 0162898
2024-04-06 07:10SABARINATH PAssigned ToRetail => SABARINATH P
2024-04-06 07:46SABARINATH PStatusacknowledged => scheduled
2024-04-06 13:10hgbotNote Added: 0162901
2024-04-16 09:04hgbotResolutionopen => fixed
2024-04-16 09:04hgbotStatusscheduled => resolved
2024-04-16 09:04hgbotNote Added: 0163249
2024-04-16 09:05hgbotNote Added: 0163250
2024-04-16 09:05javierRodriguezStatusresolved => closed

Notes
(0162898)
guilleaer   
2024-04-05 23:29   
Added due date by retail team because we consider this issue important
(0162901)
hgbot   
2024-04-06 13:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/316 [^]
(0163249)
hgbot   
2024-04-16 09:04   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 115d5e50dc257e396e6c8cc99e5d0d4bb02d7ed9
Author: sabarinath palanisamy <sabarinath.palanisamy.ext@openbravo.com>
Date: 16-04-2024 07:04:57
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/115d5e50dc257e396e6c8cc99e5d0d4bb02d7ed9 [^]

Fixed ISSUE-55055: Add isReturn in gift card provider base on isNegative ticket attribute.

---
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
---
(0163250)
hgbot   
2024-04-16 09:05   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/316 [^]