| $name = ''; $contact_no = ''; | $name = ''; $contact_no = ''; | ||||
| $address = ''; $building = ''; | $address = ''; $building = ''; | ||||
| $labelD = ''; $amount_claim=''; | |||||
| $labelD = ''; | |||||
| if(!empty($f->dealer_id)){ | if(!empty($f->dealer_id)){ | ||||
| $c = Company::find($f->company_id); | $c = Company::find($f->company_id); | ||||
| $labelD = ""; | $labelD = ""; | ||||
| } | } | ||||
| if (!empty($f->Subscriber->DealerClaim)){ | |||||
| $amount_claim = $f->Subscriber->DealerClaim->total_claim; | |||||
| } | |||||
| $amount_claim = $f->Subscriber->DealerClaim->total_claim; | |||||
| if(!empty($f->Subscriber) && !empty($f->PackageDetail)){ | if(!empty($f->Subscriber) && !empty($f->PackageDetail)){ | ||||
| if($f->type_application == 'R'){ | if($f->type_application == 'R'){ |