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
- Go to HR → Shift Schedule Templates (
/hr/shift-schedule-templates)
- Click + New Template
- Configure template settings (see sections below)
- 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
- Go to Settings → Penalty Definitions (
/settings/penalty-definitions)
- 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
- Create penalty rule
- Set:
- Penalty name
- Trigger condition (minutes late, absent)
- Calculation method
- Deduction amount or formula
- 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
- Open employee profile
- Navigate to shift section
- Assign template
- Set effective date
Bulk Assignment
- Go to Shift Calendar
- Select employees
- Apply template
- Confirm assignment
Department Default
Assign default template to department:
- Edit department settings
- Set default shift template
- 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
- Open template
- Modify start/end times
- Adjust break if needed
- Save (consider new version)
Add New Penalty
- Go to Penalty Definitions
- Create new penalty
- Configure trigger and amount
- Assign to relevant templates
Create Rotating Shift
For shifts that rotate:
- Create template for each shift
- Use shift calendar to assign
- Rotate assignments weekly/monthly
Tips
- Test before deploying - Try templates with a small group first
- Document changes - Keep records of template modifications
- Consider transitions - Plan overlap when changing templates
- Review regularly - Audit templates against actual needs
See Also