Skip to content

Commit

Permalink
fix: Attendance Request for future date
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihantra-Patel authored Aug 9, 2024
1 parent 0487ba2 commit 33d7085
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hrms/hr/doctype/attendance_request/attendance_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class OverlappingAttendanceRequestError(frappe.ValidationError):
class AttendanceRequest(Document):
def validate(self):
validate_active_employee(self.employee)
validate_dates(self, self.from_date, self.to_date)
self.validate_half_day()
self.validate_request_overlap()

Expand Down

0 comments on commit 33d7085

Please sign in to comment.