fix: use correct Options object for Dompdf configuration
This commit is contained in:
@@ -275,8 +275,10 @@ class PagesController extends Controller
|
|||||||
GROUP BY winning_bids.winning_bidder_num
|
GROUP BY winning_bids.winning_bidder_num
|
||||||
");
|
");
|
||||||
|
|
||||||
$dompdf = new Dompdf();
|
$options = new \Dompdf\Options();
|
||||||
$dompdf->setOptions(['isHtml5ParserEnabled' => true, 'isRemoteEnabled' => true]);
|
$options->set('isHtml5ParserEnabled', true);
|
||||||
|
$options->set('isRemoteEnabled', true);
|
||||||
|
$dompdf = new Dompdf($options);
|
||||||
|
|
||||||
$html = view('receiptpdf', [
|
$html = view('receiptpdf', [
|
||||||
'checkout_final_results' => $checkout_final_results,
|
'checkout_final_results' => $checkout_final_results,
|
||||||
|
|||||||
Reference in New Issue
Block a user