Open ashish-greycube opened 5 years ago
We can limit the access to the create action in attendance doctype.
I hope.., attendance doctype access is to be given to HR or Reporting Manager only. Not for every employee.
So that employees can only report their leaves on the system and the employer can track the employee attendance through Biometrics Or Timesheet Entries.
Scenario An employee comes to office on 5th Dec for half day and then leave. There is no leave application from him. Create Attendance Request for half day on 5th Dec and submit it.
Actual: Attendance Request gets submitted. Such that Attendance record has status='Half day' and leave_type=none Expected: When someone is on half day presence, it should be mandatory to have half day leave record so that payroll cuts pay for half day. Solution- Half day attendance request should not be allowed. Instead there should be validation message which says ' Attendance not submitted for half day. Instead put half day leave on 2018-12-05'