Merge pull request #762 from boumanb/master

Euro symbol not being displayed in PDF fix
This commit is contained in:
Cüneyt Şentürk 2019-02-13 12:55:31 +03:00 committed by GitHub
commit 24923b89d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -349,7 +349,7 @@ class Invoices extends Controller
$invoice = $this->prepareInvoice($invoice);
$html = view($invoice->template_path, compact('invoice'))->render();
$html = mb_convert_encoding(view($invoice->template_path, compact('invoice'))->render(), 'HTML-ENTITIES');
$pdf = \App::make('dompdf.wrapper');
$pdf->loadHTML($html);