mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 19:35:09 +00:00
[Attendance-Tool] Filter employees based on date of joining (#15262)
This commit is contained in:
@@ -16,7 +16,7 @@ class EmployeeAttendanceTool(Document):
|
||||
def get_employees(date, department = None, branch = None, company = None):
|
||||
attendance_not_marked = []
|
||||
attendance_marked = []
|
||||
filters = {"status": "Active"}
|
||||
filters = {"status": "Active", "date_of_joining": ["<=", date]}
|
||||
if department != "All":
|
||||
filters["department"] = department
|
||||
if branch != "All":
|
||||
|
||||
Reference in New Issue
Block a user