shoulders / qwcrm

QWcrm – Free and Open Source CRM Software.
https://quantumwarp.com/
GNU General Public License v3.0
38 stars 12 forks source link

workorder_id and employee_id are not passed in URL when creating a new schedule #1530

Closed shoulders closed 5 years ago

shoulders commented 5 years ago

i should pass the primary id, i think just workorder_id in the url like all the other components

shoulders commented 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