Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
P&L Report - Account Link Missing Periods - SOLVED
03-10-2018, 07:22 AM, (This post was last modified: 03-10-2018, 07:41 AM by VortecCPI.)
#1
P&L Report - Account Link Missing Periods - SOLVED
GLProfit_Loss.php

When clicking on an Account hyperlink it is only passing "Period" whereas in the Trial Balance it passes "FromPeriod" and "ToPeriod". This causes GLAccountInquiry.php to show only the end period instead of the entire range used for the P&L report.
Looks like a simple change for the fix.

Change this line:
PHP Code:
$ActEnquiryURL '<a href="' $RootPath '/GLAccountInquiry.php?Period=' $_POST['ToPeriod'] . '&amp;Account=' $myrow['accountcode'] . '&amp;Show=Yes">' $myrow['accountcode'] . '</a>'

To this:
PHP Code:
$ActEnquiryURL '<a href="' $RootPath '/GLAccountInquiry.php?FromPeriod=' $_POST['FromPeriod'] . '&amp;ToPeriod=' $_POST['ToPeriod'] . '&amp;Account=' $myrow['accountcode'] . '&amp;Show=Yes">' $myrow['accountcode'] . '</a>'

Hyperlink code borrowed fromGLTrialBalance.php.

https://www.linkedin.com/in/eclipsepaulbecker
Reply
03-10-2018, 08:28 AM, (This post was last modified: 03-10-2018, 08:33 AM by VortecCPI.)
#2
RE: P&L Report - Account Link Missing Periods - SOLVED
Same issue with AnalysisHorizontalIncome.php and GLTagProfit_Loss.php scripts.
https://www.linkedin.com/in/eclipsepaulbecker
Reply
03-10-2018, 04:06 PM,
#3
RE: P&L Report - Account Link Missing Periods - SOLVED
Changed committed to all 3 files.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)