Browse Source

add flag to find error

ifah
Siti Hajar Ibrahim 5 years ago
parent
commit
48486703c1
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      app/Http/Controllers/DS/DealerController.php

+ 2
- 0
app/Http/Controllers/DS/DealerController.php View File

$nested_data = array(); $nested_data = array();
foreach ($dealer_claimAll as $c){ foreach ($dealer_claimAll as $c){
$customer = Subscriber::with('Form')->where('_id', $c->customer_id)->first(); $customer = Subscriber::with('Form')->where('_id', $c->customer_id)->first();
info($c->customer_id);
$address = ''; $address = '';
if($customer->Form->type_application == 'R'){ if($customer->Form->type_application == 'R'){
if($customer->street != ''){ if($customer->street != ''){
foreach ($dataClaim as $c){ foreach ($dataClaim as $c){


$address = ''; $name = ''; $address = ''; $name = '';
info($c->Subscriber->_id);
if($c->Subscriber->Form->type_application == 'R'){ if($c->Subscriber->Form->type_application == 'R'){


if($c->Subscriber->street != ''){ if($c->Subscriber->street != ''){

Loading…
Cancel
Save