RE: General Ledger Account Inquiry - No Show - SOLVED?
Looks good, but when you are coming from SelectGLAccount.php it now shows a message about no periods being set. I added in a line before the display code with
$TargetPeriod = GetPeriod(date($_SESSION['DefaultDateFormat']));
and then altered the link to GLAccountInquiry.php to:
<a href="' . $RootPath . '/GLAccountInquiry.php?Account=' . urlencode($MyRow['accountcode']) . '&Show=Yes&FromPeriod=', $TargetPeriod, '&ToPeriod=', $TargetPeriod, '">
This will show the current period, of course $TargetPeriod can be changed to show something else.
Thanks
Tim
|