fix : correction de l'impression des absences + ajout d'un favicon
All checks were successful
Auto Tag Develop / tag (push) Successful in 5s
All checks were successful
Auto Tag Develop / tag (push) Successful in 5s
This commit is contained in:
@@ -78,7 +78,11 @@ class AbsencePrintProvider implements ProviderInterface
|
||||
$dompdf->setPaper('A3', 'landscape');
|
||||
$dompdf->render();
|
||||
|
||||
$filename = 'test';
|
||||
$filename = sprintf(
|
||||
'absences_du_%s_au_%s.pdf',
|
||||
$fromDate->format('d-m-Y'),
|
||||
$toDate->format('d-m-Y')
|
||||
);
|
||||
|
||||
return new Response($dompdf->output(), Response::HTTP_OK, [
|
||||
'Content-Type' => 'application/pdf',
|
||||
|
||||
Reference in New Issue
Block a user