Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053731Retail ModulesGift cards and gift voucherspublic2023-10-20 03:522023-10-20 07:42
dcontrera 
dcontrera 
normalmajorhave not tried
closedfixed 
5
 
 
approved
No
No
0053731: Error obtaining expiration date value for gift cards and credit notes.
When printing a gift card or season ticket if any of these parameters "giftcardexpirationdate" "giftcardobgcneExpirationdate" are undefined, the expiration date value is printed blank and this is not correct because both fields must be undefined for this to happen.
- Complete sale of a gift card on any store and print it.

The date and time on gift card ticket is not correctly displayed on mailed and printed ticket.
No tags attached.
Issue History
2023-10-20 03:52dcontreraNew Issue
2023-10-20 03:52dcontreraAssigned To => dcontrera
2023-10-20 03:52dcontreraOBNetwork customer => No
2023-10-20 03:52dcontreraTriggers an Emergency Pack => No
2023-10-20 03:54hgbotMerge Request Status => open
2023-10-20 03:54hgbotNote Added: 0156101
2023-10-20 07:42hgbotMerge Request Statusopen => approved
2023-10-20 07:42hgbotNote Added: 0156104
2023-10-20 07:42hgbotResolutionopen => fixed
2023-10-20 07:42hgbotStatusnew => closed
2023-10-20 07:42hgbotNote Added: 0156105

Notes
(0156101)
hgbot   
2023-10-20 03:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/270 [^]
(0156104)
hgbot   
2023-10-20 07:42   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/270 [^]
(0156105)
hgbot   
2023-10-20 07:42   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 504ef4e52d47207634af1908aa63a5469db320ab
Author: dante.contrera <dante.contrera@smfconsulting.es>
Date: 19-10-2023 22:53:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/504ef4e52d47207634af1908aa63a5469db320ab [^]

Fixed ISSUE-53731: Fix the logic to get the expiration date value correctly.

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