| // if(!empty($f->Subscriber->DealerClaim)){ | // if(!empty($f->Subscriber->DealerClaim)){ | ||||
| // $amount_claim = $f->Subscriber->DealerClaim->total_claim; | // $amount_claim = $f->Subscriber->DealerClaim->total_claim; | ||||
| // } | // } | ||||
| $subscriber_id=''; | |||||
| if(!empty($f->Subscriber) && !empty($f->PackageDetail)){ | if(!empty($f->Subscriber) && !empty($f->PackageDetail)){ | ||||
| if($f->type_application == 'R'){ | if($f->type_application == 'R'){ | ||||
| $name = $f->Subscriber->name; | $name = $f->Subscriber->name; | ||||
| } | } | ||||
| }else if($f->type_application == 'B'){ | }else if($f->type_application == 'B'){ | ||||
| $name = $f->Subscriber->company_name; | $name = $f->Subscriber->company_name; | ||||
| $subscriber_id = $f->Subscriber->subscriber_id; | |||||
| $contact_no = $f->Subscriber->company_num; | $contact_no = $f->Subscriber->company_num; | ||||
| $building = $f->Subscriber->street; | $building = $f->Subscriber->street; | ||||
| $address = $f->Subscriber->postcode. ' , '.$f->Subscriber->city. ' , '.$f->Subscriber->state; | $address = $f->Subscriber->postcode. ' , '.$f->Subscriber->city. ' , '.$f->Subscriber->state; |