Administration Human Resources

Shift Template Setup

Create and manage shift templates, configure break rules, overtime settings, and attendance penalties.

Shift Template Setup

Shift Template Setup

Create and manage shift templates, configure break rules, overtime settings, and attendance penalties.

Quick Access

Role Navigation Route
HR Admin HR → Shift Schedule Templates /hr/shift-schedule-templates
HR Admin HR → Shift Calendar /hr/shift-calendar
HR Admin Settings → Penalty Definitions /settings/penalty-definitions

Shift Templates Overview

Shift templates define:

  • Work hours and patterns
  • Break schedules
  • Overtime rules
  • Attendance penalties
  • Flexible time settings

Creating a Shift Template

Step-by-Step

  1. Go to HR → Shift Schedule Templates (/hr/shift-schedule-templates)
  2. Click + New Template
  3. Configure template settings (see sections below)
  4. Save template

[Screenshot: shift-template-editor]

Basic Settings

Setting Description
Template Name Descriptive name (e.g., "Morning Shift")
Description Additional details
Work Days Days of the week
Effective Date When template becomes active

Work Hours Configuration

Shift Timing

Setting Description
Start Time Shift start (e.g., 09:00)
End Time Shift end (e.g., 18:00)
Total Hours Expected work hours
Break Duration Break time deduction

Example Configurations

Shift Type Start End Hours Break
Morning 06:00 14:00 8 1 hr
Afternoon 14:00 22:00 8 1 hr
Night 22:00 06:00 8 1 hr
Office 09:00 18:00 8 1 hr

Split Shifts

For shifts with extended breaks:

  • Configure first work period
  • Set break period
  • Configure second work period

Break Rules

Break Settings

Setting Description
Break Start When break begins
Break Duration Length of break
Paid/Unpaid Whether break is paid
Auto-Deduct Automatic break deduction

Break Types

Type Description
Fixed Break Set time (e.g., 12:00-13:00)
Flexible Break Within window (e.g., 11:30-14:00)
No Break Continuous work period

Overtime Settings

OT Configuration

Setting Description
OT Threshold Hours before OT kicks in
OT Rate Multiplier for OT pay
Daily Cap Maximum OT hours per day
Approval Required Whether OT needs pre-approval

Overtime Calculation

Regular Hours: 8
Threshold: 8 hours
Work: 10 hours
OT Hours = 10 - 8 = 2 hours

OT Rate Examples

Scenario Rate
Weekday OT 1.5x
Weekend OT 2.0x
Public Holiday 3.0x

System Settings for OT

Setting Description
OVERTIME_HOUR_CAP_INCLUDE_PAID_LEAVE Include paid leave in OT caps
OVERTIME_HOUR_CAP_INCLUDE_PUBLIC_HOLIDAYS Include PH in OT caps
SCHEDULED_OVERTIME_SETTING Enable scheduled OT

Attendance Tolerance

Late Arrival Tolerance

Setting Description
Grace Period Minutes allowed late
Penalty Start When late penalty begins
Penalty Rate Deduction amount

Early Departure Tolerance

Setting Description
Grace Period Minutes allowed early
Penalty Start When penalty begins
Penalty Rate Deduction amount

Example

Shift Start: 09:00
Grace Period: 5 minutes
- Clock in 09:04 = On time
- Clock in 09:06 = Late (1 minute)
- Clock in 09:15 = Late (10 minutes)

Penalty Definitions

Accessing Penalties

  1. Go to Settings → Penalty Definitions (/settings/penalty-definitions)
  2. View and configure penalty rules

[Screenshot: penalty-definitions]

Penalty Types

Type Description
Late Penalty Deduction for lateness
Absent Penalty Deduction for unexcused absence
Early Out Penalty Deduction for early departure

Configuring Penalties

  1. Create penalty rule
  2. Set:
    • Penalty name
    • Trigger condition (minutes late, absent)
    • Calculation method
    • Deduction amount or formula
  3. Link to shift template

Penalty Calculation Methods

Method Example
Fixed Amount RM50 per incident
Per Minute RM1 per minute late
Percentage 0.5% of daily rate
Tiered Progressive penalties

Flexible Time (Flexi-shift)

Flexi Settings

Setting Description
Core Hours Mandatory presence period
Flexi Start Earliest clock-in time
Flexi End Latest clock-out time
Required Hours Minimum hours per day

Example Flexi Configuration

Flexi Window: 07:00 - 19:00
Core Hours: 10:00 - 16:00
Required: 8 hours

Employee can:
- Start anytime 07:00 - 10:00
- End anytime 16:00 - 19:00
- Must be present 10:00 - 16:00
- Must complete 8 hours total

Assigning Templates

Individual Assignment

  1. Open employee profile
  2. Navigate to shift section
  3. Assign template
  4. Set effective date

Bulk Assignment

  1. Go to Shift Calendar
  2. Select employees
  3. Apply template
  4. Confirm assignment

Department Default

Assign default template to department:

  1. Edit department settings
  2. Set default shift template
  3. New employees inherit default

Managing Multiple Templates

When to Use Multiple Templates

Scenario Approach
Day/Night shifts Separate templates
Different departments Department-specific templates
Seasonal changes Time-bound templates
Special projects Project-specific templates

Template Versioning

When changing templates:

  • Create new version
  • Set effective date
  • Old template remains for historical data

Common Tasks

Change Shift Timing

  1. Open template
  2. Modify start/end times
  3. Adjust break if needed
  4. Save (consider new version)

Add New Penalty

  1. Go to Penalty Definitions
  2. Create new penalty
  3. Configure trigger and amount
  4. Assign to relevant templates

Create Rotating Shift

For shifts that rotate:

  1. Create template for each shift
  2. Use shift calendar to assign
  3. Rotate assignments weekly/monthly

Tips

  1. Test before deploying - Try templates with a small group first
  2. Document changes - Keep records of template modifications
  3. Consider transitions - Plan overlap when changing templates
  4. Review regularly - Audit templates against actual needs

See Also

An unhandled error has occurred. Reload X

Rejoining the server...

Rejoin failed... trying again in <span id="components-seconds-to-next-attempt"></span> seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.