forked from science-ation/science-ation
Add three new email recipients to the communications module:
1) special award sponsors (confirmed only) 2) special award sponsors (unconfirmed only) 3) special award sponsors (all)
This commit is contained in:
parent
57ff84c563
commit
3519bc5e0e
@ -27,5 +27,15 @@
|
||||
|
||||
"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"),
|
||||
|
||||
"special_award_sponsors_confirmed"=>array("name"=>"Special Award Sponsors (confirmed only)","query"=>
|
||||
"SELECT DISTINCT(award_sponsors.id), organization, firstname, lastname, award_contacts.email FROM award_sponsors, award_awards, award_contacts WHERE award_awards.award_sponsors_id=award_sponsors.id AND award_contacts.award_sponsors_id=award_sponsors.id AND award_sponsors.confirmed='yes' AND award_awards.award_types_id='2'"),
|
||||
|
||||
"special_award_sponsors_unconfirmed"=>array("name"=>"Special Award Sponsors (unconfirmed only)","query"=>
|
||||
"SELECT DISTINCT(award_sponsors.id), organization, firstname, lastname, award_contacts.email FROM award_sponsors, award_awards, award_contacts WHERE award_awards.award_sponsors_id=award_sponsors.id AND award_contacts.award_sponsors_id=award_sponsors.id AND award_sponsors.confirmed='no' AND award_awards.award_types_id='2'"),
|
||||
|
||||
"special_award_sponsors_all"=>array("name"=>"Special Award Sponsors (all)","query"=>
|
||||
"SELECT DISTINCT(award_sponsors.id), organization, firstname, lastname, award_contacts.email FROM award_sponsors, award_awards, award_contacts WHERE award_awards.award_sponsors_id=award_sponsors.id AND award_contacts.award_sponsors_id=award_sponsors.id AND award_awards.award_types_id='2'"),
|
||||
|
||||
);
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user