The leave setting was managed by the admin user only. This setting will be used throughout the whole plugin system.
To access this setting, go to the Settings tab → then navigate to Leaves
There are two use cases applied for this setting:
1. Enable Leave Approval Workflow
Step 1: In the Leave settings section, check the box labeled Enable leave approval workflow. This ensures that all leave requests will follow an approval process.
Step 2: Configuring Default Allocation:
Enter the default number of Allocation Days: This specifies the default annual leave entitlement for users.
Enable ‘Allow accumulation’: When enabled, unused vacation days will carry over to the next year, allowing employees to accumulate time off.
Step 3: Configuring Other Leave Allocations:
In the Other allocations section, click on Add new to configure additional leave types for specific users.
Then you can specify different allocation days and assign them to specific resources:
To modify or remove an allocation, use the edit and delete icons next to each allocation entry.
2. Disable Leave Approval Workflow
Leave Types
Enable leave approval workflow: If checked all leave requests go through the approval process. If not user can plan time off directly in the Schedule without sending request for approval.
Allocation days: Number of days allocated per year.
Allow accumulation: Checked this will allow the system to accumulate the number of remaining days from previous year to the current year.
Maximum accumulated days: Maximum number of days can be accumulated to next year
Other allocations: Create some special allocation and assign it to someone. These special allocations will ignore system settings to apply for assignees.
Leave types: Manage and create leave type. The user can see all types in leave request creating.
Note:
The default setting is:
Allocation days: 12 days
Allow accumulating: Yes
Maximum accumulated days: 12 days