|
|
@@ -208,29 +208,21 @@ class CustomerController extends Controller |
|
|
|
} |
|
|
|
|
|
|
|
$building = ''; $unit = '-'; $address = ''; $name = ''; |
|
|
|
$building = $f->Subscriber->building_name; |
|
|
|
$unit = $f->Subscriber->unit_no; |
|
|
|
|
|
|
|
if($f->Subscriber->street != ''){ |
|
|
|
$address = $f->Subscriber->street. ' , '.$f->Subscriber->postcode. ' , '.$f->Subscriber->city. ' , '.$f->Subscriber->state; |
|
|
|
}else { |
|
|
|
$address = $f->Subscriber->postcode. ' , '.$f->Subscriber->city. ' , '.$f->Subscriber->state; |
|
|
|
} |
|
|
|
|
|
|
|
if($f->type_application == 'R'){ |
|
|
|
$name = $f->Subscriber->name; |
|
|
|
$building = $f->Subscriber->building_name; |
|
|
|
$unit = $f->Subscriber->unit_no; |
|
|
|
|
|
|
|
if($f->Subscriber->street != ''){ |
|
|
|
$address = $f->Subscriber->street. ' , '.$f->Subscriber->postcode. ' , '.$f->Subscriber->city. ' , '.$f->Subscriber->state; |
|
|
|
}else { |
|
|
|
$address = $f->Subscriber->postcode. ' , '.$f->Subscriber->city. ' , '.$f->Subscriber->state; |
|
|
|
} |
|
|
|
|
|
|
|
}else if($f->type_application == 'B'){ |
|
|
|
|
|
|
|
$name = $f->Subscriber->company_name; |
|
|
|
if($f->Subscriber->unit_no == ''){ |
|
|
|
$unit = '-'; |
|
|
|
}else { |
|
|
|
$unit = $f->Subscriber->unit_no; |
|
|
|
} |
|
|
|
|
|
|
|
$building = $f->Subscriber->street; |
|
|
|
|
|
|
|
$address = $f->Subscriber->postcode. ' , '.$f->Subscriber->city. ' , '.$f->Subscriber->state; |
|
|
|
} |
|
|
|
|
|
|
|
$nP = ''; |