wip
This commit is contained in:
@@ -144,14 +144,14 @@ class DownloadCardTransaction extends Action
|
||||
{
|
||||
$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