change-request
ajikamaludin 1 year ago
parent fda9e3492f
commit 8865d37e2f
Signed by: ajikamaludin
GPG Key ID: 476C9A2B4B794EBB

@ -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");
}
}

Loading…
Cancel
Save