remove style header on export excel doc

dev
Aji Kamaludin 11 months ago
parent 68816cc2df
commit 1adbe8652d
No known key found for this signature in database
GPG Key ID: 19058F67F0083AD3

@ -277,10 +277,10 @@ class DocumentController extends Controller
private function exportAsExcel($collections)
{
$date = now()->format('d-m-Y');
$header_style = (new StyleBuilder())->setFontBold()->build();
// $header_style = (new StyleBuilder())->setFontBold()->build();
return (new FastExcel($collections))
->headerStyle($header_style)
// ->headerStyle($header_style)
->download("document-$date.xlsx");
}
}

Loading…
Cancel
Save