Openbravo Issue Tracking System - POS2
View Issue Details
0057393POS2Fashionpublic2024-12-09 17:162025-01-08 06:30
philippe_mui 
ranjith_qualiantech_com 
lowminoralways
closedfixed 
5
 
 
approved
Gold
No
0057393: RM-19607 [SALES] Refund option is available for gift card and credit note
Refund option is available for gift card and credit note when scanning them with a scanner from main window in POS 24Q4

https://openbravo.atlassian.net/browse/RM-19607 [^]
In BO, in Role window, there is a User Action Access called Refund Gift Card that should allow to refund or not a gift card. In our case, this User Action Access is not created so it should not be allowed to make a refund of Gift Card/credit note.

1st case :
Finalize a gift card sale on POS
Scan the gift card with a scanner

2nd case
Finalize a verified return of a sale
Scan the credit note

Current result : A “REFUND” button is displayed for gift card and credit notes. When I click on it, an error message appears saying it is already expired even it is not.

Expected result : For gift cards and credit notes, the ‘REFUND' CTA should not be displayed, as they are not refundable since 'Refund Gift Card’ is not configured in Role window in the User Action Access
FASH
png Screenshot 2024-12-09 171132.png (105,078) 2024-12-09 17:16
https://issues.openbravo.com/file_download.php?file_id=20616&type=bug
png
Issue History
2024-12-09 17:16philippe_muiNew Issue
2024-12-09 17:16philippe_muiAssigned To => Retail
2024-12-09 17:16philippe_muiFile Added: Screenshot 2024-12-09 171132.png
2024-12-09 17:16philippe_muiOBNetwork customer => Gold
2024-12-09 17:16philippe_muiTriggers an Emergency Pack => No
2024-12-09 17:16philippe_muiTag Attached: FASH
2025-01-03 14:48philippe_muiSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28996#r28996
2025-01-03 15:16guilleaerAssigned ToRetail => guilleaer
2025-01-03 15:16guilleaerStatusnew => acknowledged
2025-01-04 08:07ranjith_qualiantech_comAssigned Toguilleaer => ranjith_qualiantech_com
2025-01-04 08:07ranjith_qualiantech_comStatusacknowledged => scheduled
2025-01-06 07:30hgbotMerge Request Status => open
2025-01-06 07:30hgbotNote Added: 0173853
2025-01-07 17:51hgbotMerge Request Statusopen => approved
2025-01-08 06:30hgbotResolutionopen => fixed
2025-01-08 06:30hgbotStatusscheduled => closed
2025-01-08 06:30hgbotNote Added: 0173881
2025-01-08 06:30hgbotNote Added: 0173882

Notes
(0173853)
hgbot   
2025-01-06 07:30   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/409 [^]
(0173881)
hgbot   
2025-01-08 06:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: b7b7ede1076715c1709b15192481e778367a92ac
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 08-01-2025 05:29:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/b7b7ede1076715c1709b15192481e778367a92ac [^]

Fixed ISSUE-57393: Refund gift card should be visible based on UserAction Access
* Based on UserAction Access "Refund Gift Card" configuration,
  "Refund" button should be displayed in GiftCard/CreditNote View popup

---
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardDialog/GiftCardDialogFormHandler.js
---
(0173882)
hgbot   
2025-01-08 06:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/409 [^]