From 02d8723ab63f4f781c25be1cf10ce0927d86112d Mon Sep 17 00:00:00 2001 From: james Date: Fri, 3 Apr 2009 15:12:12 +0000 Subject: [PATCH] Allow projects to be manually assigned to judges teams even if their status is paymentpending --- admin/judges_teams_projects.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/admin/judges_teams_projects.php b/admin/judges_teams_projects.php index 4d722c9a..041df014 100644 --- a/admin/judges_teams_projects.php +++ b/admin/judges_teams_projects.php @@ -210,7 +210,8 @@ if( ($action=="edit" || $action=="assign" ) && $edit) registrations WHERE projectnumber is not null AND - registrations.status='complete' AND + (registrations.status='complete' OR + registrations.status='paymentpending' ) AND projects.registrations_id=registrations.id AND projects.year='".$config['FAIRYEAR']."' ORDER BY @@ -229,7 +230,8 @@ if( ($action=="edit" || $action=="assign" ) && $edit) registrations WHERE projectnumber is not null AND - registrations.status='complete' AND + (registrations.status='complete' OR + registrations.status='paymentpending' ) AND projects.registrations_id=registrations.id AND judges_teams_timeslots_projects_link.projects_id IS NULL AND projects.year='".$config['FAIRYEAR']."'