close #642 Fixed: Invoices do not have a euro sign (PDF)
This commit is contained in:
@ -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);
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user