Openbravo Issue Tracking System - POS2
View Issue Details
0051034POS2POSpublic2022-11-29 14:492023-02-19 08:26
Lcazaux 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
23Q2 
No
0051034: [SALES] [OPENING/CLOSING] : Error on the amount of the cash to keep
At the closing of the cash register I note 100 in the cash field for the amount counted then I go to the next step.
 => the "cash to keep" must be equal or lower than the "amount counted".

When I manually enter a sum greater than the counted sum => OK (an error message appears)

When I use the pin pad to enter a sum greater than the counted sum => KO, it is possible to enter a higher sum.

It should not be possible to enter with the pin pad a sum greater than the amount counted.
- Connect to https://livebuilds.openbravo.com/retail_pos2_pgsql/web/pos/?terminal=VBS-2 [^]
- Close Till
- Enter an amount in "Count Payment Method Amounts"
- Next
- Enter an "Amount to Keep" greater than the previous amount AND with the pin pad
- No error message --> it should not be allowed
As for when we enter the amount with a keyboard, we should receive an error message, it should also be the case for when we enter the amount with the pin pad
FASH
? JIRA 3232_ Nov 29, 2022 2_41 PM.webm (2,802,437) 2022-11-29 14:49
https://issues.openbravo.com/file_download.php?file_id=17897&type=bug
Issue History
2022-11-29 14:49LcazauxNew Issue
2022-11-29 14:49LcazauxAssigned To => Retail
2022-11-29 14:49LcazauxFile Added: JIRA 3232_ Nov 29, 2022 2_41 PM.webm
2022-11-29 14:49LcazauxTriggers an Emergency Pack => No
2022-11-29 14:49LcazauxTag Attached: FASH
2022-11-29 15:01LcazauxSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25187#r25187
2023-02-13 06:37ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-02-13 08:17ranjith_qualiantech_comStatusnew => scheduled
2023-02-13 19:02hgbotNote Added: 0146494
2023-02-19 08:26hgbotResolutionopen => fixed
2023-02-19 08:26hgbotStatusscheduled => closed
2023-02-19 08:26hgbotNote Added: 0146720
2023-02-19 08:26hgbotFixed in Version => 23Q2
2023-02-19 08:26hgbotNote Added: 0146721

Notes
(0146494)
hgbot   
2023-02-13 19:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1522 [^]
(0146720)
hgbot   
2023-02-19 08:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1522 [^]
(0146721)
hgbot   
2023-02-19 08:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 618ffda9476b81c912ca0395d2c4366cffa8ce2e
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 19-02-2023 07:25:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/618ffda9476b81c912ca0395d2c4366cffa8ce2e [^]

Fixed ISSUE-51034: Validate CashToKeep when adding amount from keypad

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectCashToKeepStep/SelectCashToKeepStep.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectCashToKeepStep/SelectCashToKeepStep.scss
---