Open OthmanAlseagh opened 3 years ago
when I use save function
$pdf = Pdf::loadView('pdf.invoice', ['data' => $data]); $name = 'receipt-#'.$data['order']->order_number.'1.pdf'; $path = $pdf->save($name,'F');
i want to get the file path so i can donload it with laravel nova action
return Action::download(url(path),$name);
note: laravel nova does not use $pdf->download($name)
how i can solve this issue???????????????????
when I use save function
$pdf = Pdf::loadView('pdf.invoice', ['data' => $data]); $name = 'receipt-#'.$data['order']->order_number.'1.pdf'; $path = $pdf->save($name,'F');
i want to get the file path so i can donload it with laravel nova action
note: laravel nova does not use $pdf->download($name)
how i can solve this issue???????????????????