@@ -2330,7 +2330,7 @@ class MarketingController extends Controller | |||
foreach ($data12_1 as $key => $d) { | |||
$customer = Subscriber::with('Form')->where('_id', $d['customer_id'])->first(); | |||
$address = ''; $$name = ''; | |||
$address = ''; $name = ''; | |||
if($customer->Form->type_application == 'R'){ | |||
if($customer->street != ''){ | |||
$address = $customer->unit_no. ' , '.$customer->building_name. ' , '.$customer->street. ' , '.$customer->postcode. ' , '.$customer->city. ' , '.$customer->state; |