Openbravo Issue Tracking System - POS2
View Issue Details
0054831POS2POSpublic2024-03-04 14:502024-03-25 17:51
ucarrion 
SABARINATH P 
normalmajoralways
closedfixed 
5
 
 
No
0054831: Not able to refund a GC/CN amount even if cash enough in the drawer
Not able to refund a GC/CN amount even if cash enough in the drawer. The money I have in the drawer is the one coming from the open till.
Video reproduced in livebuilds:
https://vimeo.com/919148526/6d7bae3b9c?share=copy [^]
The money with which the till session is opened should be available to do refundings if needed.
No tags attached.
Issue History
2024-03-04 14:50ucarrionNew Issue
2024-03-04 14:50ucarrionAssigned To => Retail
2024-03-04 14:50ucarrionTriggers an Emergency Pack => No
2024-03-11 16:54guilleaerStatusnew => acknowledged
2024-03-11 16:54guilleaerStatusacknowledged => scheduled
2024-03-11 16:54guilleaerAssigned ToRetail => javierRodriguez
2024-03-12 17:40javierRodriguezNote Added: 0162035
2024-03-12 17:41javierRodriguezNote Edited: 0162035bug_revision_view_page.php?bugnote_id=0162035#r27673
2024-03-13 13:07guilleaerAssigned TojavierRodriguez => Retail
2024-03-13 13:07guilleaerStatusscheduled => acknowledged
2024-03-13 13:46SABARINATH PAssigned ToRetail => SABARINATH P
2024-03-13 13:59SABARINATH PStatusacknowledged => scheduled
2024-03-15 08:27hgbotNote Added: 0162206
2024-03-25 17:51hgbotResolutionopen => fixed
2024-03-25 17:51hgbotStatusscheduled => closed
2024-03-25 17:51hgbotNote Added: 0162600
2024-03-25 17:51hgbotNote Added: 0162601

Notes
(0162035)
javierRodriguez   
2024-03-12 17:40   
(edited on: 2024-03-12 17:41)
Developer note: To fix this, modify these lines to take into account the refund amount provided in cashPaymentMethodInfo.

https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/292/diffs#f3f9ea6fd6ecc35540f87841f7018e06003f3b38_0_41 [^]

https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/292/diffs#f3f9ea6fd6ecc35540f87841f7018e06003f3b38_0_71 [^]

(0162206)
hgbot   
2024-03-15 08:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/308 [^]
(0162600)
hgbot   
2024-03-25 17:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: ad03748451faf022284a52408e0df9296acefbc0
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 25-03-2024 16:50:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/ad03748451faf022284a52408e0df9296acefbc0 [^]

Fixed ISSUE-54831: Added startingCash and totalRtns into account in giftcardRefund

---
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardDialog/AskForCreditNoteGiftCertificateRefund/GiftCardRefundDialog.jsx
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardDialog/AskForCreditNoteGiftCertificateRefund/__test__/GiftCardRefundDialog.test.jsx
---
(0162601)
hgbot   
2024-03-25 17:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/308 [^]