find erro 36

This commit is contained in:
KhatamNugraha
2024-02-27 15:32:26 +07:00
parent ac26302af8
commit 2b818027c7
2 changed files with 3 additions and 5 deletions

View File

@ -196,15 +196,13 @@
// dd($data);
$dataTest = array("Apple", "Banana", "Orange", "Mango");
//Inisialisasi DOMPDF
$options = new Options();
$options->set('isHtml5ParserEnabled', true);
$options->set('isPhpEnabled', true);
$options->set(['padding-top' => 39, 'padding-right' => 10, 'padding-bottom' => 20, 'padding-left' => 15]);
$dompdf = new Dompdf($options);
$html = View::make('konfirmasibank::exportPdf', ['data' => $dataTest])->render();
$html = View::make('konfirmasibank::exportPdf')->render();
// Konfigurasi DOMPDF
$dompdf->loadHtml($html);
@ -651,4 +649,4 @@
}
}
}

View File

@ -84,7 +84,7 @@
</head>
<body>
<div class="content">
<h1>On Testing</h1>
<h1>Test</h1>
</div>
</body>
</html>