close #642 Fixed: Invoices do not have a euro sign (PDF)

This commit is contained in:
cuneytsenturk
2018-11-29 12:56:49 +03:00
parent e000f55e65
commit 9934ebda30
6 changed files with 31 additions and 16 deletions

View File

@ -337,7 +337,9 @@ class Bills extends Controller
{
$bill = $this->prepareBill($bill);
$html = view($bill->template_path, compact('bill'))->render();
$currency_style = true;
$html = view($bill->template_path, compact('bill', 'currency_style'))->render();
$pdf = \App::make('dompdf.wrapper');
$pdf->loadHTML($html);

View File

@ -418,7 +418,9 @@ class Invoices extends Controller
{
$invoice = $this->prepareInvoice($invoice);
$html = view($invoice->template_path, compact('invoice'))->render();
$currency_style = true;
$html = view($invoice->template_path, compact('invoice', 'currency_style'))->render();
$pdf = app('dompdf.wrapper');
$pdf->loadHTML($html);