kingkay000 commited on
Commit
9bf6954
·
verified ·
1 Parent(s): 4e017a6

Update easypay/ajax_handlers_inactives.php

Browse files
easypay/ajax_handlers_inactives.php CHANGED
@@ -45,9 +45,7 @@ function searchStudents($pdo)
45
  CONCAT(last_name, ' ', first_name, ' ', COALESCE(other_name, '')) AS full_name
46
  FROM tb_student_registrations
47
  WHERE
48
- admission_status = 'Active' -- New condition added here
49
- AND (
50
- student_code LIKE :search1
51
  OR last_name LIKE :search2
52
  OR first_name LIKE :search3
53
  OR other_name LIKE :search4
 
45
  CONCAT(last_name, ' ', first_name, ' ', COALESCE(other_name, '')) AS full_name
46
  FROM tb_student_registrations
47
  WHERE
48
+ student_code LIKE :search1
 
 
49
  OR last_name LIKE :search2
50
  OR first_name LIKE :search3
51
  OR other_name LIKE :search4