Configure Leave Types
Configure Leave Types
Set up leave categories for students including medical leave, personal leave, and other absence types.
Time required: 10 minutes
Module: openeducat_student_leave_enterprise
User role: System Administrator, Academic Admin
Prerequisites
- System Administrator or Academic Admin role
- Student leave module installed
- Approval workflow configured (optional)
Steps
Step 1: Navigate to Leave Types
- Go to OpenEduCat -> Configuration -> Leave Types
- Or Students -> Configuration -> Leave Types
- Click Create
Step 2: Enter Leave Type Information
| Field | Required | Description | Example |
|---|---|---|---|
| Name | Yes | Leave type name | ”Medical Leave” |
| Code | Yes | Unique code | ”MED” |
| Description | No | Leave details | ”Leave for medical reasons” |
Step 3: Configure Leave Limits
| Field | Description | Example |
|---|---|---|
| Max Days per Year | Annual limit | 15 |
| Max Consecutive Days | Single stretch | 5 |
| Min Days Notice | Advance notice | 0 (emergency) |
| Carry Forward | Allow rollover | No |
Step 4: Set Documentation Requirements
| Requirement | Description |
|---|---|
| Document Required | Need supporting docs |
| Document Types | Allowed documents |
| Verification Required | Admin verification |
Step 5: Configure Approval Workflow
| Level | Approver | Description |
|---|---|---|
| 1 | Class Teacher | First review |
| 2 | HOD | Department head |
| 3 | Dean | Final approval |
Step 6: Set Attendance Impact
| Setting | Description |
|---|---|
| Count as Absence | Affects attendance % |
| Exempt from Minimum | Doesn’t count against |
| Require Makeup | Compensation needed |
Step 7: Define Eligibility
| Condition | Description |
|---|---|
| Student Type | Regular/Part-time |
| Minimum Enrollment | Days since joining |
| Course Types | Applicable courses |
Step 8: Save Leave Type
Click Save to create the leave type.
Common Leave Types
| Leave Type | Max Days | Notice | Documents |
|---|---|---|---|
| Medical Leave | 15 | 0 days | Medical certificate |
| Personal Leave | 10 | 3 days | None |
| Emergency Leave | 5 | 0 days | As applicable |
| Academic Event | Varies | 7 days | Event confirmation |
| Sports Leave | 15 | 5 days | Selection letter |
| Bereavement | 5 | 0 days | Death certificate |
| Maternity/Paternity | 90/15 | 30 days | Medical docs |
Leave Type Categories
Leave Types├── Medical│ ├── Sick Leave│ ├── Hospitalization│ └── Recovery Leave├── Personal│ ├── Casual Leave│ ├── Emergency Leave│ └── Family Leave├── Academic│ ├── Conference Leave│ ├── Research Leave│ └── Exam Prep Leave└── Special ├── Sports Leave └── Cultural LeaveField Reference
Leave Type
| Technical Field | UI Label | Type | Notes |
|---|---|---|---|
name | Name | Char | Leave type name |
code | Code | Char | Unique code |
max_days | Max Days | Integer | Annual limit |
max_consecutive | Max Consecutive | Integer | Days in row |
notice_days | Notice Required | Integer | Days advance |
document_required | Require Docs | Boolean | Need documents |
affect_attendance | Affect Attendance | Boolean | Count absence |
Troubleshooting
Leave type not appearing in application
Ensure leave type is Active and eligible for student’s course type.
Limit exceeded error
Student has used maximum allowed days. Check leave balance.
Approval workflow not working
Verify approval levels are configured and approvers are assigned.
Related: Manage Faculty Records | Configure Calendar Settings