Skip to main content

Count weekends and holidays inside leave

Three ticks on the leave group line decide whether rest days and holidays inside a leave cost balance. Two of them count every such day in the range. The sandwich rule counts only the ones between two leave days.

Screen
Time Management › Setup › Leave Group, Details
Who
Implementation consultant
Needs first
The employee's calendar, which says which days are rest days and holidays

Before you start​

  • Which days are rest days and holidays comes from the employee's calendar and roster, not from leave.
  • The three ticks, on each type's line:
    • Include Weekends: every rest day in the range is charged, even the first or last day.
    • Include Holidays: every public holiday in the range is charged.
    • Sandwich Rule: a rest day or holiday is charged only when charged leave days sit on both sides of it inside the same leave.
  • Example, Saturday and Sunday off, leave Friday to Monday:
SettingDays charged
None ticked2: Friday, Monday
Sandwich Rule4: Friday to Monday
Include Weekends4: Friday to Monday
  • Leave Saturday to Monday: with Sandwich Rule only, 1 day, because Saturday and Sunday are not between two leave days. With Include Weekends, 3 days.
  • The sandwich rule works inside one leave. A Friday leave and a separate Monday leave do not charge the weekend between them.

Steps​

  1. Open Leave Group, go to Details and find the type's line.
  2. Tick Include Weekends, Include Holidays or Sandwich Rule, as the policy says. Leave all three unticked to charge working days only.
  3. Save. It applies to leave saved from then on.

Check it worked​

  • On Employee Request Leave, pick dates across a weekend. The days in yellow on the calendar are the days charged, and Leave Days is their count.

If it goes wrong​

  • Friday and Monday as two leaves still leave the weekend free - correct. The sandwich rule only looks inside one leave.
  • A weekend between two absences should be charged - that is a calendar rule, not leave. Tick Sandwich Absent on the Calendar. Payroll Attendance then deducts the rest day as well.
  • A leave over a holiday cost an extra day - Include Holidays or Sandwich Rule is ticked on that line.
  • A leave of only rest days cost nothing - correct when none of the three is ticked.
  • Leave saved before the change still shows the old count - it keeps the days it was saved with.