Open kinger251285 opened 6 months ago
Further to this if i do:
$pdf = PDF::loadView('pdf.accountApplication', ['Application' => $Application])->save($Application->company_name.'.pdf');
It saves the file to the public drive and has created the pdf perfectly.
Laravel 10.10 Inertia Jetstream Vue Lavravel-Snappy 1.0 Local - profburial/wkhtmltopdf-binaries-osx": "0.12.1"
I am getting the below screenshot when trying to crate a PDF after adding in dynamic variables. This appears in a popup:
If i try stream rather than download i get a 500 error.
If i
dd($pdf);
then all the html output looks fine although file is null (not sure if this is correct).viewPDF Method:
pdf.accoutnApplication.blade.php