Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050896Retail ModulesMax Level of Cashpublic2022-11-15 11:252023-01-27 08:50
yogaskarnik 
yogaskarnik 
normalminorhave not tried
closedfixed 
5
 
 
No
0050896: Add max level of cash alerts to the POS
The max level of cash alerts should be available in the POS and it should also be possible to block operations for a certain amount.
NA
No tags attached.
related to defect 0052166 closed ranjith_qualiantech_com Impossible to pay with a safebox when the till is disconnected 
Issue History
2022-11-15 11:25yogaskarnikNew Issue
2022-11-15 11:25yogaskarnikAssigned To => yogaskarnik
2022-11-15 11:25yogaskarnikTriggers an Emergency Pack => No
2022-11-15 11:55hgbotNote Added: 0143607
2022-12-20 09:55hgbotNote Added: 0144828
2022-12-20 09:55hgbotNote Added: 0144829
2023-01-03 09:56hgbotNote Added: 0145132
2023-01-27 08:47hgbotNote Added: 0145910
2023-01-27 08:47hgbotNote Added: 0145911
2023-01-27 08:50hgbotResolutionopen => fixed
2023-01-27 08:50hgbotStatusnew => closed
2023-01-27 08:50hgbotNote Added: 0145912
2023-01-27 08:50hgbotNote Added: 0145913
2023-04-25 14:48ranjith_qualiantech_comRelationship addedrelated to 0052166

Notes
(0143607)
hgbot   
2022-11-15 11:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.maxlevelofcash/-/merge_requests/1 [^]
(0144828)
hgbot   
2022-12-20 09:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.maxlevelofcash/-/merge_requests/2 [^]
(0144829)
hgbot   
2022-12-20 09:55   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.maxlevelofcash/-/merge_requests/1 [^]
(0145132)
hgbot   
2023-01-03 09:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1024 [^]
(0145910)
hgbot   
2023-01-27 08:47   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: e25debd022a50516799bb5bfadc31adf8e7c1724
Author: Yogas Karnik <yogas.karnik@openbravo.com>
Date: 27-01-2023 07:46:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/e25debd022a50516799bb5bfadc31adf8e7c1724 [^]

Related ISSUE-50896: Modifies and fixes OBPOS_ValidatePaymentAmount hook

---
M web/org.openbravo.retail.posterminal/js/components/keypadcoins.js
M web/org.openbravo.retail.posterminal/js/components/paymentvalidation.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
---
(0145911)
hgbot   
2023-01-27 08:47   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1024 [^]
(0145912)
hgbot   
2023-01-27 08:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.maxlevelofcash [^]
Changeset: eec15f61f2bd9da2d17850da25b45c590616015a
Author: Yogas Karnik <yogas.karnik@openbravo.com>
Date: 27-01-2023 07:50:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.maxlevelofcash/-/commit/eec15f61f2bd9da2d17850da25b45c590616015a [^]

Fixes ISSUE-50896: Add max level of cash alerts to the POS
* Adds configuration Limit amount for warning and Limit amount for blocking values at Payment method level in Touch point type window.
* Implements validation business logic for cash management events and payments in ENYO POS and for payments in REACT POS. It the Limit amount for warning is reached, a message is displayed but the operation continues but if the Limit amount for blocking is reached the operation is canceled.
* Includes the Safe box amount in the validation with a remote request. In case the remote request fails (for example when the POS is offline) a message is displayed but the flow continues without taking in consideration the safe box amount.

---
A src-db/database/sourcedata/AD_MESSAGE.xml
A src-db/database/sourcedata/OBMOBC_SERVICES.xml
A src/org/openbravo/retail/maxlevelofcash/OBRMLComponentProvider.java
A src/org/openbravo/retail/maxlevelofcash/event/AppPaymentTypeHandler.java
A src/org/openbravo/retail/maxlevelofcash/process/OBRMLGetSafeBoxBalance.java
A web-jspack/org.openbravo.retail.maxlevelofcash/src/hooks/PrePaymentHook.js
A web-jspack/org.openbravo.retail.maxlevelofcash/src/ob-init.js
A web/org.openbravo.retail.maxlevelofcash/actionpreparations/ValidateCashMgmtPaymentIn.js
A web/org.openbravo.retail.maxlevelofcash/js/hooks/paymentValidation.js
A web/org.openbravo.retail.maxlevelofcash/model/paymentAmountValidation.js
A web/org.openbravo.retail.maxlevelofcash/model/validateMaxLevelOfCash.js
M src-db/database/model/modifiedTables/OBPOS_APP_PAYMENT_TYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0145913)
hgbot   
2023-01-27 08:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.maxlevelofcash/-/merge_requests/2 [^]