I'm using LynX39\LaraPdfMerger
to generate my pdf files from a file named pdf.blade.php
. When it's a normal html file everything seems to be good but once generate the pdf file everything is wrong and ugly. Is there any way to make the blade
looks like the normal html
file? You can see the 2 images below. Any help will be appreciated. Thanks.
to generate the file
$pdf = PDF::loadView('layouts.pdf_view', $data);
return $pdf->download('fiche' . '_' . time() . '.pdf');
pdf file
!https://drive.google.com/open?id=1309cGQl8sFPB22vFZTOdseBt-M7rCTjs
html file
!https://drive.google.com/open?id=1oSJFfRkKsraonATJa50ExH3yNN2HcQqH
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire