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.schools_id,
|
||||||
students.firstname, students.lastname
|
students.firstname, students.lastname
|
||||||
FROM students
|
FROM students
|
||||||
|
LEFT JOIN registrations ON registrations.id=students.registrations_id
|
||||||
WHERE
|
WHERE
|
||||||
students.year='{$config['FAIRYEAR']}'
|
students.year='{$config['FAIRYEAR']}'
|
||||||
|
AND ( registrations.status='complete'
|
||||||
|
OR registrations.status='paymentpending' )
|
||||||
ORDER BY
|
ORDER BY
|
||||||
students.id
|
students.id
|
||||||
");
|
");
|
||||||
|
Loading…
Reference in New Issue
Block a user