Fix getting a filename for a bill's pdf.
This commit is contained in:
parent
f67bb935ec
commit
7a834bf246
|
|
@ -293,7 +293,7 @@ class Bills extends Controller
|
|||
$pdf = app('dompdf.wrapper');
|
||||
$pdf->loadHTML($html);
|
||||
|
||||
$file_name = $this->getBillFileName($bill);
|
||||
$file_name = $this->getDocumentFileName($bill);
|
||||
|
||||
return $pdf->download($file_name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue