1. Overview & Business Purpose
The Leaves & Time Off Management Module in ITSTHS Workspace allows HR departments and team leaders to manage employee vacation requests, sick leaves, maternity/paternity leaves, annual leave balances, and manager approval workflows.
2. What This Feature Does
- Leave Application Portal: Staff members submit time-off requests specifying leave type, date range, total days, and reason.
- Multi-Level Approval Workflows: Line managers receive instant email alerts to approve or reject leave applications with feedback notes.
- Annual Leave Balance Tracking: System automatically calculates used vs remaining leave entitlements per leave category.
- Team Availability Calendar: Visual calendar highlighting team absence schedules to prevent staffing shortages.
3. Common Business Use Cases
- Annual Paid Vacation Approval: Staff apply for annual vacation; line managers review team coverage before approving.
- Sick Leave Logging: Log sick leave days with optional medical certificate file uploads.
4. Before You Begin (Prerequisites)
- Leave types configured in
Settings → Leave Types(e.g., Casual, Sick, Annual).
5. Required System Permissions
- Staff submit leave via self-service; approval requires
can_manage_leaves()or Admin role.
6. Plan Tier Availability
Available on: Standard, Growth, and Enterprise plans.
7. Navigation Path ("Where to Find It")
Workspace → Team → Leave Applications.
8. Field-by-Field Reference Dictionary Table
| Field Name | Form Control | Required? | Description |
|---|---|---|---|
leave_type_id |
Dropdown | Required | Category of leave (Sick, Casual, Paid Annual). |
9. Step-by-Step Operating Procedures
- Navigate to
Workspace → Team → Leave Applications→ click Apply for Leave. - Select Leave Type, Start Date, End Date, and Reason.
- Click Submit Application. Line manager receives an email notification.
10. Statuses & Lifecycle States Table
| Status | Behavior |
|---|---|
| Pending | Awaiting line manager review and approval. |
| Approved | Leave approved; deducts days from annual balance. |
11. Automated System Actions & Triggers
- Approval deducts leave days from annual employee leave balance and updates team calendar.
12. Input Validation Rules & Error Messages
Insufficient Leave Balance— Prevents applying for more days than allocated annual entitlement.
13. System Constraints & Limits
- Leave dates cannot overlap with existing approved leave applications.
14. Technical & Payload Architecture
- Leave records stored in `leave_applications` table.
15. Edge Cases & Known Gotchas
- Rejecting an approved leave application restores the deducted days to the staff balance.
16. Troubleshooting & Diagnostics Guide
- If leave balance is incorrect, verify annual leave allocations in `Settings → Leave Types`.
17. Operational Best Practices
- Apply for annual leave at least 14 days in advance to ensure smooth team resource scheduling.
18. Security, Audit & Compliance Notes
- Leave approvals and rejections log manager user ID and timestamp.
19. Frequently Asked Questions (FAQs)
Q: Can managers apply leave on behalf of staff?
A: Yes, HR admins can create and approve leave entries directly.