Update PdfInvoiceController.php

This commit is contained in:
Matt Young 2024-08-09 11:51:49 -05:00
parent 2c39469592
commit 0a2a02bd5b
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class PdfInvoiceController extends Controller
$this->pdf->Cell(2, .3, '$'.number_format($this->invoiceData['grandTotal'], 2), 1); $this->pdf->Cell(2, .3, '$'.number_format($this->invoiceData['grandTotal'], 2), 1);
} }
public function output($dest = 'D', $name = null) public function output($dest = 'I', $name = null)
{ {
if (! $name) { if (! $name) {
$name = auditionSetting('auditionAbbreviation').' Invoice for '.$this->school->name.'.pdf'; $name = auditionSetting('auditionAbbreviation').' Invoice for '.$this->school->name.'.pdf';