Openbravo Issue Tracking System - POS2
View Issue Details
0045974POS2Restaurantspublic2021-03-01 16:592021-03-08 14:16
guilleaer 
javietxe 
normaltrivialhave not tried
closedfixed 
5
 
 
No
0045974: Meal services data model should be loaded in frontend
Each terminal should load the information about meal services.

The data to load should be done from:


All OBREST_Org_Services created in the organization of the current terminal
including:
Entity meal service
Entity schedule
Array of Entity OBRETCO_Schedule_line

Together with special dates


To take account:
-> incremental refresh
-> don't load old dates information
-> Create a js function to select the service based on date and time
-> be careful working with dates in JS
-> sample data should be created


N/A
N/A
No tags attached.
Issue History
2021-03-01 16:59guilleaerNew Issue
2021-03-01 16:59guilleaerAssigned To => javietxe
2021-03-01 16:59guilleaerTriggers an Emergency Pack => No
2021-03-01 17:16guilleaerDescription Updatedbug_revision_view_page.php?rev_id=22157#r22157
2021-03-01 18:08guilleaerDescription Updatedbug_revision_view_page.php?rev_id=22158#r22158
2021-03-03 10:52guilleaerStatusnew => scheduled
2021-03-04 11:20hgbotNote Added: 0126496
2021-03-05 14:10hgbotResolutionopen => fixed
2021-03-05 14:10hgbotStatusscheduled => closed
2021-03-05 14:10hgbotNote Added: 0126527
2021-03-05 14:10hgbotNote Added: 0126528
2021-03-05 14:10hgbotNote Added: 0126529
2021-03-05 14:10hgbotNote Added: 0126530
2021-03-05 14:10hgbotNote Added: 0126531
2021-03-08 14:16hgbotNote Added: 0126555

Notes
(0126496)
hgbot   
2021-03-04 11:20   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant/-/merge_requests/73 [^]
(0126527)
hgbot   
2021-03-05 14:10   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant [^]
Changeset: c133ec2c0d8e6f0cdb90ac2a718d413ad6d0fd3f
Author: Nicola Uva <nicola.uva@openbravo.com>
Date: 2021-03-05T11:54:20+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant/-/commit/c133ec2c0d8e6f0cdb90ac2a718d413ad6d0fd3f [^]

Fixed issue 45974: Meal services data model should be loaded in frontend

---
A src/org/openbravo/retail/restaurant/master/MealService.java
A src/org/openbravo/retail/restaurant/master/MealServiceProperties.java
A src/org/openbravo/retail/restaurant/master/OrgRestaurantService.java
A src/org/openbravo/retail/restaurant/master/OrgRestaurantServiceProperties.java
A src/org/openbravo/retail/restaurant/master/ScheduleLineRestaurantService.java
A src/org/openbravo/retail/restaurant/master/ScheduleLineRestaurantServiceProperties.java
A src/org/openbravo/retail/restaurant/master/ScheduleRestaurantService.java
A src/org/openbravo/retail/restaurant/master/ScheduleRestaurantServiceProperties.java
A src/org/openbravo/retail/restaurant/master/SpecialDateRestaurantService.java
A src/org/openbravo/retail/restaurant/master/SpecialDateRestaurantServiceProperties.java
A web-jspack/org.openbravo.retail.restaurant/src/model/ObrestUtils.js
A web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/MealServiceModel.js
A web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/OrgRestaurantServiceModel.js
A web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/ScheduleLineRestaurantServiceModel.js
A web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/ScheduleRestaurantServiceModel.js
A web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/SpecialDateRestaurantServiceModel.js
M web-jspack/org.openbravo.retail.restaurant/src/ob-init.js
---
(0126528)
hgbot   
2021-03-05 14:10   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant [^]
Changeset: d7d557dc2ad368f5ac9c55113b29a3c27630ca78
Author: Nicola Uva <nicola.uva@openbravo.com>
Date: 2021-03-05T11:54:20+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant/-/commit/d7d557dc2ad368f5ac9c55113b29a3c27630ca78 [^]

Fixed issue 45974: Meal services data model should be loaded in frontend

---
M web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/MealServiceModel.js
M web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/OrgRestaurantServiceModel.js
M web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/ScheduleLineRestaurantServiceModel.js
M web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/ScheduleRestaurantServiceModel.js
M web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/SpecialDateRestaurantServiceModel.js
---
(0126529)
hgbot   
2021-03-05 14:10   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant [^]
Changeset: a425066f28d7fcc2bb461108f425ee0b90e3a3ea
Author: Nicola Uva <nicola.uva@openbravo.com>
Date: 2021-03-05T11:54:20+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant/-/commit/a425066f28d7fcc2bb461108f425ee0b90e3a3ea [^]

Fixed issue 45974: Meal services data model should be loaded in frontend

---
M web-jspack/org.openbravo.retail.restaurant/src/model/ObrestUtils.js
---
(0126530)
hgbot   
2021-03-05 14:10   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant [^]
Changeset: ad9e3ed05018d61a2b8160332fef6ec1e63ef3af
Author: Nicola Uva <nicola.uva@openbravo.com>
Date: 2021-03-05T11:54:20+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant/-/commit/ad9e3ed05018d61a2b8160332fef6ec1e63ef3af [^]

Related to the issue 45974: filter data by mealService linked of the terminal organization

---
M src/org/openbravo/retail/restaurant/master/OrgRestaurantServiceProperties.java
M web-jspack/org.openbravo.retail.restaurant/src/model/ObrestUtils.js
M web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/OrgRestaurantServiceModel.js
M web-jspack/org.openbravo.retail.restaurant/src/model/masterdata/SpecialDateRestaurantServiceModel.js
---
(0126531)
hgbot   
2021-03-05 14:10   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant [^]
Changeset: 7d36ca276119bcf9b9d1b202e2acd5d1cda9b379
Author: Nicola Uva <nicola.uva@openbravo.com>
Date: 2021-03-05T11:54:20+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant/-/commit/7d36ca276119bcf9b9d1b202e2acd5d1cda9b379 [^]

Related to the issue 45974: added order by id + replace utility objects with function

---
A web-jspack/org.openbravo.retail.restaurant/src/model/meal-service/GetRestaurantService.js
M src/org/openbravo/retail/restaurant/master/MealService.java
M src/org/openbravo/retail/restaurant/master/OrgRestaurantService.java
M src/org/openbravo/retail/restaurant/master/ScheduleLineRestaurantService.java
M src/org/openbravo/retail/restaurant/master/ScheduleRestaurantService.java
M src/org/openbravo/retail/restaurant/master/SpecialDateRestaurantService.java
R web-jspack/org.openbravo.retail.restaurant/src/model/ObrestUtils.js
---
(0126555)
hgbot   
2021-03-08 14:16   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant/-/merge_requests/73 [^]