Staff Management
Staff profiles, skills, shifts, availability, leave, goals, and certifications.
6 min read
Overview
The staff management module holds the people data that the scheduling engine, commission system, and analytics all depend on. It covers who works at each location, what services they can do, when they work (weekly hours and roster), when they are away (time off), and what they are aiming for (goals). The hub is /dashboard/staff (Team & Staff).
Staff Profiles
Staff are created and edited from the Team & Staff directory (/dashboard/staff). Fields on the staff form:
| Field | Description |
|---|---|
| Brand and home location | Which brand and store the person belongs to |
| Role | Staff role: stylist, front desk, manager, area manager or owner. It decides the app access granted when they are invited |
| Locations managed | For managers / area managers covering several stores |
| Full name, title, gender, phone | Display and contact details |
| Stylist level | Optional level used for level-based pricing |
| Commission % | Shown on the staff row; the commission calculations read commission rules, see Staff Operations |
| Monthly salary | Managers only; stored separately from the profile |
| Calendar colour and bio | Colour on the calendar; bio text |
| Services | The services this person can perform |
| Track attendance | Whether the person is expected to clock in |
| Active / inactive | Inactive staff are hidden from scheduling and payroll. Locked accounts (failed-login lockouts) are managed at /dashboard/staff/locked |
There is no employment-type or start-date field on the staff record (payroll uses the record's creation date as the joining date).
Services (Skills)
Capability is assigned directly between a staff member and services (staff_skills: staff member + service). The booking engine only offers a staff member for a service they are assigned to. There are no separate skill tags and no expiry on a skill.
Certifications
Certifications (/dashboard/staff-certifications) are a record-keeping list per staff member:
- Name, issuer, certificate number, notes
- Type: certification, license, training, award or other
- Issue date and optional expiry date
The page shows counts of valid, expiring (expiry within 60 days) and expired records, computed against today's date in the brand's timezone; a record with no expiry date is always valid. Managers can add and delete records.
Certifications are not linked to skills: an expired certification does not suspend any service assignment or booking ability. There is no document attachment and no automatic alert sent to the staff member or manager when a certification expires.
Shifts and Working Hours
A staff member's availability comes from /dashboard/shifts (Shifts & Roster), which has four views: Weekly Schedule, Bulk Edit, Edit Shift and Clock In/Out.
- Weekly template: one start and end time per weekday (
working_hours). If a day has no shift, the person shows as off that day. - Per-week overrides: a week can be saved with its own seven days (
staff_week_shifts; a day with no times is off). When a staff member has overrides for a week, they replace the weekly template for that whole week. - Bulk edit: paint the schedule grid for many staff at once.
- Weekly roster:
/dashboard/staff/rostersets one floating day off per staff member per week (staff_weekly_roster), within a "available all seven days unless rostered off" model. - Shift swaps: staff can request a swap for a date; managers review requests at
/dashboard/staff/swaps(statuses pending, approved, denied, cancelled; some are auto-approved).
There are no shift types (regular / split / on-call) and no shift templates or copy-last-week action. Only one shift window per day is supported, so a split shift cannot be represented.
The booking engine (get_staff_day_availability) offers times only inside the effective shift window. A staff member who has clocked in or was marked present for the day is treated as available even on a rostered day off. Approved or pending time off removes the whole day.
Time Off (Leave)
Leave is stored in time_off (start, end, optional reason, status, reviewer). There is no leave type, no leave balance and no accrual policy.
- Request: staff request time off from the staff portal (
/my/time-off), or a manager adds it for them on the Staff Leave page (/dashboard/staff-leave) or on the staff member's time-off page. - Conflict check: a request cannot overlap existing leave or a booked appointment for that staff member.
- Review: a manager approves or declines. Approval is blocked while the staff member still has booked appointments in the range; move them first. Statuses: pending, approved, declined, cancelled.
- Effect: pending and approved time off both block the staff member's availability for the covered days. Declined and cancelled requests do not. Approved leave days are not counted as loss-of-pay in payroll.
Staff Goals
Goals (/dashboard/staff-goals) are targets per staff member and month (period YYYY-MM; the data model also allows a week such as 2026-W23; there is no quarterly period). Goal types:
| Type | Unit |
|---|---|
| Revenue | Rupees |
| Appointments | Count |
| New clients | Count |
| Retail sales | Rupees |
| Average ticket | Rupees |
Each goal has a target value and an actual value that a manager enters by hand; nothing updates it automatically. Progress is shown as a percentage of target. There are no service-count, retention or attendance goal types. For automatic pay incentives use commission targets in Staff Operations.
Staff Tasks
Tasks (/dashboard/tasks, table staff_tasks) are operational to-dos:
- Title, description, due date, priority (low, medium, high)
- Optional assignee
- Status: open, in progress, done, cancelled
The page shows open, in-progress, overdue and done-this-week counts. Creating and deleting tasks needs the tasks.manage permission, which all roles have by default (an owner can change this in Roles and Permissions).
Inviting Staff
- A manager adds the staff member on the staff form (name, role, home location, services). Optionally enter an app invite email on creation.
- Send an invite from the staff row ("Send invite"), or link an existing account. An invitation email with a sign-up link is sent; the invite expires after 7 days. The access granted follows the staff member's role.
- The staff member accepts, sets up their account and is linked to the staff record.
The staff member exists (and can be booked) before they accept the invite. Only one pending invite per email address is allowed per organisation.
Key Data Entities
- staff_members - the staff member's record (brand, home location, role, display details)
- staff_skills - staff member to service assignment
- staff_certifications - qualification records with optional expiry
- working_hours, staff_week_shifts, staff_weekly_roster - weekly template, per-week override and floating day off
- shift_swap_requests - swap requests and their review status
- time_off - leave requests and approved leave
- staff_goals - per-period performance goals
- staff_tasks - assigned to-do items
- staff_invitations - pending and accepted app invitations
Permissions
Defaults are shown; owners can adjust page and action permissions in Settings > Roles and Permissions (see Roles & Permissions). Managers = org_owner, brand_manager, location_manager.
| Action | Managers | front_desk | stylist |
|---|---|---|---|
| Open Team & Staff directory | Yes | No | No |
| Create / edit / deactivate staff | Yes (staff.create, staff.edit, staff.delete) |
No | No |
| Assign services, send invites | Yes | No | No |
| Add / delete certifications | Yes | No | No |
| Edit shifts (the Shifts page is hidden from front desk, but the server action accepts front desk) | Yes | Yes | No |
| Review swaps, approve / decline leave, add leave for others | Yes | No | No |
| Request own time off (staff portal) | Yes | Yes | Yes |
| Set / update goals | Yes | No | No |
| Create / delete tasks | Yes | Yes | Yes (tasks.manage) |