find error 37
This commit is contained in:
@ -194,15 +194,13 @@
|
||||
$data['infoSuratOld'] = $infoSuratOld;
|
||||
$data['infoSuratNew'] = $infoSuratNew;
|
||||
|
||||
// dd($data);
|
||||
|
||||
//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')->render();
|
||||
$html = View::make('konfirmasibank::exportPdf', ['data' => $data])->render();
|
||||
// Konfigurasi DOMPDF
|
||||
|
||||
$dompdf->loadHtml($html);
|
||||
@ -649,4 +647,4 @@
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user