| @@ -120,6 +120,9 @@ class FormController extends BaseController | |||
| } | |||
| if(!empty($f->Subscriber) && !empty($f->PackageDetail)){ | |||
| if (!empty($f->Subscriber->DealerClaim)){ | |||
| $amount_claim = $f->Subscriber->DealerClaim->total_claim; | |||
| } | |||
| if($f->type_application == 'R'){ | |||
| $name = $f->Subscriber->name; | |||
| $contact_no = $f->Subscriber->phone1; | |||
| @@ -144,7 +147,6 @@ 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, | |||