Openbravo Issue Tracking System - POS2
View Issue Details
0056765POS2POSpublic2024-10-14 10:382024-11-06 07:54
asier_perez 
Rajesh_18 
normalmajoralways
closedfixed 
5
pi 
25Q1 
guilleaer
QA functional test
2024-09-06
pi
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/ddc98f120e985f71306eb39fa5053f467ee8112e#66c9bed9c67f36a91669040765f05251d78e2f68 [^]
No
0056765: [24Q4] Closed gift cards still appear in POS and can be selected to pay a ticket
When a gift card is completely consumed, its state changes to 'closed', but now in POS they still appear, with a balance of 0, when searching for gift cards to pay a ticket. If a gift card is closed, it should not appear there anymore.

This does not happen in 24Q3 or previous releases.
1) Log in POS
2) Search for Gift Card 50€ product and select it
3) Type GC/001 in the identifier field and save
4) Complete the payment with Cash
5) Add Avalanche Transceiver to the ticket
6) Click Pay
7) Select Gift Cards/Certificates as payment method
8) Search for GC/001 and select
9) Click Done to complete the payment
10) Now that the gift card is consumed and closed, repeat steps 5-8 => The closed gift card still appears and can be selected
No tags attached.
depends on backport 005677524Q4 closed Rajesh_18 [24Q4] Closed gift cards still appear in POS and can be selected to pay a ticket 
has duplicate defect 0056939 closed Bimla_vm POS - Gift card totally used and close still to be display and usable on POS 
png gc0amount.png (30,522) 2024-10-14 10:38
https://issues.openbravo.com/file_download.php?file_id=20290&type=bug
png

png gc0amount2.png (156,287) 2024-10-14 10:39
https://issues.openbravo.com/file_download.php?file_id=20291&type=bug
png
Issue History
2024-10-14 10:38asier_perezNew Issue
2024-10-14 10:38asier_perezAssigned To => Retail
2024-10-14 10:38asier_perezFile Added: gc0amount.png
2024-10-14 10:38asier_perezRegression level => QA functional test
2024-10-14 10:38asier_perezRegression introduced in release => pi
2024-10-14 10:38asier_perezTriggers an Emergency Pack => No
2024-10-14 10:39asier_perezFile Added: gc0amount2.png
2024-10-14 10:45guilleaerStatusnew => acknowledged
2024-10-14 11:01Rajesh_18Assigned ToRetail => Rajesh_18
2024-10-14 11:01Rajesh_18Statusacknowledged => scheduled
2024-10-14 14:27hgbotNote Added: 0170361
2024-10-14 14:29Rajesh_18Regression date => 2024-09-06
2024-10-14 14:29Rajesh_18Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/ddc98f120e985f71306eb39fa5053f467ee8112e#66c9bed9c67f36a91669040765f05251d78e2f68 [^]
2024-10-14 14:34Rajesh_18Relationship addedhas duplicate 0056690
2024-10-14 15:45guilleaerStatusscheduled => acknowledged
2024-10-14 15:45guilleaerStatusacknowledged => scheduled
2024-10-14 15:55Rajesh_18Relationship deletedhas duplicate 0056690
2024-11-05 15:52hgbotNote Added: 0171439
2024-11-05 15:52hgbotResolutionopen => fixed
2024-11-05 15:52hgbotStatusscheduled => resolved
2024-11-05 15:52hgbotNote Added: 0171440
2024-11-06 07:54marvintmReview Assigned To => guilleaer
2024-11-06 07:54marvintmStatusresolved => closed
2024-11-06 07:54marvintmFixed in Version => 25Q1
2024-12-30 12:06guilleaerRelationship addedhas duplicate 0056939

Notes
(0170361)
hgbot   
2024-10-14 14:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/387 [^]
(0171439)
hgbot   
2024-11-05 15:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/387 [^]
(0171440)
hgbot   
2024-11-05 15:52   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 2e3dea20299a05fbf297759a899aa306a3163911
Author: Rajesh Senthilkumar <r.senthilkumar@external.orisha.com>
Date: 05-11-2024 14:52:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/2e3dea20299a05fbf297759a899aa306a3163911 [^]

Fixed ISSUE-56765: Do not show closed gift cards during payment flow

---
M web-jspack/org.openbravo.retail.giftcards/src/model/giftcard/GiftCardUtils.js
M web-jspack/org.openbravo.retail.giftcards/src/model/giftcard/__test__/GiftCardUtils.test.js
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/TicketExtension.js
M web-jspack/org.openbravo.retail.giftcards/src/services/scan/handlers/GiftCardScanEventHandler.js
---