Openbravo Issue Tracking System - POS2
View Issue Details
0053818POS2POSpublic2023-10-31 14:202023-11-03 14:12
charlotte_vasseur 
sreehari 
normalmajoralways
closedfixed 
5
 
24Q1 
No
0053818: Drawer does not open when paying with Cash
The drawer does not open when paying the ticket with payment method Cash
In BO
Configure 'Channel - Touchpoint Type' with 'Auto close paid order' = Y
For payment methods Cash and Credit Card :
- 'Allow open drawer' = Y
- 'Open drawer before closing' = Y
See Configuration Touchpoint Type.png

In POS
Finalize a sale with Credit Card payment method
=> The drawer is well opened (OK)
See Card drawer open.png

Finalize a sale with Cash payment method
=> The drawer does not open (KO)
See Cash drawer closed.png
No tags attached.
related to defect 0053460 closed sreehari In POS 2 the checkbox Allow Open Drawer is NOT working as expected (as in ENYO POS 1) 
causes defect 0053952 closed sreehari Drawer is opened twice when paying with Cash 
png Configuration Touchpoint Type.png (144,532) 2023-10-31 14:20
https://issues.openbravo.com/file_download.php?file_id=19116&type=bug
png

png Card drawer open.png (132,626) 2023-10-31 14:20
https://issues.openbravo.com/file_download.php?file_id=19117&type=bug
png

png Cash drawer closed.png (130,967) 2023-10-31 14:21
https://issues.openbravo.com/file_download.php?file_id=19118&type=bug
png
Issue History
2023-10-31 14:20charlotte_vasseurNew Issue
2023-10-31 14:20charlotte_vasseurAssigned To => Retail
2023-10-31 14:20charlotte_vasseurFile Added: Configuration Touchpoint Type.png
2023-10-31 14:20charlotte_vasseurTriggers an Emergency Pack => No
2023-10-31 14:20charlotte_vasseurFile Added: Card drawer open.png
2023-10-31 14:21charlotte_vasseurFile Added: Cash drawer closed.png
2023-10-31 14:21charlotte_vasseurNote Added: 0156544
2023-10-31 14:27rafarodaRelationship addedrelated to 0053460
2023-10-31 15:15sreehariAssigned ToRetail => sreehari
2023-11-01 06:59sreehariStatusnew => scheduled
2023-11-02 12:42hgbotNote Added: 0156619
2023-11-03 14:12hgbotNote Added: 0156690
2023-11-03 14:12hgbotResolutionopen => fixed
2023-11-03 14:12hgbotStatusscheduled => closed
2023-11-03 14:12hgbotFixed in Version => 24Q1
2023-11-03 14:12hgbotNote Added: 0156691
2023-11-16 07:51sreehariRelationship addedcauses 0053952

Notes
(0156544)
charlotte_vasseur   
2023-10-31 14:21   
Seems side effect of https://issues.openbravo.com/view.php?id=53460 [^]
(0156619)
hgbot   
2023-11-02 12:42   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2217 [^]
(0156690)
hgbot   
2023-11-03 14:12   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2217 [^]
(0156691)
hgbot   
2023-11-03 14:12   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 691e438a7c3f1985f73eb8b14802ede0ad8c777e
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 03-11-2023 13:11:01
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/691e438a7c3f1985f73eb8b14802ede0ad8c777e [^]

Fixes ISSUE-53818: Updated openDrawerAction and conditions to launch openDrawer
*openDrawer action now correctly displays open/done label in confirm label correctly
*label functionality is handled using useRef
*added test case for opendrawer action

---
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentKeypad/PaymentKeypad.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentKeypad/__test__/PaymentKeypad.test.jsx
---