diff --git a/app/Exports/CommonExport.php b/app/Exports/CommonExport.php index b6297aa..b0c0f4c 100755 --- a/app/Exports/CommonExport.php +++ b/app/Exports/CommonExport.php @@ -402,7 +402,6 @@ class CommonExport implements FromCollection, WithStyles, WithColumnWidths, With $moreFileds = array_column($this->data[0]['data'], 'field'); } } - dd($moreHeader,$moreFileds); $newList[] = $header; foreach ($this->data as $info) { @@ -423,6 +422,7 @@ 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) {