| }else{ | }else{ | ||||
| $labelD = ""; | $labelD = ""; | ||||
| } | } | ||||
| $amount_claim= DealerClaim::where("DealerClaim['wo']",$f->WorkOrder->wo)->get(); | |||||
| if(!empty($f->Subscriber) && !empty($f->PackageDetail)){ | if(!empty($f->Subscriber) && !empty($f->PackageDetail)){ | ||||
| if($f->type_application == 'R'){ | if($f->type_application == 'R'){ | ||||
| "Service Type" => $f->WorkOrder->nature_work, | "Service Type" => $f->WorkOrder->nature_work, | ||||
| "Building"=>$building, | "Building"=>$building, | ||||
| "Rating" => $f->WorkOrder->Docket['Rating1'], | "Rating" => $f->WorkOrder->Docket['Rating1'], | ||||
| "Claim Amount" => $amount_claim, | |||||
| "Claim Amount" => $f->Subscriber->DealerClaim['total_claim'], | |||||
| )); | )); | ||||
| } | } | ||||