Openbravo Issue Tracking System - POS2
View Issue Details
0053958POS2POSpublic2023-11-16 11:582023-12-01 09:31
malsasua 
SABARINATH P 
highmajoralways
closedfixed 
5
 
 
No
0053958: when login is done, popup with message "Pending Cash Up and Store is Open with different date" is displayed continously
When the timezone configured in a timezone, and the server is in GMT or GMT+1, when login is done, a popup is displayed:
Pending Cash Up and Store is Open with different date.


Steps:
. close the store
. change the timezone of your laptop to GMT+0
. do login in livebuilds:
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/web/pos/?terminal=VBS-2 [^]
-> open the store with current date
. do logout
. change the timezone of your laptop to GMT-1
. do login:
popup message will be displayed with the error:
Pending Cash Up and Store is Open with different date.

you can check the video:
https://drive.google.com/file/d/1hk0Tr-Xbh5IEzGCY3AS1tgsZOXNlBU6E/view?usp=sharing [^]
the timezone should not be considered comparing the current date and business date
No tags attached.
Issue History
2023-11-16 11:58malsasuaNew Issue
2023-11-16 11:58malsasuaAssigned To => Retail
2023-11-16 11:58malsasuaTriggers an Emergency Pack => No
2023-11-17 09:52malsasuaDescription Updatedbug_revision_view_page.php?rev_id=27144#r27144
2023-11-17 09:52malsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27146#r27146
2023-11-17 10:05malsasuaProposed Solution updated
2023-11-17 11:36SABARINATH PAssigned ToRetail => SABARINATH P
2023-11-20 13:07SABARINATH PStatusnew => scheduled
2023-11-21 13:23hgbotNote Added: 0157418
2023-12-01 09:31hgbotResolutionopen => fixed
2023-12-01 09:31hgbotStatusscheduled => closed
2023-12-01 09:31hgbotNote Added: 0157894
2023-12-01 09:31hgbotNote Added: 0157895

Notes
(0157418)
hgbot   
2023-11-21 13:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/101 [^]
(0157894)
hgbot   
2023-12-01 09:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: b9cc21cf384473593b23aa08b33ce68416f7c402
Author: sabarinath palanisamy <sabarinath.palanisamy.ext@openbravo.com>
Date: 01-12-2023 08:30:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/b9cc21cf384473593b23aa08b33ce68416f7c402 [^]

Fixed ISSUE-53958: Updated business date with JS time format (Without timezone) to avoid issues working with different timezones

---
M src/org/openbravo/retail/sessions/TerminalProperties.java
M src/org/openbravo/retail/sessions/login/StoreStatusProvider.java
---
(0157895)
hgbot   
2023-12-01 09:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/101 [^]