webERP Forum

Full Version: Aged Debtor Analysis
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All
When I run the Aged Debtor Analysis detailed report the page numbering is wrong the pages are numbered 1, 3, 5, and 6 the data all is correct, I have tried this on two different installs and the same both verison 4.12.3
Thanks Again for all the great work
Dave Parrish
I haven't had time to test it, but a quick look at the code shows that AgedDebtors.php increments the $PageNumber variable and then includes the 'includes/PDFAgedDebtorsPageHeader.inc' script which then also increments the $PageNumber variable at the top of this script. I would try commenting out this line in the page header script and seeing if that fixes it.

Thanks
Tim
(02-19-2016, 08:40 AM)falkoner Wrote: [ -> ]I haven't had time to test it, but a quick look at the code shows that AgedDebtors.php increments the $PageNumber variable and then includes the 'includes/PDFAgedDebtorsPageHeader.inc' script which then also increments the $PageNumber variable at the top of this script. I would try commenting out this line in the page header script and seeing if that fixes it.

Thanks
Tim
Thanks for the response it ended up being AgedDebtors.php line 401 I commented out $PageNumber++;
Thanks Again
Hi, Daveparrish,

Thank you very much!

I've committed your fix to the trunk.

Best regards!

Exson