forked from science-ation/science-ation
Add "committee members" to available email recipients in the communication system
This commit is contained in:
parent
6d635e89f7
commit
1de8f94516
@ -1,9 +1,11 @@
|
|||||||
<?
|
<?
|
||||||
$mailqueries=array(
|
$mailqueries=array(
|
||||||
|
"committee_all"=>array("name"=>"Committee Members (all)","query"=>
|
||||||
|
"SELECT name, organization, email FROM committees_members WHERE deleted='N'"),
|
||||||
|
|
||||||
"judges_all"=>array("name"=>"Judges from all years","query"=>
|
"judges_all"=>array("name"=>"Judges from all years","query"=>
|
||||||
"SELECT firstname, lastname, email FROM judges ORDER BY email"),
|
"SELECT firstname, lastname, email FROM judges ORDER BY email"),
|
||||||
|
|
||||||
|
|
||||||
"judges_active_thisyear"=>array("name"=>"Judges active for this year", "query"=>
|
"judges_active_thisyear"=>array("name"=>"Judges active for this year", "query"=>
|
||||||
"SELECT DISTINCT(judges.id), firstname, lastname, email FROM judges,judges_years WHERE judges_years.year='".$config['FAIRYEAR']."' AND judges.id=judges_years.judges_id ORDER BY email"),
|
"SELECT DISTINCT(judges.id), firstname, lastname, email FROM judges,judges_years WHERE judges_years.year='".$config['FAIRYEAR']."' AND judges.id=judges_years.judges_id ORDER BY email"),
|
||||||
|
|
||||||
@ -13,18 +15,15 @@
|
|||||||
"judges_active_complete_thisyear"=>array("name"=>"Judges active for this year and complete", "query"=>
|
"judges_active_complete_thisyear"=>array("name"=>"Judges active for this year and complete", "query"=>
|
||||||
"SELECT DISTINCT(judges.id), firstname, lastname, email FROM judges,judges_years WHERE judges_years.year='".$config['FAIRYEAR']."' AND judges.id=judges_years.judges_id AND judges.complete='yes' ORDER BY email"),
|
"SELECT DISTINCT(judges.id), firstname, lastname, email FROM judges,judges_years WHERE judges_years.year='".$config['FAIRYEAR']."' AND judges.id=judges_years.judges_id AND judges.complete='yes' ORDER BY email"),
|
||||||
|
|
||||||
|
|
||||||
"judges_active_incomplete_thisyear"=>array("name"=>"Judges active for this year but not complete", "query"=>
|
"judges_active_incomplete_thisyear"=>array("name"=>"Judges active for this year but not complete", "query"=>
|
||||||
"SELECT DISTINCT(judges.id), firstname, lastname, email FROM judges,judges_years WHERE judges_years.year='".$config['FAIRYEAR']."' AND judges.id=judges_years.judges_id AND judges.complete!='yes' ORDER BY email"),
|
"SELECT DISTINCT(judges.id), firstname, lastname, email FROM judges,judges_years WHERE judges_years.year='".$config['FAIRYEAR']."' AND judges.id=judges_years.judges_id AND judges.complete!='yes' ORDER BY email"),
|
||||||
|
|
||||||
"participants_complete_thisyear"=>array("name"=>"Participants complete this year","query"=>
|
"participants_complete_thisyear"=>array("name"=>"Participants complete this year","query"=>
|
||||||
"SELECT firstname, lastname, students.email FROM students,registrations WHERE students.registrations_id=registrations.id AND registrations.year='".$config['FAIRYEAR']."' AND ( registrations.status='complete' OR registrations.status='paymentpending') ORDER BY students.email"),
|
"SELECT firstname, lastname, students.email FROM students,registrations WHERE students.registrations_id=registrations.id AND registrations.year='".$config['FAIRYEAR']."' AND ( registrations.status='complete' OR registrations.status='paymentpending') ORDER BY students.email"),
|
||||||
|
|
||||||
|
|
||||||
"participants_complete_paymentpending_thisyear"=>array("name"=>"Participants complete this year but payment pending","query"=>
|
"participants_complete_paymentpending_thisyear"=>array("name"=>"Participants complete this year but payment pending","query"=>
|
||||||
"SELECT firstname, lastname, students.email FROM students,registrations WHERE students.registrations_id=registrations.id AND registrations.year='".$config['FAIRYEAR']."' AND registrations.status!='complete' AND registrations.status='paymentpending' ORDER BY students.email"),
|
"SELECT firstname, lastname, students.email FROM students,registrations WHERE students.registrations_id=registrations.id AND registrations.year='".$config['FAIRYEAR']."' AND registrations.status!='complete' AND registrations.status='paymentpending' ORDER BY students.email"),
|
||||||
|
|
||||||
|
|
||||||
"participants_notcomplete_thisyear"=>array("name"=>"Participants not complete this year","query"=>
|
"participants_notcomplete_thisyear"=>array("name"=>"Participants not complete this year","query"=>
|
||||||
"SELECT firstname, lastname, students.email FROM students,registrations WHERE students.registrations_id=registrations.id AND registrations.year='".$config['FAIRYEAR']."' AND registrations.status!='complete' AND registrations.status!='new' ORDER BY students.email"),
|
"SELECT firstname, lastname, students.email FROM students,registrations WHERE students.registrations_id=registrations.id AND registrations.year='".$config['FAIRYEAR']."' AND registrations.status!='complete' AND registrations.status!='new' ORDER BY students.email"),
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user