1. check in rule
- Late – [FIX -TIME – EMPLOYEE]
- OFFICE_START_TIME = 9:00 AM
- CHECK_IN_GRACE_PERIOD = 15 MIN
- LATE_PERIOD = 30 MIN
- Late – [FIX -TIME – EMPLOYEE]
- – Late start time = [OFFICE_START_TIME + CHECK_IN_GRACE_PERIOD] – 9:15 AM
- – Late end time = [OFFICE_START_TIME + CHECK_IN_GRACE_PERIOD + LATE_PERIOD] – 9:45 am
If any employee punch in between 9:15 AM to 9:45 AM then it will be considered that day as a late day.
- Half day – [FIX -TIME – EMPLOYEE]
- LATE_END_TIME- 9:45 AM
- HALF_DAY_PERIOD – 45 MIN
- – Half Day Start Time = [LATE_END_TIME] – 9:45 AM
- – Half Day End Time = [LATE_END_TIME + HALF_DAY_PERIOD] – 10:30 am
If any employee punch in between 9:45 AM to 10:30 AM then it will be considered that day as a half day.
- Absent –
after Half Day End Time, they cannot punch in from the app and if they want a work that day then they need approval from a management authority person.
in the application see and then punch in the approval request, when he makes a request the management authority person will approve it, and then in request time is considered as a punch in time.
2. check out the rule
Note: we are not check at punch out time it’s we are checking it will when employee make salary slip then we check a late and half day as per late and half day rule same check in time. It will work for both types employees [fix office time and flexible time employee]
- OFFICE_END_TIME = 7:00 PM – for FIX Office time employee
- TOTAL_WORKING_MINUTES – 540 MIN
- CHECK_IN_GRACE_PERIOD = 15 MIN
- LATE_PERIOD = 30 MIN
- HALF_DAY_PERIOD = 45 MIN
- Late –
LATE_PERIOD_TIME = [LATE_PERIOD + CHECK_IN_GRACE_PERIOD]
- FIX OFFICE TIME EMPLOYEE
– Late start time = [OFFICE_END_TIME – LATE_PERIOD_TIME] – 6:15 PM
– Late end time = [OFFICE_END_TIME – CHECK_IN_GRACE_PERIOD] – 6:45 PM
If any employee punch out between 6:15 PM to 6:45 PM then it will be considered that day as a late day.
FLEXIBLE OFFICE TIME
– Late start time = [TOTAL_WORKING_MINUTES – LATE_PERIOD_TIME] – 495 MIN
– Late end time = [TOTAL_WORKING_MINUTES – CHECK_IN_GRACE_PERIOD] – 525 MIN
If any employee worked a total minutes between 495 to 525 min, then it will be considered that day as a late day.
- Half Day –
FIX OFFICE TIME EMPLOYEE
LATE_START_TIME- 6:15 PM
Half day count before 6:15 PM punch out time
FLEXIBLE OFFICE TIME
LATE_START_TIME- – 495 MIN
Half-day count when he will work less than 495 minutes work on that day