From 8865d37e2fa82f9e601019dd5a7a8f3aa66566a2 Mon Sep 17 00:00:00 2001 From: ajikamaludin Date: Wed, 5 Apr 2023 06:20:36 +0700 Subject: [PATCH] bit fix --- app/Http/Controllers/DocumentController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Http/Controllers/DocumentController.php b/app/Http/Controllers/DocumentController.php index f724b8f..e4ab191 100644 --- a/app/Http/Controllers/DocumentController.php +++ b/app/Http/Controllers/DocumentController.php @@ -276,10 +276,8 @@ class DocumentController extends Controller private function exportAsExcel($collections) { $date = now()->format('d-m-Y'); - $header_style = (new StyleBuilder())->setFontBold()->build(); return (new FastExcel($collections)) - ->headerStyle($header_style) ->download("document-$date.xlsx"); } }