fix devops error
This commit is contained in:
@@ -25,11 +25,7 @@ class InvoiceController extends Controller
|
||||
\Debugbar::disable();
|
||||
$data['invoice'] = Invoices::getByUUID($uuid);
|
||||
$filename = 'invoice-'.$uuid.'.pdf';
|
||||
$html = view('Shop.Invoices.pdf', $data)->toHtml();
|
||||
|
||||
// $html = '<h1>Hello world!</h1>';
|
||||
// return PDF::convertHTML($html);
|
||||
// return view('Shop.Invoices.pdf', $data);
|
||||
return PDF::view('Shop.Invoices.pdf', $data, $filename);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user