Easydo Tasks

Leave Rules

  1. When an employee create then we assign to leave as per branch. Like we have 4 types leave on the system
    1. Earn leave
    2. Casual leave
    3. Sick leave
    4. Other leave
  • When new employee creates on the application then we add then leave base on employee branch leave rules.
  • When employee update then we check if employee added a app join date or not if yes then we set leave balance base on it.

Leave balance rule for join employee

  • If the probation period is “ON”   then check the employee app join date bigger current date or less current date
  • If the probation period is “ON” then check the probation period is completed or not, if completed then count the after-completed month to the current month and add the base on the earn and casual leave balance on it. and sick and other leave will same as the branch rule and transfer the same as on it.
  • IF the probation period “ON” is started then earn and casual leave balance is 0 on it, but is opening balance on employee then transfer on earn leave balance it and sick and other leave balance is 0.
  • If OFF the probation period then check current month to date of join and add the earn and casual leave balance on it and sick and other leave add on.

NOTE – sick and other leave will same as branch leave and earn and casual leave divided by 12 months and added after the end of the month [it will be every 1st day for each employee leave balance]

ADD LEAVE APPROVAL

– If an employee add leave for 3 days and it will approve then we manage a few blows for it.

  1. We first count the week off and holiday
  2. If the employee is present on leave date, then it will count as a present for the date

i.e. 3-day leave added 

  • 10-02-2024 [SATURDAY]
  • 11-02-2024 [SUNDAY]
  • 12-02-2024 [MONDAY]

In that case, we are counting 2 days of leave because 11-02-2024 day is a holiday Sunday.

If the employee will present on 12-02-2024 [Monday], then only 1 day of leave counts.