fix a few reports to make sure we dont duplicate results for multiple years

This commit is contained in:
james 2005-12-08 16:17:12 +00:00
parent 5bd24e3f8d
commit 3f50a343af
2 changed files with 7 additions and 4 deletions

View File

@ -61,7 +61,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
");

View File

@ -73,7 +73,10 @@
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
");
@ -112,8 +115,6 @@
$table['dataalign']=array("center","left");
//FIXME: this is where i left off, this query is not modified yet to pull the timeslots for the PROJECT
//get the timeslots that this project has assigned to been judged.
$q=mysql_query("SELECT
judges_timeslots.date,