Merge pull request #7115 from neilLasrado/reports
Fixes for Absent Student Report
This commit is contained in:
commit
5bd8eb8d01
@ -49,7 +49,7 @@ def get_columns(filters):
|
||||
|
||||
def get_absent_students(date):
|
||||
absent_students = frappe.db.sql("""select student, student_name, student_batch from `tabStudent Attendance`
|
||||
where docstatus = 1 and date = %s order by student_batch, student_name""", date, as_dict=1)
|
||||
where docstatus = 1 and status="Absent" and date = %s order by student_batch, student_name""", date, as_dict=1)
|
||||
return absent_students
|
||||
|
||||
def get_leave_applications(date):
|
||||
|
Loading…
x
Reference in New Issue
Block a user