find error 40
This commit is contained in:
@ -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 @@
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user