diff --git a/hrms/hr/report/employees_working_on_a_holiday/employees_working_on_a_holiday.py b/hrms/hr/report/employees_working_on_a_holiday/employees_working_on_a_holiday.py index f13fabf06e..f9fec8237b 100644 --- a/hrms/hr/report/employees_working_on_a_holiday/employees_working_on_a_holiday.py +++ b/hrms/hr/report/employees_working_on_a_holiday/employees_working_on_a_holiday.py @@ -45,7 +45,7 @@ def get_employees(filters): holiday_names[holiday.holiday_date] = holiday.description if holidays_list: - cond = " attendance_date in %(holidays_list)s" + cond = " attendance_date in %(holidays_list)s and status not in ('On Leave','Absent') " if filters.holiday_list: cond += (