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
11-30-2017, 07:58 AM
Post: #2
RE: Tax Report - Missing File Extension - SOLVED
Hi Paul,

This has been fixed in the trunk since the last release.
In addition to this fix, I have done some other work on the Petty Cash Expenses module in recent times, with help from Tim. There is now provision to enter tax for each expense, and also you can now upload a receipt image/file to each expense entry.

Andy.

https://www.linkedin.com/in/andrewcouling
Find all posts by this user
Quote this message in a reply
11-30-2017, 10:39 PM (This post was last modified: 11-30-2017 10:48 PM by VortecCPI.)
Post: #3
RE: Tax Report - Missing File Extension - SOLVED
Thank you Andy!

Do we have any idea when the next version of webERP will be released and available? It appears a lot of work has been done so I am eager to see it.

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 


Forum Jump:


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