Fixes for Student Batch Wise attendance tool
diff --git a/erpnext/schools/report/student_batch_wise_attendance/student_batch_wise_attendance.py b/erpnext/schools/report/student_batch_wise_attendance/student_batch_wise_attendance.py
index eaf090e..c112b59 100644
--- a/erpnext/schools/report/student_batch_wise_attendance/student_batch_wise_attendance.py
+++ b/erpnext/schools/report/student_batch_wise_attendance/student_batch_wise_attendance.py
@@ -48,7 +48,7 @@
 
 def get_active_student_batch():
 	active_student_batch = frappe.db.sql("""select name from `tabStudent Batch` 
-		where active = 1 order by name""", as_dict=1)
+		where enabled = 1 order by name""", as_dict=1)
 	return active_student_batch
 
 def get_student_batch_strength(student_batch):