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'] . '&Account=' . $myrow['accountcode'] . '&Show=Yes">' . $myrow['accountcode'] . '</a>';
To this:
PHP Code:
$ActEnquiryURL = '<a href="' . $RootPath . '/GLAccountInquiry.php?FromPeriod=' . $_POST['FromPeriod'] . '&ToPeriod=' . $_POST['ToPeriod'] . '&Account=' . $myrow['accountcode'] . '&Show=Yes">' . $myrow['accountcode'] . '</a>';
Hyperlink code borrowed fromGLTrialBalance.php.