Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tax Report - Missing File Extension - SOLVED
11-30-2017, 04:15 AM, (This post was last modified: 11-30-2017, 04:16 AM by VortecCPI.)
#1
Tax Report - Missing File Extension - SOLVED
Locale USA

Main Menu > General Ledger > Tax Reports

When the PDF is generated it is missing the ".pdf" file extension on the file name.

Fixed by changing line 314 in Tax.php...

From:
$pdf->OutputD($_SESSION['DatabaseName'] . '_Tax_Report_' . Date('Y-m-d'));

To:
$pdf->OutputD($_SESSION['DatabaseName'] . '_Tax_Report_' . Date('Y-m-d') . '.pdf');
https://www.linkedin.com/in/eclipsepaulbecker
Reply


Messages In This Thread
Tax Report - Missing File Extension - SOLVED - by VortecCPI - 11-30-2017, 04:15 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)