Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040176Retail ModulesWeb POSpublic2019-02-11 12:222019-02-15 09:27
samuel_nicuesa 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
pi 
RR19Q2 
marvintm
RR18Q1
No
0040176: Business date in local storage is null if terminal does't have payments for cashup
In 17Q3 if you login in one terminal which doesn't have payments for cash up these two fields have the same information
OB.MobileApp.model.attributes.terminal.poss_businessdate === OB.UTIL.localStorage.getItem('businessdate')


IN 18Q3 if you login in one terminal which doesn't have payment for cash up OB.UTIL.localStorage.getItem('businessdate') is null
[POS]

-Login in one terminal which doesn't have payments for cash up
-Put a break point here : if (!OB.MobileApp.model.get('hasPaymentsForCashup')) {
-You will see that OB.UTIL.localStorage.getItem('businessdate') won't be filled.
No tags attached.
caused by defect 0037299 closed asiermartirena Is possible to open the 'Change Business Date' popup when logging with a terminal for seller 
patch issue 40176 source sessions.patch (1,185) 2019-02-12 10:20
https://issues.openbravo.com/file_download.php?file_id=12648&type=bug
Issue History
2019-02-11 12:22samuel_nicuesaNew Issue
2019-02-11 12:22samuel_nicuesaAssigned To => Retail
2019-02-11 12:22samuel_nicuesaRegression date => 2019-02-18
2019-02-11 12:22samuel_nicuesaRegression introduced in release => RR18Q1
2019-02-11 12:22samuel_nicuesaTriggers an Emergency Pack => No
2019-02-11 12:23samuel_nicuesaRelationship addedcaused by 0037299
2019-02-11 12:36samuel_nicuesaDescription Updatedbug_revision_view_page.php?rev_id=18301#r18301
2019-02-11 12:36samuel_nicuesaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18303#r18303
2019-02-11 13:43marvintmCategorySessions => Web POS
2019-02-11 20:48rqueraltaAssigned ToRetail => rqueralta
2019-02-11 20:48rqueraltaStatusnew => scheduled
2019-02-12 07:09ranjith_qualiantech_comAssigned Torqueralta => ranjith_qualiantech_com
2019-02-12 10:20ranjith_qualiantech_comFile Added: issue 40176 source sessions.patch
2019-02-12 10:58hgbotCheckin
2019-02-12 10:58hgbotNote Added: 0109685
2019-02-13 08:51ranjith_qualiantech_comStatusscheduled => resolved
2019-02-13 08:51ranjith_qualiantech_comResolutionopen => fixed
2019-02-14 17:35ngarciaResolution time => 1550444400
2019-02-14 17:35ngarciaRegression date2019-02-18 =>
2019-02-15 09:27marvintmReview Assigned To => marvintm
2019-02-15 09:27marvintmStatusresolved => closed
2019-02-15 09:27marvintmFixed in Version => RR19Q2

Notes
(0109685)
hgbot   
2019-02-12 10:58   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: cc0ae33771b3eaa6e2f68efb6e28bc46f67129d4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 12 15:28:07 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/cc0ae33771b3eaa6e2f68efb6e28bc46f67129d4 [^]

Related to issue 40176 : LocalStorage BusinessDate should be updated when terminal has business date

* If LocalStorage BusinessDate is empty then LocalStorage BusinessDate should be updated with terminal's business date

---
M web/org.openbravo.retail.sessions/js/components/loginhook.js
---