Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049841Retail ModulesWeb POSpublic2022-07-19 14:052022-08-09 07:19
XABIER_AGUADO 
radhakrishnan 
normalminoralways
closedfixed 
5
 
 
No
0049841: [SALES] Amount kept in memory at opening and closing when coins and bills are split
Even after deleting the total amounts for cashup/ initial cash count, the values we introduced with the cash counting tool are not deleted.

Video: https://watch.screencastify.com/v/ejRLWSAPFPvfjeNrtHeQ [^]
Do a cash up
Select split coins and bills
Select bills and go to counting tool
Add any bills and click on OK
Select merge coins and bills and delete the amount
Click on split coins and bills again and select bills --> counting tool
Even though the money amount reads 0 there is still notes saved in memory
Reset the counting tool values whenever we delete the whole amount
FASH
Issue History
2022-07-19 14:05XABIER_AGUADONew Issue
2022-07-19 14:05XABIER_AGUADOAssigned To => Retail
2022-07-19 14:05XABIER_AGUADOTriggers an Emergency Pack => No
2022-07-19 14:05XABIER_AGUADOTag Attached: FASH
2022-07-27 12:51radhakrishnanAssigned ToRetail => radhakrishnan
2022-07-27 12:52radhakrishnanStatusnew => scheduled
2022-08-05 15:46hgbotNote Added: 0139926
2022-08-09 07:19hgbotResolutionopen => fixed
2022-08-09 07:19hgbotStatusscheduled => closed
2022-08-09 07:19hgbotNote Added: 0139981
2022-08-09 07:19hgbotFixed in Version => 22Q4
2022-08-09 07:19hgbotNote Added: 0139982

Notes
(0139926)
hgbot   
2022-08-05 15:46   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1128 [^]
(0139981)
hgbot   
2022-08-09 07:19   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1128 [^]
(0139982)
hgbot   
2022-08-09 07:19   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 95a92c7dd69871a37aeef9f7f780ab2d35806963
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 09-08-2022 05:19:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/95a92c7dd69871a37aeef9f7f780ab2d35806963 [^]

Fixed ISSUE-49841: Triggered State action to sets the counting tool values
* When changing the counted amount using cashup split inputs then counting values should be updated in state
* When changing the counted amount using cash inputs then counting tool value should be reset as empty
* Added clearCountingToolValues state action that clears the countingToolValues in state property.
* Added setCountingToolValues,clearCountingToolValues state action in Jest test

---
A web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/ClearCountingToolValues.js
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitInputs/CashupSplitInputs.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/CountPaymentMethodsStep/__test__/CountPaymentMethodsStep.test.jsx
M web-jspack/org.openbravo.pos2/src/model/user-interface/UIExtension.js
---