wip
This commit is contained in:
1 parent
10e6a6bbed
commit
72745e6360
3 files changed
+5
-6
No files matched your search
@@ -144,14 +144,14 @@ public function generateFile($data, $fileDest)
|
||||
{
|
||||
$mpdf = new Mpdf;
|
||||
|
||||
// Write HTML content
|
||||
// Write HTML content...
|
||||
$html = Blade::render('orders.cards.card-transaction.download-card-transaction', [
|
||||
'data' => $data,
|
||||
]);
|
||||
|
||||
$mpdf->WriteHTML($html);
|
||||
|
||||
// Save the PDF to a file
|
||||
// Save the PDF to a file...
|
||||
$mpdf->Output($fileDest, \Mpdf\Output\Destination::FILE);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user