| @@ -140,7 +140,7 @@ class FormController extends BaseController | |||
| $address = $f->Subscriber->postcode. ' , '.$f->Subscriber->city. ' , '.$f->Subscriber->state; | |||
| } | |||
| $woD = '-'; $woId = 'none'; $natureWork = ''; $doId = ''; $woRate="";$installerId=""; | |||
| $woD = '-'; $woId = 'none'; $natureWork = ''; $doId = ''; $woRate=""; $installerId=""; | |||
| if(!empty($f->WorkOrder)){ | |||
| $woId = $f->WorkOrder->wo; | |||
| $natureWork = $f->WorkOrder->nature_work; | |||
| @@ -148,7 +148,7 @@ class FormController extends BaseController | |||
| if(!empty($f->WorkOrder->Docket)){ | |||
| $woD = $f->WorkOrder->Docket->end_job; | |||
| $woRate = $f->WorkOrder->Docket->Rating1; | |||
| $installerId = $f->WordOrder->Docket->installer_id; | |||
| // $installerId = $f->WordOrder->Docket->installer_id; | |||
| // array_push($result,array( | |||
| // 'type_application' => $f->type_application, | |||
| @@ -184,7 +184,7 @@ class FormController extends BaseController | |||
| // 'activated_date' => $woD, | |||
| // )); | |||
| array_push($result,array( | |||
| 'Installer' => $installerId, | |||
| // 'Installer' => $installerId, | |||
| 'Dealer Name' => $labelD, | |||
| "Customer Name"=> $name, | |||
| "Contact Number"=> $contact_no, | |||