forked from science-ation/science-ation
Only consider complete/paymentpending for tour scheduling.
This commit is contained in:
parent
6ecfb4ab42
commit
74ea0b7050
@ -209,8 +209,11 @@ $q=mysql_query("SELECT students.id,students.grade,
|
||||
students.schools_id,
|
||||
students.firstname, students.lastname
|
||||
FROM students
|
||||
LEFT JOIN registrations ON registrations.id=students.registrations_id
|
||||
WHERE
|
||||
students.year='{$config['FAIRYEAR']}'
|
||||
AND ( registrations.status='complete'
|
||||
OR registrations.status='paymentpending' )
|
||||
ORDER BY
|
||||
students.id
|
||||
");
|
||||
|
Loading…
Reference in New Issue
Block a user