Post Reply 
 
Thread Rating:
  • 0 Votes - 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.)
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


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

Forum Jump:


User(s) browsing this thread: 1 Guest(s)