commit | 305166b111de602d8cd07c5aef7027253278a6ab | [log] [tgz] |
---|---|---|
author | Neil Trini Lasrado <neil@frappe.io> | Thu Dec 01 17:08:10 2016 +0530 |
committer | Neil Trini Lasrado <neil@frappe.io> | Thu Dec 01 18:40:49 2016 +0530 |
tree | d2dbb1f0cbfa2d121623ccde00a3173c4c1265a9 | |
parent | 14a4c729b333ec7727af43334d703c20940a4d51 [diff] |
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):