invoice pdf fix

This commit is contained in:
denisdulici
2018-06-10 15:38:07 +03:00
parent 3a0a349090
commit c274d38f13
2 changed files with 10 additions and 1 deletions

View File

@ -623,7 +623,7 @@ class Invoices extends Controller
$html = view($invoice->template_path, compact('invoice'))->render();
$pdf = \App::make('dompdf.wrapper');
$pdf = app('dompdf.wrapper');
$pdf->loadHTML($html);
//$pdf->setPaper('A4', 'portrait');