Factorial allows users to manage leaves directly from the Shifts page, providing a more streamlined process for handling time-off requests. This enhancement ensures that shifts and absences are managed in a unified way, preventing conflicts and improving scheduling efficiency.
With this feature, users with the appropriate permissions can add, approve/reject, and delete leaves within the Shifts page, rather than navigating separately to the Time off module.
Available actions
1. Adding leaves
The user must have permission to Create and edit leaves.
- In the sidebar, go to Shifts
- Select an employee’s shift
- Click Add absence
- Fill in the leave details
- Submit the request

2. Approving or rejecting leaves
The user must have permission to Approve or reject leaves.
- In the sidebar, go to Shifts
- Select a pending leave
- Approve or reject it
- If rejecting, you can provide a reason

Example: If an employee Adan has a pending leave request, his manager with the necessary permissions can review and approve the leave directly within Shift management. Once approved, the shift automatically moves to backup state.
3. Deleting leaves
The user must have permission to Delete leaves.
- In the sidebar, go to Shifts
- Select an approved leave
- Delete the leave
- The associated shift will return from backup to draft state, making it visible to the employee again

Important behaviour: Shifts and approved absences
-
Shifts overlapping an approved absences will automatically move to backup state
- In backup state, the shift is only visible to managers.

- If an approved leave is removed, the associated shift moves back to draft state and can be re-published.
Example use cases
Approving a leave request
- Employee Alena requests time off while having published shifts
- Helen (manager) with approval permissions reviews and approves the request
- The leave becomes permanent, and the overlapping shifts move to backup state
Editing an approved leave
- Helen needs to extend Alena’s leave by one day
- She modifies the leave request and saves the changes
- The updated leave period is reflected immediately in Shifts
Deleting a leave
- Helen decides that Alena’s leave request is no longer valid
- She deletes the approved leave
- The previously backup shifts automatically return to draft state, making them visible again to the employee
Adding a new leave
- Helen needs to assign time off to Alena
- She clicks the plus (+) button in Shifts
- She selects Add absence (same interface as the Time off module)
- She chooses the appropriate leave policy and submits the request
- If there was a shift in place, it moves to backup state