Openbravo Issue Tracking System - POS2
View Issue Details
0051801POS2POSpublic2023-03-08 10:442023-03-09 18:15
ruben_jimenez 
ruben_jimenez 
normalminoralways
closedfixed 
5
 
main23Q2 
No
0051801: RM-4405: Terminals without paymenbt methods and without transactions don't require to do a new cashup every day
Terminals without payment methods and without transactions shouldn't require to do a new cashup every day.

- Configure a Touchpoint with out payment methods in backoffice.
- When login into POS2 shouldn't ask for cashup.
Modify logic to check if cashup is needed and avoid create new one if it is not required

Conditions:
No payment methods configured for cashup
AND
No transactions in current cashup (we can get it from OB.App.State.getState().Cashup.totalCompleteTickets)
No tags attached.
depends on backport 005142923Q1 closed ruben_jimenez Terminals without paymenbt methods and without transactions don't require to do a new cashup every day 
Issue History
2023-03-08 10:44ruben_jimenezNew Issue
2023-03-08 10:44ruben_jimenezAssigned To => ruben_jimenez
2023-03-08 10:44ruben_jimenezTriggers an Emergency Pack => No
2023-03-08 10:44ruben_jimenezStatusnew => scheduled
2023-03-08 10:47ruben_jimenezRelationship addeddepends on 0051429
2023-03-08 11:06hgbotNote Added: 0147369
2023-03-09 18:15hgbotResolutionopen => fixed
2023-03-09 18:15hgbotStatusscheduled => closed
2023-03-09 18:15hgbotNote Added: 0147421
2023-03-09 18:15hgbotFixed in Version => 23Q2
2023-03-09 18:15hgbotNote Added: 0147422

Notes
(0147369)
hgbot   
2023-03-08 11:06   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1581 [^]
(0147421)
hgbot   
2023-03-09 18:15   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1581 [^]
(0147422)
hgbot   
2023-03-09 18:15   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 15a7a22dcd8b88b53691a91c0a3d87c090940b5d
Author: Ruben Jimenez <ruben.jimenez@openbravo.com>
Date: 09-03-2023 17:15:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/15a7a22dcd8b88b53691a91c0a3d87c090940b5d [^]

Fixed ISSUE-51801: Avoid cashup if there aren't payments methods

---
M web-jspack/org.openbravo.pos2/src/authentication/__test__/ForceCashup.test.jsx
M web-jspack/org.openbravo.pos2/src/authentication/shouldForceCashup.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/SwitchToPayments.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/SwitchToPayments.js
---