| if(!empty($f->WorkOrder->Docket)){ | if(!empty($f->WorkOrder->Docket)){ | ||||
| $woD = $f->WorkOrder->Docket->end_job; | $woD = $f->WorkOrder->Docket->end_job; | ||||
| $woRate = $f->WorkOrder->Docket->Rating1; | $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( | array_push($result,array( | ||||
| 'Dealer Name' => $labelD, | 'Dealer Name' => $labelD, | ||||
| "Customer Name"=> $name, | "Customer Name"=> $name, |