Openbravo Issue Tracking System - POS2
View Issue Details
0056167POS2POSpublic2024-08-02 13:402024-09-13 13:57
sofia_rodriguez 
ranjith_qualiantech_com 
highmajoralways
closedno change required 
5
 
 
No
0056167: Gift Certificate not being printed at its creation
When the user creates a new Gift Certificate from the POS, no ticket is printed. The user only gets an informative message about its creation.
1. Open POS
2. "Gift Cards / Credit Notes / Gift Certificates" button
3. Select "Create Gift Certificate" button on the pop up
4. Fill the information needed and click on "Create" button
5. The informative message appears but no ticket is being printed

https://drive.google.com/file/d/1X-jHFhtg4zZe84fg5aNZwrurOw1_iq4y/view?usp=sharing [^]
No tags attached.
has duplicate defect 0056265 closed sreehari Does not print when creating a Gift Card Certificate 
Issue History
2024-08-02 13:40sofia_rodriguezNew Issue
2024-08-02 13:40sofia_rodriguezAssigned To => Retail
2024-08-02 13:40sofia_rodriguezTriggers an Emergency Pack => No
2024-08-07 13:33marvintmStatusnew => acknowledged
2024-08-07 13:34ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2024-08-09 08:11ranjith_qualiantech_comStatusacknowledged => scheduled
2024-08-12 08:18hgbotNote Added: 0167943
2024-08-21 13:58sreehariRelationship addedhas duplicate 0056265
2024-08-30 07:59hgbotResolutionopen => fixed
2024-08-30 07:59hgbotStatusscheduled => closed
2024-08-30 07:59hgbotNote Added: 0168576
2024-08-30 07:59hgbotNote Added: 0168577
2024-09-05 10:57ranjith_qualiantech_comNote Added: 0168772
2024-09-05 10:57ranjith_qualiantech_comStatusclosed => new
2024-09-05 10:57ranjith_qualiantech_comResolutionfixed => open
2024-09-06 08:36ranjith_qualiantech_comStatusnew => scheduled
2024-09-06 08:38hgbotNote Added: 0168845
2024-09-06 11:34hgbotResolutionopen => fixed
2024-09-06 11:34hgbotStatusscheduled => closed
2024-09-06 11:34hgbotNote Added: 0168856
2024-09-06 11:34hgbotNote Added: 0168857
2024-09-12 11:22nicolasurizNote Added: 0169127
2024-09-12 11:22nicolasurizStatusclosed => new
2024-09-12 11:22nicolasurizResolutionfixed => open
2024-09-13 13:57ranjith_qualiantech_comNote Added: 0169205
2024-09-13 13:57ranjith_qualiantech_comStatusnew => closed
2024-09-13 13:57ranjith_qualiantech_comResolutionopen => no change required

Notes
(0167943)
hgbot   
2024-08-12 08:18   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/366 [^]
(0168576)
hgbot   
2024-08-30 07:59   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: ddc98f120e985f71306eb39fa5053f467ee8112e
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 28-08-2024 13:35:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/ddc98f120e985f71306eb39fa5053f467ee8112e [^]

Fixed ISSUE-56167: Gift Certificate should be printed when creating it
* After creating the Gift Certificate, it should be printed
* Deleted "CreateGiftCardCertificate" action since async/await was used
* Added getGiftCards util method to find the gift cards based on filters
* Gift certificate creation popup will not be closed if any errors occurs during creation

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.retail.giftcards/src/components/Customer/CustomerGiftCards/customerGiftCards.js
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardDialog/GiftCardDialog.jsx
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardDialog/GiftCardDialogFormHandler.js
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardDialog/GiftCardDialogResultForm.config.json
M web-jspack/org.openbravo.retail.giftcards/src/components/PaymentIntegration/__test__/CreditNotePaymentProvider.test.js
M web-jspack/org.openbravo.retail.giftcards/src/model/giftcard/GiftCardUtils.js
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/TicketExtension.js
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/user-actions/CreateGiftCardCertificate.js
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/user-actions/__test__/CreateGiftCardCertificate.test.js
M web-jspack/org.openbravo.retail.giftcards/src/ob-init.js
M web-jspack/org.openbravo.retail.giftcards/src/services/scan/handlers/GiftCardScanEventHandler.js
R web-jspack/org.openbravo.retail.giftcards/src/model/ticket/actions/CreateGiftCardCertificate.js
---
(0168577)
hgbot   
2024-08-30 07:59   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/366 [^]
(0168772)
ranjith_qualiantech_com   
2024-09-05 10:57   
Print button is disabled for Gift Cards(but it should not)
(0168845)
hgbot   
2024-09-06 08:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/371 [^]
(0168856)
hgbot   
2024-09-06 11:34   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 703e5837aec3498e8aa13054e6ff72d7090abf04
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 06-09-2024 12:07:21
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/703e5837aec3498e8aa13054e6ff72d7090abf04 [^]

Fixed ISSUE-56167: Print button should not be disbled for Gift Card
* Print button should not be disbled for Gift Card
* Print button should be disbled if gift card type doesn't have the "Print Gift Card" config

---
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardDialog/GiftCardDialogFormHandler.js
---
(0168857)
hgbot   
2024-09-06 11:34   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/371 [^]
(0169127)
nicolasuriz   
2024-09-12 11:22   
It continues to happen. Can you please take a look?
(0169205)
ranjith_qualiantech_com   
2024-09-13 13:57   
No Changes required, since custom template was used for printing the gift certificate