diff --git a/app/Exports/CommonExport.php b/app/Exports/CommonExport.php index 0a09ad6..b4728bc 100755 --- a/app/Exports/CommonExport.php +++ b/app/Exports/CommonExport.php @@ -426,7 +426,6 @@ class CommonExport implements FromCollection, WithStyles, WithColumnWidths, With $dataCollect = collect($info['data']); foreach ($moreFileds as $moreFiled) { $value = ($dataCollect->where('field', $moreFiled)->first()['value']) ?? ''; - dd($value); if (str_contains($moreFiled, 'idcard')) { $t2[$moreFiled] = ' ' . $value; } else { @@ -436,6 +435,7 @@ class CommonExport implements FromCollection, WithStyles, WithColumnWidths, With } } $newList[] = array_values($temp + $t2); + dd($newList); } }