| @@ -144,40 +144,10 @@ class FormController extends BaseController | |||
| if(!empty($f->WorkOrder->Docket)){ | |||
| $woD = $f->WorkOrder->Docket->end_job; | |||
| $woRate = $f->WorkOrder->Docket->Rating1; | |||
| $amount_claim = $f->Subscriber->DealerClaim->total_claim; | |||
| // array_push($result,array( | |||
| // 'type_application' => $f->type_application, | |||
| // "type_service" => $f->type_service, | |||
| // "customer_name"=> $name, | |||
| // "contact_no"=> $contact_no, | |||
| // "unit_no"=>$f->Subscriber->unit_no, | |||
| // "building"=>$building, | |||
| // "street"=>$address, | |||
| // "submitted_date" => $f->created_at->toDateTimeString(), | |||
| // "package_contract" => $f->PackageDetail->contract, | |||
| // "package_name" => $f->PackageDetail->name, | |||
| // 'dealer' => $labelD, | |||
| // 'wo' => $woId, | |||
| // 'activated_date' => $woD, | |||
| // )); | |||
| // $amount_claim = $f->Subscriber->DealerClaim->total_claim; | |||
| } | |||
| } | |||
| // array_push($result,array( | |||
| // 'type_application' => $f->type_application, | |||
| // "type_service" => $f->type_service, | |||
| // "customer_name"=> $name, | |||
| // "contact_no"=> $contact_no, | |||
| // "unit_no"=>$f->Subscriber->unit_no, | |||
| // "building"=>$building, | |||
| // "street"=>$address, | |||
| // "submitted_date" => $f->created_at->toDateTimeString(), | |||
| // "package_contract" => $f->PackageDetail->contract, | |||
| // "package_name" => $f->PackageDetail->name, | |||
| // 'dealer' => $labelD, | |||
| // 'wo' => $woId, | |||
| // 'activated_date' => $woD, | |||
| // )); | |||
| array_push($result,array( | |||
| 'Dealer Name' => $labelD, | |||
| "Customer Name"=> $name, | |||