Closed shoulders closed 5 years ago
when you click on the calendar in the workorder details page, the following variables are passwed
index.php?component=schedule&page_tpl=day&start_year=2019&start_month=10&start_day=17&client_id=10&employee_id=1&workorder_id=1
component=schedule
&page_tpl=day
&start_year=2019
&start_month=10
&start_day=17
&client_id=10
&employee_id=1
&workorder_id=1
These are then sent to the new page but additionally wiht a start time
component=schedule&page_tpl=new&start_year=2019&start_month=10&start_day=17&start_time=12:15&employee_id=1&workorder_id=1
component=schedule
&page_tpl=new
&start_year=2019
&start_month=10
&start_day=17
&start_time=12:15
&employee_id=1
&workorder_id=1
i should pass the primary id, i think just workorder_id in the url like all the other components