Fix issue with downloading PDF invoices
This commit is contained in:
parent
0a2a02bd5b
commit
60b7b9fc15
|
|
@ -59,7 +59,7 @@ class PdfInvoiceController extends Controller
|
|||
}
|
||||
$this->grandTotal();
|
||||
$this->output();
|
||||
return redirect()->back();
|
||||
exit();
|
||||
}
|
||||
|
||||
protected function newInvoicePage()
|
||||
|
|
@ -133,7 +133,7 @@ class PdfInvoiceController extends Controller
|
|||
$this->pdf->Cell(2, .3, '$'.number_format($this->invoiceData['grandTotal'], 2), 1);
|
||||
}
|
||||
|
||||
public function output($dest = 'I', $name = null)
|
||||
public function output($dest = 'D', $name = null)
|
||||
{
|
||||
if (! $name) {
|
||||
$name = auditionSetting('auditionAbbreviation').' Invoice for '.$this->school->name.'.pdf';
|
||||
|
|
|
|||
Loading…
Reference in New Issue