User Manual HR & Payroll module Version 1.0 · Stable

Leave manual

Leave management is a unified dashboard: indicators at the top, the list of requests to process, then two tabs — Calendar and Remaining balances (legal & sick, color-coded). The approval workflow decrements the employee's balance.

4
Leave statuses
4
Indicators (KPIs)
2
Tabs
2
Balances (legal/sick)
1

Overview

The Leave management screen centralizes the workforce's planned absences. The three former screens (calendar, history, new requests) have been merged into a single vertical dashboard: KPIs at the top, the list of requests to process, then the Calendar and Remaining balances tabs.

Business goal

  • View and process leave requests
  • Track legal & sick balances
  • Approve via a multi-level workflow
  • Notify employees by email

Target audience

  • Managers — approve / refuse requests
  • HR manager — tracks balances
  • Employees — submit their requests

Position in the module

The balances come from the employee record; the contract rhythm defines the calendar's time range.

2

Access and navigation

Left-hand side menu: Human resourcesLeave management. A direct link is also available in the top bar.

Swifto ERP — Human resources menu
Global dashboard
Human resources
Employees
Leave management
Payslips
Contracts
Sales
Need help? Click here...
The leave dashboard opens on the right after the click.
3

The leave dashboard

At the top: 4 indicators; below: the list of new requests to process; then the Calendar and Remaining balances tabs.

Human resources › Leave management
To process
4
On leave today
2
Approved this month
11
Critical balances
3
New leave requests 4
Karim MEJRI
Annual leave · 12/05/2026 → 16/05/2026 · 5 days
Waiting
Ines BEN SALAH
Sick leave · 20/05/2026 → 21/05/2026 · 2 days
Waiting

The "requests to process" list and the corresponding indicator are a single source of truth: the badge and the list always show the same requests.

4

Indicators (KPIs)

IndicatorCalculation
To processNumber of new requests pending approval.
On leave todayEmployees with an approved leave covering today's date.
Approved this monthRequests approved in the current month.
Critical balancesEmployees whose leave balance is ≤ 0 (shown in red).
5

Calendar tab

Day / Week / Month view. You create a request by clicking on the calendar; clicking on an existing leave opens its details. Each leave is color-coded according to its status.

Event color code

Approved
Pending (orange title)
Refused
Cancelled

Adaptive time range

The displayed range (start/end of day) adapts to the actually worked days of the employee's contract: it takes the envelope of the start/end hours of the worked days. Half-days are possible for time-off permissions.

A pending leave (awaiting approval) appears on a gray background with an orange title — an immediate visual cue for requests not yet approved.

6

Remaining balances tab

List of the workforce with legal balance and sick balance (same color code as the employee record). Two email-sending buttons: Notify (one employee) and Notify all.

Leave › Remaining balances
Remaining leave balances
Notify all
EmployeeLegal balanceSick balance
Mohamed Ali GHARBI18.0 days10.0 days Notify
Ines BEN SALAH3.0 days8.0 days Notify
Karim MEJRI0.0 days12.0 days Notify
Remaining balanceColor
≤ 0 daysRed — critical
0 < x ≤ 4 daysAmber — to monitor
> 4 daysBlue — comfortable

Real email notification — "Notify" / "Notify all" send an asynchronous email summarizing the balance (legal + sick). Employees without a valid email are ignored (warning message if there is no recipient).

7

Create a leave request

From the Calendar tab, click a date to open the form: employee, leave type, dates (with a half-day for time-off permissions), description.

New leave request
Leave request
Karim MEJRI
Annual leave
12/05/2026
16/05/2026
5 days
No

On submission, the request moves to the Pending status and appears in the "to process" list for the responsible position.

8

Leave statuses

StatusMeaningCalendar color
PendingRequest submitted, pending approval.Gray + orange title
ApprovedRequest approved; balance decremented.Turquoise
RefusedRequest rejected with an explanation.Coral
CancelledLeave cancelled by the employee.Pink
9

Approval workflow

The workflow can have several levels: each status points to the position responsible for the next action. The final approval (last rank) deducts the days from the balance.

flowchart LR
  A([Employee submits]):::s --> B[Pending]:::p
  B -->|manager approves| C{Last rank?}:::p
  C -->|no| D[Next level
Pending]:::p D --> C C -->|yes| E([Approved]):::ok E --> F([Balance decremented]):::ok B -.->|reasoned refusal| G([Refused]):::ko B -.->|employee cancels| H([Cancelled]):::ko classDef p fill:#F5F3FF,stroke:#8B5CF6,color:#5B21B6; classDef s fill:#f3f1ff,stroke:#7366fe,color:#1f1c3d; classDef ok fill:#D1FAE5,stroke:#10B981,color:#065F46; classDef ko fill:#FEE2E2,stroke:#EF4444,color:#991B1B;
10

Business rules

Multi-level workflow — each status points to the next responsible position; only the last-rank approval decrements the balance.

Balance decrement — an approved leave decrements the employee's balance. A balance ≤ 0 is shown in red and surfaces in "critical balances".

Time range — the calendar's range takes the envelope of the start/end hours of the contract's worked days; rest days are ignored.

Email notifications — sending the balances is asynchronous and requires a valid SMTP configuration; employees without a valid email are ignored.

Automatic leave accrual

In addition to the decrements at each approval, the balances change automatically according to each employee's active employment contract — with no manual entry at all. Three mechanisms trigger on their own:

WhenAutomatic effect
At the start of each monthThe leave balance is incremented by the accrual rate defined on the employee's active contract type (e.g. +2 days/month).
Every 1st JanuaryThe sick-leave balance is reset to the annual value provided for by the contract.
Every dayContracts whose end date is reached are deactivated automatically.

The active contract drives accrual

The monthly accrual rate and the annual sick-leave allowance are carried by the contract type. An employee whose contract has expired (and is therefore deactivated) is no longer incremented: to restart accrual, attach a new active contract to them.

Tip — check the contracts' end date

Since the balance is only credited for active contracts, anticipate the renewal before the end date to avoid a month without accrual. As the sick-leave balance starts afresh on 1st January, encourage your employees to plan before year-end.

11

Roles & permissions

ActionEmployeeManagerHR managerAdmin
Submit a request
Approve / refuse
Cancel their request
Notify balances
Adjust a balance

Indicative matrix — the position responsible for each level is defined by your company's workflow.

12

Usage scenarios

Approved annual leave

Karim submits 5 days → Pending status → the manager approves → Approved status, his legal balance goes from 5 to 0 days (red, critical).

Balance reminder

At year-end, the manager clicks Notify all: each employee receives their legal and sick balance by email to plan their remaining leave.

Reasoned refusal

A request falls on a high-activity period: the manager refuses it with an explanation → Refused status, the balance is not affected.

13

FAQ & Tips

A request to process doesn't appear?

The list filters requests whose start date is within a given window. Also check the responsible position for the current level.

The pending leave title isn't colored?

"Pending" leaves are shown on a gray background with a fixed orange title — this is the expected behavior (not the dynamic color of the status).

Tip — anticipate critical balances

Monitor the Critical balances card and use Notify all to inform the employees concerned ahead of year-end leave.

Swifto

Swifto ERP · HR & Payroll module · User Manual v1.0

Leave — HR & Payroll module · Home