| @@ -124,6 +124,7 @@ class FormController extends BaseController | |||
| // if(!empty($f->Subscriber->DealerClaim)){ | |||
| // $amount_claim = $f->Subscriber->DealerClaim->total_claim; | |||
| // } | |||
| $subscriber_id=''; | |||
| if(!empty($f->Subscriber) && !empty($f->PackageDetail)){ | |||
| if($f->type_application == 'R'){ | |||
| $name = $f->Subscriber->name; | |||
| @@ -137,6 +138,7 @@ class FormController extends BaseController | |||
| } | |||
| }else if($f->type_application == 'B'){ | |||
| $name = $f->Subscriber->company_name; | |||
| $subscriber_id = $f->Subscriber->subscriber_id; | |||
| $contact_no = $f->Subscriber->company_num; | |||
| $building = $f->Subscriber->street; | |||
| $address = $f->Subscriber->postcode. ' , '.$f->Subscriber->city. ' , '.$f->Subscriber->state; | |||