From 1f6330984286b7922ebc0f47bd5631bc7420f578 Mon Sep 17 00:00:00 2001 From: KhatamNugraha Date: Tue, 27 Feb 2024 17:34:29 +0700 Subject: [PATCH] find error 40 --- Http/Controllers/KonfirmasiBankController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Http/Controllers/KonfirmasiBankController.php b/Http/Controllers/KonfirmasiBankController.php index d0e9500..427bf61 100644 --- a/Http/Controllers/KonfirmasiBankController.php +++ b/Http/Controllers/KonfirmasiBankController.php @@ -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 @@ } - } + } \ No newline at end of file