find error 40

This commit is contained in:
KhatamNugraha
2024-02-27 17:34:29 +07:00
parent 4970271759
commit 1f63309842

View File

@ -193,7 +193,7 @@
// $data['infoSuratOld'] = $infoSuratOld;
// $data['infoSuratNew'] = $infoSuratNew;
$data = ['title' => "KonfirmasiBank "];
// $data = ['title' => "KonfirmasiBank "];
//Inisialisasi DOMPDF
$options = new Options();
@ -201,7 +201,7 @@
$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' => $data])->render();
$html = View::make('konfirmasibank::exportPdf')->render();
// Konfigurasi DOMPDF
$dompdf->loadHtml($html);
@ -648,4 +648,4 @@
}
}
}