From 4953d2c13ceb7ce0e5bf3bab02e12185ae08aefb Mon Sep 17 00:00:00 2001 From: james Date: Fri, 13 Jan 2006 16:57:58 +0000 Subject: [PATCH] fix the table labels report to work multi-yaer --- admin/reports_projects_tablelabels.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/reports_projects_tablelabels.php b/admin/reports_projects_tablelabels.php index 385e5b2c..794f260f 100644 --- a/admin/reports_projects_tablelabels.php +++ b/admin/reports_projects_tablelabels.php @@ -63,7 +63,9 @@ WHERE projects.year='".$config['FAIRYEAR']."' - AND registrations.status='complete' + AND projectdivisions.year='".$config['FAIRYEAR']."' + AND projectcategories.year='".$config['FAIRYEAR']."' + AND ( registrations.status='complete' OR registrations.status='paymentpending' ) ORDER BY projects.projectnumber ");