Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042826Retail ModulesGift cards and gift voucherspublic2020-01-13 16:232020-01-31 12:07
inaki_garcia 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
5
main 
RR20Q2 
guilleaer
No
No
0042826: [20Q1] [UX] Gift Card expiry date isn't correctly shown when not set, in its popup to assign to receipt
Due to the change in the selector for adding a Gift Card to the receipt introduced in 19Q3 (check [1]), the list items now show expiry date and quantity, amongst
others. The expiry date appears not to be shown properly on the items when not set, as the dates will always show as '01-01-1970'. This behaviour has been observed in
20Q1 and 19Q4, but without having tested it in 19Q3, it is uncertain whether there has been a regression in the functionality or not.


[1] http://wiki.openbravo.com/wiki/Retail:Web_POS_User_Guide#Customer_View_Improvements [^]
PRECONDITION: the "Gift Cards and Vouchers" module must be installed, and a Gift Card configured with no expiry date in the backend

0. Log in the POS as user "vallblanca"
1. Search the Gift Card created in the template and add it to the ticket
2. Pay it
3. Add some other items to the ticket, and click on the 'total' button
4. Select the "Gift Card" payment method, and click on "Pay Total". A popup titled "Gift Card:<ticket amount>" will appear
NOTICE that the expiry date appears as '01-01-1970'
Hide the date or show an alternate message.
No tags attached.
related to defect 0042720 closed ranjith_qualiantech_com [20Q1] [UX] First access to "Customer's Gift Cards" shows an asterisk in the Filter text 
related to defect 0042885 closed ranjith_qualiantech_com [20Q1] [NewSkin] [UX] "Initial balance" and "Current balance" fields of Advanced Filters pop up have multiple issues 
related to defect 0042904 closed ranjith_qualiantech_com [20Q1] [UX] The "Card Id" field's label of the Gift Card selection popup isn't left aligned 
jpg tempFileForShare_20200110-105534.jpg (703,673) 2020-01-13 16:23
https://issues.openbravo.com/file_download.php?file_id=13808&type=bug
Issue History
2020-01-13 16:23inaki_garciaNew Issue
2020-01-13 16:23inaki_garciaAssigned To => Retail
2020-01-13 16:23inaki_garciaFile Added: tempFileForShare_20200110-105534.jpg
2020-01-13 16:23inaki_garciaOBNetwork customer => No
2020-01-13 16:23inaki_garciaTriggers an Emergency Pack => No
2020-01-13 16:24inaki_garciaSummary[20Q1] [UX] Gift Card expiry date isn't correctly shown when not set in its popup to assign to receipt => [20Q1] [UX] Gift Card expiry date isn't correctly shown when not set, in its popup to assign to receipt
2020-01-13 16:24inaki_garciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=20089#r20089
2020-01-15 14:05inaki_garciaRelationship addedrelated to 0042720
2020-01-15 14:06inaki_garciaRelationship deletedrelated to 0042720
2020-01-15 14:06inaki_garciaRelationship addedrelated to 0042720
2020-01-15 14:08inaki_garciaRelationship addedrelated to 0042885
2020-01-16 12:16inaki_garciaIssue cloned0042904
2020-01-16 12:16inaki_garciaRelationship addedrelated to 0042904
2020-01-17 08:34ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-01-20 14:40hgbotCheckin
2020-01-20 14:40hgbotNote Added: 0117076
2020-01-21 06:48ranjith_qualiantech_comStatusnew => scheduled
2020-01-21 06:48ranjith_qualiantech_comStatusscheduled => resolved
2020-01-21 06:48ranjith_qualiantech_comResolutionopen => fixed
2020-01-29 14:17hgbotCheckin
2020-01-29 14:17hgbotNote Added: 0117322
2020-01-30 06:33ranjith_qualiantech_comNote Deleted: 0117322
2020-01-31 12:07guilleaerReview Assigned To => guilleaer
2020-01-31 12:07guilleaerStatusresolved => closed
2020-01-31 12:07guilleaerFixed in Version => RR20Q2

Notes
(0117076)
hgbot   
2020-01-20 14:40   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 1dced7ad8d94de2fa66ab217efedd7f25b16f76c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jan 20 19:10:00 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/1dced7ad8d94de2fa66ab217efedd7f25b16f76c [^]

Related to issue 42826 : Expiration Date should be validated when listing gift cards

---
M web/org.openbravo.retail.giftcards/js/components/GiftCardDialog.js
---