diff --git a/app/Exports/CommonExport.php b/app/Exports/CommonExport.php index b0c0f4c..0a09ad6 100755 --- a/app/Exports/CommonExport.php +++ b/app/Exports/CommonExport.php @@ -422,11 +422,11 @@ class CommonExport implements FromCollection, WithStyles, WithColumnWidths, With } $t2 = []; if (empty($clear)) { - dd($info['data']); if (isset($info['data']) && $info['data'] && !empty($moreFileds)) { $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 {