Openbravo Issue Tracking System - POS2
View Issue Details
0056095POS2POSpublic2024-07-23 11:262024-08-13 13:09
kchoperena 
Rajesh_18 
normalmajoralways
closedfixed 
5
 
 
No
0056095: giftCard alertStatus only available in usage
The giftcard alertStatus is a field that represents the status of the gift card. As this is useful information, some custom reports in customers want to put this info on it but it is only available when consuming the gift card

Is not available on the creation and print
GIFTCARD CREATION:

1.- Log into the POS2
2.- Create a gift card buying a product that is configured as a gift card product
3.- Complete the ticket and print it (put a breakpoint here to check the JSON-> async print(printTemplate, params)

RESULT: alertStatus not available

GIFTCARD PRINT:

1.- Log into the POS2
2.- Using the menu, search a gift card and try to print it (put a breakpoint here to check the JSON-> async print(printTemplate, params)

RESULT: alertStatus not available
No tags attached.
Issue History
2024-07-23 11:26kchoperenaNew Issue
2024-07-23 11:26kchoperenaAssigned To => Retail
2024-07-23 11:26kchoperenaTriggers an Emergency Pack => No
2024-08-01 11:39guilleaerStatusnew => acknowledged
2024-08-01 11:51Rajesh_18Assigned ToRetail => Rajesh_18
2024-08-01 11:51Rajesh_18Statusacknowledged => scheduled
2024-08-01 13:36hgbotNote Added: 0167604
2024-08-13 13:09hgbotNote Added: 0168034
2024-08-13 13:09hgbotResolutionopen => fixed
2024-08-13 13:09hgbotStatusscheduled => closed
2024-08-13 13:09hgbotNote Added: 0168035

Notes
(0167604)
hgbot   
2024-08-01 13:36   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/361 [^]
(0168034)
hgbot   
2024-08-13 13:09   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/361 [^]
(0168035)
hgbot   
2024-08-13 13:09   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 0ca57b4213f83a4c5249d311896c775b195c89b7
Author: Rajesh Senthilkumar <rajesh.senthilkumar.ext@openbravo.com>
Date: 13-08-2024 11:09:10
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/0ca57b4213f83a4c5249d311896c775b195c89b7 [^]

Fixed ISSUE-56095: Add alertStatus to gift card data on create

---
M web-jspack/org.openbravo.retail.giftcards/src/model/giftcard/actions/SendPrintGiftCardMessageActionPreparation.js
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/actions/CompleteTicketPostHooks.js
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/actions/__test__/CompleteTicketPostHooks.test.js
---