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 ");