Notes |
|
(0110669)
|
hgbot
|
2019-03-26 18:56
|
|
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 497591c4f1a65232a685db164f8d3f8a7a04eb98
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Tue Mar 26 13:54:12 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/497591c4f1a65232a685db164f8d3f8a7a04eb98 [^]
Fixed issue 40437: Business date of terminal till and status is updated if
business date of the terminal changes
- Updated "Business Date" value to the date when the Till opens instead the
date when the store was opened
---
M src/org/openbravo/retail/sessions/OpenSessionPOS.java
---
|
|
|
(0110924)
|
hgbot
|
2019-03-29 12:47
|
|
|
|
(0111004)
|
hgbot
|
2019-04-05 14:41
|
|
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 9af241c929c29e9b1cadbd32187de6e4cc361150
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Tue Apr 02 15:31:03 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/9af241c929c29e9b1cadbd32187de6e4cc361150 [^]
Fixed issue 40437: Business date of terminal till and status is updated if
business date of the terminal changes
-Updated "Business Date" field with the cashup process date into Till Status Tab
---
M src/org/openbravo/retail/sessions/SessionModel.java
---
|
|
|
(0111043)
|
jorge-garcia
|
2019-04-09 13:09
|
|
The fix is not correct, the bsuinessDtae of the till should be the original businessDate of the till, and not the current update field from the cashup.
The idea is that if the till was opened at 08-04-2019 but I do the cashup at 09-04-2019, the till's business date once created should use 08-04-2019. |
|
|
(0111069)
|
hgbot
|
2019-04-10 23:42
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fa0eebed139f5801bcaee4c2cbcdcacc2b725a46
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Apr 10 17:38:48 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa0eebed139f5801bcaee4c2cbcdcacc2b725a46 [^]
Fixed issue 40437: Business date of terminal till and status is updated if
business date of the terminal changes
-Updated "Business Date" field with the previous business date if cashup was
forced to do.
---
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---
|
|
|
(0111070)
|
hgbot
|
2019-04-10 23:43
|
|
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 4c1a25c37605570055c5e4c1e2c94fece3fd2fcd
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Apr 10 17:37:29 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/4c1a25c37605570055c5e4c1e2c94fece3fd2fcd [^]
Fixed issue 40437: Business date of terminal till and status is updated if
business date of the terminal changes
-Updated "Business Date" field with the previous business date if cashup was
forced to do.
---
M src/org/openbravo/retail/sessions/CloseSessionHook.java
M src/org/openbravo/retail/sessions/SessionModel.java
M web/org.openbravo.retail.sessions/js/components/loginhook.js
---
|
|
|
|
The fix adds sessions logic into the posterminal creating a circular dependency between the two modules.
All the fix logic must go in the sessions module and the code included in posterminal must be removed.
Mi proposal is that all the fix logic must go in the file loginghook.js. The idea is that in each point it is detected the need of a forced cahup. Line:
OB.MobileApp.model.set('POSS_ForceCashup', true);
It has to be set the current terminal bussiness date and not the changed business date from the server. Even the flow must be modified. Instead of first changing the business date when a change is detected and then checking if a forced cashup is needed. First check if a forced cashup is needed for the current business date. If needed then perform the forced cashup with the current posterminal business date and logout. and if not needed a forced cashup, the business date can be changed and a dialog informing the user is displayed |
|
|
(0111116)
|
hgbot
|
2019-04-12 23:21
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 091e15597e35ec722293c5f08b35512c504db4ce
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Fri Apr 12 17:09:55 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/091e15597e35ec722293c5f08b35512c504db4ce [^]
Related to issue 40437: Business date of terminal till and status is updated if
business date of the terminal changes
- Removed this change because a circular dependency with session
modules was created.
---
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---
|
|
|
(0111117)
|
hgbot
|
2019-04-13 00:17
|
|
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 4db65e9acd59ebc151c234dcd24623051bf79bb1
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Fri Apr 12 17:37:46 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/4db65e9acd59ebc151c234dcd24623051bf79bb1 [^]
Related to issue 40437: Business date of terminal till and status is updated if
business date of the terminal changes
-Modified update business date flow. Now we check if a forced cashup is
needed before change the business date value.
---
M src/org/openbravo/retail/sessions/CloseSessionHook.java
M web/org.openbravo.retail.sessions/js/components/cashup-title-extension.js
M web/org.openbravo.retail.sessions/js/components/loginhook.js
---
|
|
|
|
|