mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
fixed typo
fixes type in filter parameter
This commit is contained in:
@@ -125,7 +125,7 @@ class LeaveApplication(Document):
|
|||||||
status = "Half Day" if date == self.half_day_date else "On Leave"
|
status = "Half Day" if date == self.half_day_date else "On Leave"
|
||||||
|
|
||||||
attendance_name = frappe.db.exists('Attendance', dict(employee = self.employee,
|
attendance_name = frappe.db.exists('Attendance', dict(employee = self.employee,
|
||||||
attenance_date = date, docstatus = ('!=', 2)))
|
attendance_date = date, docstatus = ('!=', 2)))
|
||||||
|
|
||||||
if attendance_name:
|
if attendance_name:
|
||||||
# update existing attendance, change absent to on leave
|
# update existing attendance, change absent to on leave
|
||||||
|
|||||||
Reference in New Issue
Block a user