14 - HR and workforce: employees, drivers, attendance, leave and recruitment
Navigation: Index | previous: 13 - Services marketplace | next: 15 - Payroll Last checked against the application: 25 Nov 2026; updated 26 Nov 2026
1. Who this guide is for
This guide is for the people who keep the staff of a company: the HR officer, the Owner, the Operations Manager, supervisors and team managers, and the Fleet Manager who looks after the drivers. It also helps Finance, who can read the employee list and the figures. It covers the module called Drivers and Workforce (people, drivers, attendance, shifts, leave, recruitment and the HR dashboard and reports).
No special company activity is needed. Every company can employ people, so these screens are not hidden behind "carrier" or "shipper". A personal account (an individual customer) does not open the company workspace and cannot use them.
Money side of HR (salary sheet, pay heads, GOSI, advances, loans, bonus, WPS files, end of service) is not repeated here. It is in 15 - Payroll. Where a screen of this guide links to payroll, the link is named.
Independent drivers. A company can find a driver who registered on the public site, send a job offer and, when the driver accepts, take them on as an employee (People > Employees > Find drivers and Offers I sent; see 03 - Public site and content, 6.3). Engaging an independent driver for a single job with the money running through Traincu is not available. Every driver described in this guide is a person of the company's own staff.
2. What you can do here (summary)
| Activity | Who | Screen(s) |
|---|---|---|
| See the HR dashboard of a month | Owner, HR, Finance | H-01 |
| Read the HR reports and export them | Owner, HR, Finance | H-26 |
| List, search and filter every employee | HR, Owner, Finance (read) | H-02 |
| Add or edit an employee (office, driver, workshop, store ...) | HR, Owner | H-03 |
| Open the 360 profile of a person and its tabs | HR, Owner, managers, the person (own data) | H-04 |
| Record, put in force and close an employment contract | HR, Owner (needs the money flag) | H-04 (Job and contract) |
| Keep departments | HR admin, Owner | H-25 (Departments) |
| Set the HR and payroll rules of the company | HR admin, Owner | H-25 |
| Add, edit, change the status of or delete a driver or helper | Fleet Manager, HR, Owner | F-13, F-14 |
| Upload, renew and read the papers of a person; keep consent and data requests | Fleet Manager, HR, Owner | F-14 (Documents, vault) |
| Accept or send back a renewal the driver sent | Fleet Manager, HR | F-14 |
| Give a driver a portal login | Fleet Manager, HR | F-14 |
| Invite a driver to the Traincu Driver app | Fleet Manager, HR | F-13, F-14 |
| Create the owner-operator's own driver profile | Owner of an owner-operator company | Owner-operator page |
| Watch duty and rest, read violations and override one with a reason | Fleet Manager, Operations Manager | Duty monitor, F-14 (Duty hours), Driver hours |
| Read the driver scorecard and change the score rules | Owner, Fleet Manager | F-31 |
| Record attendance, import a device log, approve a day | HR, supervisors | H-05 |
| Approve a month of attendance and overtime, or open it again | HR | H-06 |
| Ask for, approve, reject or cancel a leave; read balances | HR, managers | H-07 |
| Keep shifts and public holidays | HR | H-08 |
| Open a recruitment request and work its candidates board | HR, Owner | H-27, H-28 |
| Register an approved candidate as a driver | HR | H-28 |
3. Before you begin
- You can sign in and your company is active (01 - Getting started and account). Roles, branches and members are explained in 05 - Company workspace.
- Your role decides what you see. The ready-made HR role holds the employee, attendance, leave, recruitment, HR-dashboard and HR-settings screens, can see money and can see personal data. The Owner holds everything. Finance can read the employee list and the dashboard. Fleet Manager and Dispatcher can read the driver list. A company can change all this in Settings > Roles.
- Three switches on the role change what a screen shows:
- money flag - without it every amount (basic pay, gross, advances, loans, EOSB) is simply absent, not hidden;
- personal data flag - without it the identity number, iqama, date of birth, bank account and the personal papers are not shown or written;
- data scope - all people, only the people of your branch(es), only your projects, or own (yourself). A person outside your scope is a "not allowed" page.
- A branch-scoped user must put every new person under one of their own branches, or they could not see the person afterwards.
- Country pack. The Saudi company is asked for the iqama (residents), the professional driving card, an IBAN, a Qiwa contract number and the GOSI number. Bangladesh-only items (provident fund, bKash wallet) never appear for a Saudi company.
- Figures marked draft in this guide (overtime 1.5, leave days, Saudi duty limits, Saudisation share) are currently set to the value shown, to be confirmed by the business. The screens say "draft, to confirm" next to them.
- A queue worker and the scheduler must be running on the server for reminders, the nightly attendance-from-duty job and the leave start/end job.
4. Where to find it
Company workspace, left menu, section People:
- People > Employees > Employees (
/app/hr/employees) - H-02 - People > Employees > Drivers & Helpers (
/staff) - F-13 - People > Employees > Recruitment (
/app/hr/recruitment) - H-27 - People > Employees > HR dashboard (
/app/hr) - H-01 - People > Employees > Driver scorecard (
/staff/scorecard) - F-31 - People > Time > Attendance (
/attendance) - H-05; its tab Monthly & overtime is H-06 - People > Time > Shifts & holidays (
/hr/calendar) - H-08 - People > Time > Leave register (
/payroll/leave) - H-07; the payroll tab strip has it too - Settings > Rules > HR and payroll (
/settings/hr) - H-25, with a second tab Departments - Insight > Compliance, tab Driver hours (
/compliance/hours) - violations of duty limits
The pages of one person are reached from the list: Open (eye) on a row. The payroll tab strip at the top of the HR pages also shows HR dashboard, Recruitment and HR reports.
5. The big picture (flowchart)
flowchart TD s1(["HR officer opens the People section"]) --> a1["Set up once: HR settings, departments, shifts, holidays"] a1 --> a2["Add people: Employees H-02 or Drivers and helpers F-13"] a2 --> a3["Keep each person file: contract, papers, status"] a3 --> a4["Every day: Attendance H-05 and Leave H-07"] a4 --> a5["End of month: Approve month H-06"] a5 --> sys1[["Locked month is read by the payroll run"]] sys1 --> o1[/"Payroll team pays salaries - guide 15"/] a2 --> a6["Need drivers: Recruitment H-27 and board H-28"] a6 -->|"Register as driver"| a2 a4 --> a7["Watch drivers: Duty monitor and Scorecard F-31"] a5 --> a8["Read HR dashboard H-01 and HR reports H-26"]
6. Activities, step by step
6.1 Read the HR dashboard of a month (H-01)
Purpose - one page that shows how many people you have, who is in today, what is expiring and (for money roles) what the month costs. Who - Owner, HR, Finance and anybody whose role holds the HR dashboard screen.
Steps
- Open People > Employees > HR dashboard.
- In Month choose the month (the last 12 months are offered) and press Apply.
- Read the tiles. Click a tile to open the list behind it.
- Read the panels (charts) under the tiles.
- Use the buttons at the top: Run payroll (opens the payroll run, see 15 - Payroll), Employee (opens the add form) and HR reports.
flowchart TD
s1(["Open HR dashboard"]) --> a1["Choose the month and press Apply"]
a1 --> d1{"Role may see money?"}
d1 -->|"Yes"| a2["People tiles, money tiles and 4 panels"]
d1 -->|"No"| a3["People tiles and 2 panels - no amount at all"]
a2 --> d2{"Salary sheet exists for the month?"}
a3 --> d2
d2 -->|"No"| a4["Money tiles show a dash and a note says why"]
d2 -->|"Yes"| a5["Figures shown for the month"]
a4 --> e1(["Click a tile to open its list"])
a5 --> e1
e1 --> a6["Press HR reports to open H-26"]
Tiles
| Tile | What it counts | Opens |
|---|---|---|
| Employees | Active people on the payroll | Employees list |
| Present today | People with an attendance record for today | Attendance |
| On leave | People on approved leave today | Leave register |
| Documents expiring | People with a paper expired or due soon (a dash while nobody who drives is on the payroll) | Document expiry board |
| This month gross | Gross pay of the month's salary sheet (money roles only) | Payroll |
| Advances open | Salary advances still to be recovered (money roles only) | Salary advances |
| Loans open | Balance of the loans in force (money roles only) | Loans |
| EOSB liability | End-of-service amount accrued so far (money roles only, draft) | End of service |
Panels: Payroll cost by month and Cost by department (money roles only), Attendance trend and Overtime by branch.
If something goes wrong - a tile shows a dash (never a zero) when the figure cannot be worked out. A note under the page says why, for example "No salary sheet has been made for October 2026 yet; the last one is September 2026." The end-of-service figure carries the note "The end-of-service figures are a draft: the formula and the articles have not been confirmed by the business."
6.2 Read the HR reports and export them (H-26)
Purpose - the same facts over a period, with the full reports behind them. Who - Owner, HR, Finance (report viewers; exporting needs the export right).
Steps
- Open HR reports (button on H-01 or the HR reports tab).
- Choose From and To, or press This month / Last month, then Apply.
- Read the KPI tiles and the panels.
- Under The reports behind these figures press a report name to open it with the period already set.
- Press Export PDF or Export Excel to download the department lines.
flowchart TD
s1(["Open HR reports"]) --> a1["Pick From and To or This month or Last month"]
a1 --> sys1[["KPIs and panels are worked out for the period"]]
sys1 --> d1{"Role may see money?"}
d1 -->|"No"| a2["Headcount, Turnover, Absence rate, Saudisation"]
d1 -->|"Yes"| a3["Also OT cost, Payroll vs budget, dues, EOSB liability"]
a2 --> a4["Open a report behind the figures"]
a3 --> a4
a4 --> d2{"Need a file?"}
d2 -->|"Yes"| a5["Export PDF or Export Excel"]
d2 -->|"No"| e1(["Done"])
a5 --> e1
KPI tiles: Headcount; Turnover (12 m) (people whose status became Inactive in the last twelve months, as a share of today's headcount plus those leavers); Absence rate (days absent of working days in last month; only people with attendance recorded in that month count); OT cost; Payroll vs budget; Advance + loan due; EOSB liability; and for a Saudi company the Saudisation share (nationals of the company's own country among active people).
Panels: Payroll cost trend, Leave by type, Headcount by department, Cost per driver vs trips.
Reports behind the figures (each opens in the normal report viewer, with schedules and saved views): Salary register, Bank and cash list, Advance and loan register, Bonus register, GOSI register, Provident fund register (only where the country has a fund - not Saudi Arabia), End-of-service liability, Attendance register, Leave register, Nationalities on the payroll and Document expiry.
Note. Payroll vs budget always shows a dash: nobody records a payroll budget yet, and the page says "No payroll budget is recorded". The Saudisation share is our own reading (nationals as a share of the active payroll). The official Nitaqat rule and its colour bands are not available, so no colour band is shown; the tile carries the label Draft.
6.3 Add or edit an employee (H-03)
Purpose - make one record for any person the company employs. A driver is the same record with a driver profile on top. Who - HR, Owner (add needs the create right, edit the update right, and the person must be inside your data scope).
Steps
- Open Employees and press Employee (or open a person and press Edit).
- The person: type the Full name, choose the Employee type, type the Mobile, choose Nationality and Languages.
- The job: choose Department, type a Designation, choose a Manager and a Branch, set the Join date, Employment type and Pay method. When adding, answer Consent recorded.
- If your role may see personal data, fill Identity and payment: national ID number or iqama (with its end day), date of birth, bank and IBAN.
- Press Save employee (or Save and add another to stay on a new empty form of the same type).
- The profile opens. Add the contract, the papers and the salary on its tabs (6.4 and 6.9).
flowchart TD
s1(["Open Employees and press Employee"]) --> a1["Fill the person: name, type, mobile, nationality"]
a1 --> a2["Fill the job: department, manager, branch, join date, pay method"]
a2 --> d1{"Role may see personal data?"}
d1 -->|"Yes"| a3["Also fill ID or iqama, birth date, bank and IBAN"]
d1 -->|"No"| a4["Identity and bank boxes are not shown"]
a3 --> a5["Choose Consent recorded and press Save employee"]
a4 --> a5
a5 --> d2{"All rules pass?"}
d2 -->|"No"| a6["Read the red messages and fix them"] --> a5
d2 -->|"Yes"| sys1[["Number DRV or EMP is issued and status Active starts"]]
sys1 --> a7["Profile opens: add contract, papers and salary on its tabs"]
Fields
| Field | What to enter | Rules / limits |
|---|---|---|
| Full name | Name as on the identity card | Required, up to 150 characters |
| Employee type | Driver, Helper, Operator, Office, Workshop, Store | Required when adding. It cannot be changed later: add a new record instead. Driver, helper and operator get a number DRV-...; the others EMP-... |
| Mobile | Saudi mobile number | Required; must be a valid number and not used by another person of the company |
| Nationality | From the list | Optional; the company's country is pre-selected |
| Languages | Languages the person speaks | Choose from the list (Arabic, English, Urdu, Hindi, Bangla, Tagalog) |
| Department | A department of the company | Optional; Manage departments link for HR admins |
| Designation | Job title | Up to 120 characters |
| Manager | Another person of the company | Not the person themselves, and the reporting line may not become a circle |
| Branch | The branch the person belongs to | Required for a branch-scoped user |
| Join date | Day of joining | Required; not before 1980 and not more than a year ahead |
| Employment type | Permanent, Contract, Daily | Required |
| Pay method | Bank or Cash (Saudi pack) | Optional ("Not decided"). Only what the country allows is offered |
| Consent recorded | Yes / No | Only when adding. Yes records both consents (personal data, location tracking) with today's date |
| National ID number | 10 digits | Citizen: starts with 1. Checked with a checksum. Unique in the company |
| Iqama number / Iqama expires on | 10 digits starting with 2, and the end day | Resident. The end day is required with the number and cannot be in the past |
| GOSI contributor no. (country with GOSI) | The number GOSI gave the person | Optional; letters, digits, a dash or a slash, up to 32; one person per number in the company (the GOSI invoice import finds the person by it) |
| Registered with GOSI on (country with GOSI) | The registration day | Optional; not in the future. For a Saudi it decides the GOSI group (before or from 3 July 2024) |
| Date of birth | Date | Encrypted |
| Bank / IBAN | Bank name and IBAN | IBAN is checked (country length and check digits) |
An empty personal field keeps what is stored; only a typed value replaces it.
Buttons and actions
| Button | What it does | Who sees it |
|---|---|---|
| Save employee | Saves the person | Create or update right |
| Save and add another | Saves and opens a new empty form of the same type | When adding |
| Back / Cancel | Leaves without saving | Everyone |
| History | Shows who changed what (names the personal fields, never their values) | When editing |
| Documents | Opens the person's papers | When editing |
What happens next - the person gets a number inside the same transaction, a status history line Active is opened, the consent is recorded if you chose Yes, and the activity log names the personal fields that were written (never the values).
If something goes wrong - "A person cannot report to themselves." / "That would make the reporting line a circle." (Manager); "This mobile number already belongs to another person in this company."; "This identity number already belongs to somebody else in this company."; "An iqama number starts with 2. A number that starts with 1 is a national ID."; "Enter the IBAN of the account, for example SA03 8000 0000 6080 1016 7519."; "The joining date cannot be more than a year from today. Check the year."
Note. The Dev Pack draws more fields on this one form. In the application they are placed where they belong: the Qiwa contract number and fixed/open term on Job and contract (6.4); the salary structure on Salary and payslips (15 - Payroll); the ID, passport, licence and contract papers on Documents; shift and leave policy follow the person's kind of work and the country (6.20, 6.19). The GOSI contributor number and registration day are two boxes of The job card, shown only for a country with GOSI. Name is one box (Full name), not two. A provident fund member field exists only in a country that has the fund.
6.4 Open the employee 360 profile, read its tabs and keep the contract (H-04)
Purpose - one page for everything about a person. Who - HR, Owner, managers inside their scope, Finance (read), and a person for their own record.
Steps
- In Employees press Open (eye) on a row.
- Read the header: name - code, status badge, kind of work, designation, department and join date.
- Press a tab. Some tabs open inside the page (Overview, Job and contract); the others take you to the screen that holds that part, filtered or opened for this person.
- Use Edit, New advance (opens the advance form with this person chosen), Final settlement (opens the settlement form with this person chosen, or the open settlement), Print and History at the top right. The two money buttons show only to roles that may use them.
flowchart TD
s1(["Open an employee from the list"]) --> d1{"Person is inside your data scope?"}
d1 -->|"No"| e2(["Not allowed page"])
d1 -->|"Yes"| a1["Profile 360 opens with the tabs you may see"]
a1 --> t1["Overview: job and person facts"]
a1 --> t2["Job and contract: needs the money flag"]
a1 --> t3["Documents: the papers"]
a1 --> t4["Attendance and Leave: those registers, this person only"]
a1 --> t5["Salary, Advances, Bonus, Ledger, End of service: payroll guide"]
a1 --> t6["PF or GOSI: Saudi Arabia only"]
a1 --> t7["Trips and score: drivers only"]
Tabs (a tab is absent when you may not see it, when the country does not have it, or when the person is not of the right kind)
| Tab | What it shows | Notes |
|---|---|---|
| Overview | Department, designation, manager, branch, join date, service time (for example "Joined today"), employment type, pay method; mobile, nationality, languages, GOSI contributor no., login | No amount and no identity number. A button Personal data and papers opens the driver-style page (F-14) |
| Job and contract | The contract in force, the Qiwa match, earlier contracts, the form to record or correct a contract | Needs the money flag |
| Documents | Papers of the person with their expiry | Opens F-14 Documents |
| Attendance | Attendance register | Opens H-05 filtered to this person (the Employee filter) |
| Leave | Leave register | Opens H-07 filtered to this person (the Employee filter) |
| Salary and payslips | Salary structure and payslips | Money; payroll guide |
| Advances and loans | Advances and loans | Money; payroll guide |
| Bonus | This person's lines of the bonus runs, with the status and how a separate payment was paid | Money and the bonus view right; payroll guide 6.6 |
| Ledger | The person's running ledger | Money; payroll guide |
| End of service | Accrual and final settlement | Money; payroll guide |
| PF / GOSI | GOSI contributions, filtered to this person | Only where the country has GOSI; money |
| Trips and score | The person's scorecard | Drivers only |
Note. The tab Assets, the Timeline panel and the AI summary panel of the Dev Pack are not available yet (the company keeps no asset register and no warnings, and the AI layer does not exist).
Record or correct a contract (tab Job and contract)
- If there is no contract the card says "No contract is recorded for this person yet." Fill Record a contract.
- Fill Qiwa contract no., Contract type (Fixed term or Open term), Starts on, Ends on (required for a fixed term), Designation, Probation ends on, Basic pay, Weekly hours, Leave days and the three Allowances (Housing, Transport, Other).
- Leave Put it in force straight away ticked to make it Active, or untick it to keep a Draft.
- While it is a draft you can correct it (Save the contract) and later press Put in force.
- To end it press Close the contract, type Why is it closing? and tick It ended early (resignation or dismissal) when that is the case.
flowchart TD
s1(["Open the Job and contract tab"]) --> a1["Fill Record a contract and press Record the contract"]
a1 --> d1{"Fixed term has an end day and dates are right?"}
d1 -->|"No"| a2["Fix Starts on or Ends on"] --> a1
d1 -->|"Yes"| d2{"Put it in force straight away?"}
d2 -->|"No"| sys1[["Contract is a Draft"]]
sys1 --> a3["Correct the draft or press Put in force"]
d2 -->|"Yes"| d3{"Another contract already in force?"}
a3 --> d3
d3 -->|"Yes"| a4["Refused: close the contract in force first"]
d3 -->|"No"| sys2[["Contract is Active"]]
sys2 --> d4{"Term ends within 30 days?"}
d4 -->|"Yes"| sys3[["Shows Ending soon"]]
d4 -->|"No"| e1(["In force"])
sys3 --> a5["Close the contract with a reason"]
a5 --> e2(["Ended or Terminated"])
stateDiagram-v2 [*] --> Draft Draft --> Active : Put in force Active --> EndingSoon : 30 days or less before the end day Active --> Ended : Close the contract Active --> Terminated : Close and tick It ended early EndingSoon --> Ended : Term runs out or is closed EndingSoon --> Terminated : Closed early state "Ending soon" as EndingSoon
Statuses of a contract
| Status | Meaning | What you can do next |
|---|---|---|
| Draft | Recorded, not in force | Correct it, or Put in force |
| Active | In force (one at a time) | Close the contract |
| Ending soon | Fixed term that ends within 30 days (shown, never stored) | Record the next contract or close |
| Ended | Term over or closed normally | Record a new contract |
| Terminated | Closed early (resignation or dismissal) | Record a new contract for a new engagement |
Qiwa match (money roles, Saudi): compares the contract's basic and total pay with the salary structure that would really be paid. Labels: Matches the contract, Does not match the contract, No Qiwa contract number, No salary structure in force, No contract recorded. Mudad checks a WPS file against Qiwa, so the only mismatch we can prevent is our own.
If something goes wrong - "A fixed-term contract needs the day it ends."; "A contract cannot end before it starts."; "That person already has a contract in force. End it before a new one starts."; "Only a contract that is still a draft can be changed. Record a new one instead."; "That contract is not in force." A contract is a money record: without the money flag the tab is absent and the buttons answer "not allowed".
6.5 Keep departments (H-25, Departments tab)
Purpose - the list that fills the Department drop-down of the employee form. Who - HR admin, Owner.
Steps
- Open Settings > Rules > HR and payroll and press the tab Departments.
- Press Department to add one, or Edit (pencil) on a row.
- Fill Name (English), Name (Arabic) (both required), Inside department (parent), Manager, Branch, Cost centre, Note.
- Press Save department.
- Use the toggle on a row to Switch off / Switch on; use the bin to delete a department nobody uses.
flowchart TD
s1(["Open Settings > HR and payroll > Departments"]) --> a1["Press Department or Edit on a row"]
a1 --> a2["Fill names, parent, manager, branch, cost centre"]
a2 --> d1{"Parent is itself or makes a circle?"}
d1 -->|"Yes"| a3["Refused: a department cannot sit inside itself"]
d1 -->|"No"| sys1[["Department saved and Active"]]
sys1 --> a4["Its name appears in the employee form"]
a4 --> d2{"Remove it later?"}
d2 -->|"People or sub-departments inside"| a5["Switch it off instead - old records still read"]
d2 -->|"Nobody inside"| a6["Delete is allowed"]
Columns: Department, Manager, Branch, Cost centre, People, Status (Active / Inactive). Filter: Status.
If something goes wrong - "That department still has people in it. Move them first, or switch the department off instead."; "That department has departments inside it. Move or remove them first."; "A department cannot sit inside itself."
6.6 Set the HR and payroll rules of the company (H-25)
Purpose - the month, which country rules the company runs, limits, approvals and how a payslip is delivered. Who - HR admin, Owner.
Steps
- Open Settings > Rules > HR and payroll.
- Read Country rule pack (it follows the company's own country; it is not a field you choose). A pack that is not confirmed shows Draft, to confirm.
- Fill the cards and press Save settings.
flowchart TD
s1(["Open Settings > Rules > HR and payroll"]) --> a1["Read the Country rule pack card"]
a1 --> a2["Set the month: cut-off day, pay day, overtime rate"]
a2 --> a3["Switch on what the company runs: GOSI, End of service"]
a3 --> a4["Set limits: advance limit, maximum loan, instalments, festival bonus"]
a4 --> a5["Tick approvals and payslip delivery"]
a5 --> a6["Press Save settings"]
a6 --> d1{"Anything changed?"}
d1 -->|"No"| e1(["Message: Nothing changed"])
d1 -->|"Yes"| sys1[["Settings saved - other screens read the new figures"]]
Fields
| Field | What to enter | Notes |
|---|---|---|
| Payroll cut-off day | 1 to 31 | Empty = end of the month |
| Pay day | 1 to 31 | |
| Overtime rate | Times the hourly wage, 1 to 5 | Currently 1.5 for a Saudi company (draft, to be confirmed). The attendance screens read this same figure |
| Social insurance (GOSI) | Switch | Only where the country has GOSI |
| End of service | Switch | Saudi Labour Law rule (half a month for each of the first five years, a month after) - draft |
| Advance limit | % of a monthly salary | Currently 50 for Saudi Arabia (draft) |
| Maximum loan / Maximum instalments | Amount (SAR) and number | Instalments currently 24 for Saudi Arabia (draft); loan amount has no default |
| Festival bonus / Minimum service | % of basic and months | Currently 100 % and 6 months (draft). A new bonus run (H-14) starts with these figures |
| Ask for an approval of | Tick One-time additions, deductions and fines, Salary advance, Loan | Unticked, the item is approved at once. A salary sheet follows the chain in Settings > Approval chains & limits; a bonus run is always approved by a person with the approve permission, so it has no tick |
| Payslip delivery | Email, The Traincu app, WhatsApp | WhatsApp is listed but cannot be ticked ("not available yet") |
| Note | Free text |
A field left empty follows the country rule pack. The provident fund and income tax boxes exist only for countries whose law has them (not Saudi Arabia). A banner warns that the GOSI rate table is a seeded draft.
If something goes wrong - saving without a change answers "Nothing changed."; a number outside its range is refused with a red message on that box.
6.7 Add a driver, a helper or an operator (F-13)
Purpose - the driver-side form of the same person record, with the licence and professional card. Who - Fleet Manager, HR, Owner.
Steps
- Open People > Employees > Drivers & Helpers and press Add staff.
- Person: Full name, Role (Driver, Helper ...), Mobile, Emergency contact, Nationality, Languages.
- If you may see personal data: National ID number (citizen) or Iqama number and its expiry (resident), Date of birth, Address, Branch, Login account (optional link).
- Driving licence (drivers only): Licence no., Licence category, Licence expiry; Professional card no. and Professional card expiry (Saudi).
- Employment: Joining date, Employment; Payment details (Bank, IBAN); Consent recorded; Photo; Uploads of papers with expiry dates.
- Press Save.
flowchart TD
s1(["Open Drivers and helpers and press Add staff"]) --> a1["Fill the person: name, role, mobile, nationality"]
a1 --> d1{"Role is Driver?"}
d1 -->|"Yes"| a2["Fill driving licence and professional card"]
d1 -->|"No"| a3["Licence boxes are cleared - a helper needs none"]
a2 --> a4["Fill employment, branch, payment, consent, photo, uploads"]
a3 --> a4
a4 --> a5["Press Save"]
a5 --> d2{"ID or iqama valid and not used by another person?"}
d2 -->|"No"| a6["Fix the red field"] --> a5
d2 -->|"Yes"| sys1[["Record made with a DRV number and status Active"]]
sys1 --> sys2[["Uploaded papers become vault records"]]
sys2 --> e1(["Driver profile F-14 opens"])
Photo: JPG, PNG or WebP up to 2 MB. Papers: PDF, JPG or PNG up to 5 MB each; the licence expiry above becomes the expiry of the licence scan; a personal paper (ID copy, CV, police clearance, medical certificate) is added only by a role that may see personal data.
If something goes wrong - "Enter the national ID of a citizen or the iqama number of a resident."; "This iqama has already ended. Renew it first and enter the day the new one runs out."; "The photo must not be larger than 2 MB."; "This login account belongs to another driver or helper."
6.8 Change the status of a person or delete one (F-14, F-13)
Purpose - decide whether a person can be given a truck or a trip. Who - HR, Fleet Manager (update or delete right, inside their scope).
Steps - change status
- Open the profile and press Change status.
- Choose Active, On leave, Suspended or Inactive and type a Reason (at least 5 characters).
- Press the confirm button. The old status is closed in Status history and the new one opened.
Steps - delete: on the list press the bin and confirm. The person is removed from the lists; documents, consent and history are kept.
flowchart TD
s1(["Open profile and press Change status"]) --> a1["Choose a status and type a reason"]
a1 --> sys1[["Old status closed in Status history, new one opened"]]
sys1 --> d1{"New status is Active?"}
d1 -->|"No"| a2["Person cannot be given a truck or a trip"]
d1 -->|"Yes"| a3["Person can be assigned again"]
s2(["Press the bin on the list"]) --> d2{"Default crew, on duty or on an open trip?"}
d2 -->|"Yes"| a4["Refused with the reasons"]
d2 -->|"No"| sys2[["Person removed from lists - papers and history kept"]]
Statuses
| Status | Meaning | Can be assigned? |
|---|---|---|
| Active | Working | Yes |
| On leave | On approved leave (set by the leave job) | No |
| Suspended | Stopped by the company | No |
| Inactive | Left or not working | No |
If something goes wrong - delete is refused with "Default crew of ... Change the crew of the vehicle first.", "On duty now." or "On an open trip (...)." (the delete bin is also greyed out for a default crew member). "No change: the status is already ..." when you pick the current status.
6.9 Keep the papers of a person: documents, consent and requests (F-14 Documents, vault)
Purpose - every paper has an expiry, a reminder and a clear status, and personal papers are opened only with a reason. Who - Fleet Manager, HR, Owner (view needs the staff view right; the vault needs the vault right; personal papers also need the personal data flag).
Steps - read and renew
- Open the person's profile and press the tab Documents.
- Read Papers of this person: one card per paper the person must hold with Valid, Due soon, Expired or Not on file. A red banner "This person may not be given a truck." lists the blocking findings.
- Press Upload renewal (or Document vault > Upload).
- Choose the Document, type the Document number, Issue date, Expiry date and a Note, and choose the Upload scan (PDF, JPG or PNG, up to 5 MB).
- Press Save to the vault. The upload is a new record; older ones stay as history.
flowchart TD
s1(["Open the Documents tab"]) --> a1["Read Papers of this person: Valid, Due soon, Expired, Not on file"]
a1 --> d1{"Licence or professional card expired?"}
d1 -->|"Yes"| a2["Banner: this person may not be given a truck"]
d1 -->|"No"| a3["Person can be assigned"]
a2 --> a4["Press Upload renewal"]
a3 --> a4
a4 --> a5["Choose document, number, dates, scan and Save to the vault"]
a5 --> sys1[["New record - the latest upload is the current paper"]]
sys1 --> sys2[["Licence, card or iqama date on the person follows the paper"]]
sys2 --> sys3[["Reminders climb the paper's steps and tell the office and the driver"]]
Fields (upload form)
| Field | What to enter | Rules |
|---|---|---|
| Document | Kind of paper | Required. Drivers: driving licence, professional card, medical certificate. Anybody: iqama, passport, employment contract, NID copy, CV, police clearance, consent form, other |
| Document number | Number printed on the paper | Up to 80 characters; shown masked for a personal paper |
| Issue date / Expiry date | Dates | Expiry is required for kinds that expire and must be after the issue date |
| Note | Free text | Up to 300 characters |
| Upload scan | The file | Required; PDF, JPG or PNG, up to 5 MB; kept on the private disk |
Which papers are required: a driver must hold a driving licence and a professional card (Saudi); a resident needs an iqama. An expired licence or professional card blocks giving the person a truck or a trip. A missing paper never blocks; it only shows Not on file. A legal block can be waved through only if the company switches on the legal override setting (it is off by default).
The vault page (Consent & document vault) also holds:
- Consent - Record consent: Purpose (Personal data, Location tracking), Decision (Given / Withdrawn), Date, Note, Save consent. Each decision is a new record; the latest of a purpose counts. Choosing the state already recorded answers "No change: this consent is already recorded as ...".
- Access & deletion requests - Note a request: Request (Copy of my data / Delete my data), Asked on, Note, Save request; later answer it with a status (Open, In review, Done, Rejected) and an Answer. Nothing is erased from here: the retention rules are still to be agreed.
- Export person's data - type a Reason and press PDF to get everything stored about the person. The reason is written to the personal-data access log.
- Recent views of sensitive data - who opened what, and why.
What happens next - the current paper is the last upload (not the latest expiry). Saving a licence, professional card or iqama keeps that date on the person in step. Every day at 07:10 the reminder job climbs the paper's steps (usually 60, 30, 15, 7 days and the day itself); each step is sent once, a missed day is caught up, the driver gets an SMS in their language and the office gets a bell and e-mail.
If something goes wrong - "Choose the document."; "Expiry date is required."; "The expiry date must be after the issue date."; "The scan must be a PDF, JPG or PNG file."; "The scan must not be larger than 5 MB."
6.10 Accept or send back a renewal the driver sent (F-14)
Purpose - a driver can send a renewed paper from the driver portal or the Driver app; it waits for the office before it becomes the current paper. Who - Fleet Manager, HR with the vault right (a personal paper also needs the personal data flag).
Steps
- Open the profile. In the right-hand card Driver portal access look under Renewals waiting for you.
- Press Open scan to read the file (a personal paper is logged).
- Press Accept (confirm) or Send back, type the Reason and confirm.
flowchart TD
s1[/"Driver sends a renewal from the portal or the app"/] --> sys1[["Renewal waits under Renewals waiting for you"]]
sys1 --> a1["Office presses Open scan"]
a1 --> d1{"Paper is correct and readable?"}
d1 -->|"Yes"| a2["Press Accept and confirm"] --> sys2[["New vault record - it is now the current paper"]]
d1 -->|"No"| a3["Press Send back and type a reason"] --> sys3[["Person reads the reason on their profile"]]
If something goes wrong - a personal paper shows "A personal paper: only a role that may see personal data can open and decide it." when your role lacks the flag.
6.11 Give a driver portal access (F-14, card Driver portal access)
Purpose - a web login for the driver (own trips, claims, duty, leave and payslips); the driver signs in with an SMS code. Who - Fleet Manager, HR (update right).
Steps
- In the card Driver portal access type the Mobile and, if wanted, an Email.
- Press Give portal access. The card then shows the state: Active, Switched off, Locked, Office login or No access.
- Later use Switch off / Switch on / Unlock, or Send invitation again.
What happens next - without an e-mail the invitation goes by SMS only; switching off signs the person out at once. A person linked to an office login needs a login of its own: ask an administrator.
6.12 Open a masked personal number with a reason (F-14)
Purpose - identity numbers, iqama, date of birth, bank account and wallet are encrypted and shown masked; opening one is logged. Who - roles with the personal data flag and the person inside their scope.
flowchart TD
s1(["Profile shows the Personal data card with masked values"]) --> a1["Press Show beside a field"]
a1 --> d1{"Role may see personal data and person is in scope?"}
d1 -->|"No"| e1(["The card is not shown at all"])
d1 -->|"Yes"| a2["Type a reason of at least 5 characters"]
a2 --> sys1[["The opening is written to the personal-data access log"]]
sys1 --> a3["The value shows for this page view only"]
If something goes wrong - "Say why you need to see this. The reason is written to the access log."; "Nothing is stored for ..." when the field is empty. A page that holds an opened number is never kept by the browser.
6.13 Invite a driver to the Traincu Driver app (F-13, F-14)
Purpose - send the Driver app link by SMS and make sure the person has a login the app accepts. Who - Fleet Manager, HR (update right, person inside scope).
Steps
- On the Drivers & Helpers list press the phone icon on the row, or on the profile press Invite to app.
- Confirm "Send the Traincu Driver app link to ... by SMS?"
- A message tells what happened. The button then reads Send app link again.
flowchart TD
s1(["Press Invite to app on the list or the profile"]) --> d1{"Button is enabled?"}
d1 -->|"No"| a1["Hover for the reason: inactive, no mobile, office login, access off"]
d1 -->|"Yes"| a2["Confirm Send the Driver app link by SMS"]
a2 --> d2{"Invited less than a minute ago?"}
d2 -->|"Yes"| a3["Wait message with the seconds left"]
d2 -->|"No"| d3{"Mobile already has a login?"}
d3 -->|"No"| sys1[["Portal login made and SMS sent"]]
d3 -->|"Yes in this company"| sys2[["Login linked to this person and SMS sent"]]
d3 -->|"Yes with another carrier"| sys3[["Company invitation sent - linked when accepted"]]
sys1 --> e1(["Driver installs the app and signs in with the mobile"])
sys2 --> e1
sys3 --> e1
Why the button can be disabled: "The Driver app is for drivers, helpers and operators."; "An inactive person cannot be invited. Make the person active first."; "This person has no valid mobile number to send the invitation to."; "This person is linked to an office login. The portal needs a login of its own: ask an administrator."; "Switch the portal access on first." One invitation a minute per person: "An invitation was sent a moment ago. Try again in N seconds." The SMS carries the person's name, the company name and the link only; the link and the store pages are settings still to be confirmed by the business.
6.14 Create the owner-operator's own driver profile (Owner-operator page)
Purpose - an owner-operator drives their own truck, so the Owner gets a driver record made from their own login with one click. It is offered, never made automatically. Who - the Owner of a company whose owner-operator activity is approved.
Steps
- Click the notice on the company home, or the Add your drivers step, or open the page Create your driver profile.
- Check the facts shown (driver, mobile, role Driver, status Active) and press Create my profile.
- The profile opens. Add the licence and the professional card on the Documents tab; until then they show as missing.
flowchart TD
s1(["Owner sees the home notice or the Add your drivers step"]) --> a1["Open Create your driver profile"]
a1 --> d1{"Owner of an owner-operator company without a profile?"}
d1 -->|"No"| e1(["Page not found or a message explains why"])
d1 -->|"Yes"| a2["Press Create my profile"]
a2 --> sys1[["Driver record made from the login - status Active"]]
sys1 --> a3["Add licence and professional card on the Documents tab"]
If something goes wrong - "This company is not registered as an owner-operator."; "Only the Owner of the company can create their own driver profile."; "You already have a driver profile."; "Your login has no valid mobile number. Add one on your profile first."
6.15 Watch duty and rest, and override a violation (Duty monitor, Duty hours, Driver hours)
Purpose - drivers must not drive past the limits of the country. The platform totals the driving, rest and waiting events of trips and the Driver app and compares them with the limits. Who - Fleet Manager, Operations Manager (view duty); overriding needs the compliance approve right.
Where: the live board Duty & rest monitor (button Duty monitor on the driver list), the tab Duty hours of a driver, the Activity timeline, and the violation list Driver-Hour Violations (Compliance > Driver hours).
Limits currently in force for Saudi Arabia (draft, to be confirmed by the business): continuous driving 5 hours, minimum break 30 minutes, duty in a day 8 hours, duty in a rolling week 48 hours, rest between duties 10 hours, and the Driver app warns 30 minutes before the continuous limit. A company may override these figures in Settings > Rules > Duty-hour & compliance.
flowchart TD
s1(["Trips and the Driver app record driving, break, waiting"]) --> sys1[["Every 15 minutes the scan checks the limits"]]
sys1 --> d1{"How close is the driver?"}
d1 -->|"Close to a limit"| sys2[["Warning - it goes away when it no longer applies"]]
d1 -->|"Over a limit"| sys3[["Violation stays open until a manager decides"]]
d1 -->|"Fine"| e1(["Nothing to do"])
sys3 --> a1["Manager opens Driver hours or the Duty hours tab"]
a1 --> d2{"Has the right and a reason?"}
d2 -->|"Yes"| sys4[["Violation becomes Approved and the reason is logged"]]
d2 -->|"No"| a2["Driver must rest before a new trip"]
Duty monitor board - five columns: Off duty / resting, Driving, On break, Near limit, Violation. Each card shows the name, a note such as "4 h 10 m continuous - 50 m to the break", and Today / Week totals. Filters: Branch (and Project). The page refreshes every minute. Buttons: Excel, PDF, Print, Staff list. Helpers are not on the board. A banner names drivers with a violation.
Violation list - tiles Violations this week, Warnings now, Overridden, Limits in force; columns Driver, Name, Rule (Continuous driving, Minimum break, Daily duty, Weekly duty, Rest between duties), Value, Trip, Override, Status; filters Rule, Date.
Statuses
| Status | Meaning | What you can do next |
|---|---|---|
| Warning | Close to a limit | Nothing; it clears itself |
| Violation | Over a limit | Override with a reason (5+ characters) |
| Approved | A manager overrode it; reason in the activity log | Nothing |
If something goes wrong - "Only an open violation can be overridden." A violation also costs the driver points in the scorecard (6.16), once.
6.16 Read the driver scorecard and set the score rules (F-31)
Purpose - a monthly score out of 100 per driver, built from facts about their work. Who - Owner, Fleet Manager (the person who may see scores; changing rules also needs the right to edit drivers).
Steps
- Open People > Employees > Driver scorecard.
- Choose the Month and press Apply (Latest month goes back).
- Read the eight tiles, the four panels and the ranked list. Click a driver to open the person's own score page (F-14, tab Score).
- Press Score rules to change the weights and the points; press Save rules.
- Use the list's Excel / PDF buttons (Export PDF) to take the table away.
flowchart TD
s1[/"Trips, tracker, delivery proof, ratings, incidents report facts"/] --> sys1[["Each fact is saved once with its points"]]
sys1 --> sys2[["Month score is the weighted average of the parts that were measured"]]
sys2 --> a1["Open Driver scorecard and pick the month"]
a1 --> d1{"Do the drivers have facts?"}
d1 -->|"No"| e1(["No score is shown - never a zero"])
d1 -->|"Yes"| a2["Read tiles, 4 panels and the ranked list"]
a2 --> a3["Press Score rules to change weights and points"]
a3 --> sys3[["New weight counts for the running month at once"]]
Tiles: Fleet score, Top driver, On-time, Harsh events per 1,000 km, Speeding events, POD on time, Avg rating, At-fault incidents. Panels: Score by month, Score components, Events by type, Drivers ranked. List filters: Band (Strong 85 and above, Fair 70 to 84, Needs attention under 70), Role.
The six components and their default weights: On-time delivery 30, Safe driving 20, Duty-hour compliance 20, Proof of delivery 10, Customer rating 10, Incidents & damages 10. A component starts at 100 and each fact moves it; the score is the weighted average of the components that were measured, so a driver is never marked down for something nobody measured, and a driver with no facts has no score (a dash).
Default points of one fact (changeable between -50 and +50): Delivered on time 0, Delivered late -4, Duty-hour violation -5, Harsh braking -2, Speeding -4, Proof of delivery missing -3, Customer rating -3 for each star below 4, At-fault incident -15. A delivery counts as late after a grace of minutes you set (Grace after the expected arrival (minutes)).
Good to know - a fact keeps the points it had when it was recorded; a new weight or point value applies to what happens next. The monthly job on the 1st at 02:30 closes the month and is safe to run twice.
Where the score is shown. Holders of the scorecard right (staff.score) see it in the driver list (F-13, column Score, the newest month that has one, with the month under it; it is also in the export) and on the profile (F-14): the Score line, the Score breakdown panel (the six components of that month) and the Incidents & violations panel (the latest duty violations, speeding, harsh braking and at-fault incidents). A driver nothing was scored for shows a dash. Others do not see the column or the panels.
6.17 Record attendance (H-05)
Purpose - one row per person per day. Who - HR and supervisors (view, create, update, approve, delete rights).
Four ways a day is recorded
| Source | How |
|---|---|
| App check-in | The driver or helper checks in and out in the Driver app, with the position (27 - Mobile app, 26 - Driver portal and app) |
| Device log | You upload the CSV of a biometric or card reader with Import device log |
| Marked by hand | A supervisor presses Mark attendance |
| Trip duty | A nightly job (00:25) turns a driver's own duty time into attendance; it never overwrites a day that a person, the app or a device recorded |
Steps - mark a day
- Open People > Time > Attendance and press Mark attendance.
- Choose the Employee and the Date (a day that has not come cannot be recorded), type Check in and Check out (leave the out time empty while the day is open), optionally another Shift and a Note.
- Press Save the day. Press the green tick on a row to Approve it, the pencil to correct it, the bin to remove it (a reason is asked).
Steps - import a device log
- Press Import device log, choose the Device log (CSV) (up to 5,000 lines, 2 MB) and press Import.
- One line per person and day with the columns staff (the staff code), date (YYYY-MM-DD), in and out. Two lines for the same person and day are the same day.
- The page says "Imported N days, left M lines." and lists the lines it did not use ("No person with the code ...", "The day is not a date (YYYY-MM-DD)."). The file itself is thrown away.
flowchart TD
s1(["Open Attendance"]) --> d1{"How is the day recorded?"}
d1 -->|"Driver app"| sys1[["Row made with the place and time"]]
d1 -->|"Device log"| a1["Press Import device log and upload the CSV"] --> sys2[["Rows made and bad lines reported"]]
d1 -->|"Supervisor"| a2["Press Mark attendance"] --> sys3[["Row made - Marked by hand"]]
d1 -->|"Driver duty"| sys4[["Nightly job turns trip duty into attendance"]]
sys1 --> d2{"Month already locked?"}
sys2 --> d2
sys3 --> d2
sys4 --> d2
d2 -->|"Yes"| a3["Refused: the month is approved and locked"]
d2 -->|"No"| sys5[["Late and overtime worked out from the shift"]]
sys5 --> a4["Status Pending - a supervisor presses Approve"]
a4 --> e1(["Approved - or the whole month is approved later"])
The list - columns Date, Employee, Shift, Check in, Check out, Late / OT, Source, Status; filters Date, Branch, Shift, Source, Status, Employee.
How late and overtime are worked out (nobody types them): worked = time between in and out less the shift's break; late = minutes after the shift start plus its grace (never on a weekend or a holiday); overtime = minutes beyond what the shift expects, counted only from 30 minutes on, and on a weekend or holiday everything worked is overtime. A day with no check-out is open (not zero). Overtime pay rate is the setting Overtime rate (1.5 for Saudi Arabia, draft). Defaults of the Saudi pack (draft): grace 10 minutes, a day shorter than 4 hours counts as half a day, weekend Friday and Saturday, Ramadan day 6 hours.
Statuses: Pending (recorded, waiting) and Approved. After the month is approved the days are locked and the row buttons disappear.
If something goes wrong - "Attendance cannot be recorded for a day that has not come yet."; "The check-out cannot be before the check-in."; "The attendance of ... was approved and is locked."; "That person is not one you may record attendance for." The app: "There is no check-in to close for that day."
Note. The Dev Pack lists the statuses Approved, Pending, Missing and On Leave for this list. The application has only Pending and Approved; a missing day is a day with no row, and leave is read from the Leave register.
6.18 Approve a month of attendance and overtime (H-06)
Purpose - freeze the month so the payroll run can read it. Who - HR (approve right to approve; update right to open it again).
Steps
- Open the tab Monthly & overtime. The page goes to the current month; pick another Month if needed.
- Check Present, Absent, Late and OT hours of every person. Use the row buttons to open that person's days or leave balances.
- Press Approve month and confirm "Every day of ... will be approved and the month will be locked. The payroll run reads it from then on."
- To correct a mistake later press Open the month again, type the reason and confirm.
- Press Print the month for the paper.
flowchart TD
s1(["Open Monthly and overtime and pick the month"]) --> a1["Check Present, Absent, Late and OT hours per person"]
a1 --> d1{"Month is still to come?"}
d1 -->|"Yes"| a2["Refused: attendance for a day not come yet"]
d1 -->|"No"| a3["Press Approve month and confirm"]
a3 --> sys1[["Pending days approved, totals frozen, month Locked"]]
sys1 --> sys2[["Attendance locked event tells the payroll run"]]
sys2 --> d2{"A mistake found later?"}
d2 -->|"Yes"| a4["Press Open the month again and give a reason"]
a4 --> sys3[["Month open again - correct days - approve again"]]
d2 -->|"No"| e1(["Payroll reads the month"])
stateDiagram-v2 [*] --> Pending Pending --> Approved : Every day of the person is approved Approved --> Locked : Approve month Pending --> Locked : Approve month approves what is left Locked --> Approved : Open the month again and the days stay approved
Columns: Staff ID, Employee, Present, Absent, Late, OT hours, Status; filters Month, Branch, Role.
How the figures are counted - Present counts the days with a record (half a day when less than the half-day floor was worked); Absent is the working days of the month less days present and days of approved leave, and is a dash for a person with no record at all that month; Late counts days; OT hours counts hours beyond the shift's own day. The page also gives the unpaid-leave days that the payroll run takes off.
Statuses
| Status | Meaning | What you can do next |
|---|---|---|
| Pending | Not every day of the person is approved (or no record) | Approve the days or the month |
| Approved | Every day of the person is approved | Approve month |
| Locked | The month is approved | Open the month again (reason) |
If something goes wrong - "Attendance cannot be recorded for a day that has not come yet." for a month still to come. After approval a banner says "... was approved and is locked. Approved by ... on ..."; after a reopen "This month was opened again on ...".
6.19 Ask for, approve and read leave (H-07)
Purpose - register a leave, decide it, and see what each person has left. Who - HR and managers (view; create; approve or reject; cancel).
Steps - register
- Open People > Time > Leave register, press Leave.
- Choose the Staff member, the Type, From and To (both days count; at most 180 days in one entry) and a Reason (required for Other).
- Optionally choose a Relief assigned from the suggestions (other active people of the same kind with no leave in those days).
- Press Register leave. The leave is Pending.
Steps - decide: on the row press the green tick to Approve (confirm), or the red cross to Reject and type a reason; Cancel leave (with a reason) works on a pending or approved leave.
flowchart TD
s1(["Open Leave register and press Leave"]) --> a1["Choose person, type, From, To and a reason if Other"]
a1 --> d1{"Dates right, no overlap, 180 days or less?"}
d1 -->|"No"| a2["Fix the dates - the message names the clash"] --> a1
d1 -->|"Yes"| a3["Optionally choose a relief person"]
a3 --> sys1[["Leave saved as Pending"]]
sys1 --> d2{"Approver decides"}
d2 -->|"Reject with a reason"| sys2[["Rejected - reason kept"]]
d2 -->|"Approve"| sys3[["Approved - the balance of that kind is worked out again"]]
sys3 --> d3{"Leave already started?"}
d3 -->|"Yes"| sys4[["Person is On leave at once"]]
d3 -->|"No"| sys5[["Daily job sets On leave on day one and Active after the last day"]]
sys3 --> d4{"Trips planned in those days?"}
d4 -->|"Yes"| a4["Warning lists the trips - assign someone else"]
stateDiagram-v2 [*] --> Pending Pending --> Approved : Approve Pending --> Rejected : Reject with a reason Pending --> Cancelled : Cancel leave with a reason Approved --> Cancelled : Cancel leave with a reason
Types of leave (Saudi pack; days are a draft, to be confirmed by the business): Annual leave (21 days a year, builds up month by month, unused days carry over up to 21), Sick leave (30), Hajj leave (10, once in service), Marriage leave (3, once), Bereavement leave (5), Maternity leave (70), Unpaid leave (no balance). A company that already used Casual leave or Other keeps them. Unpaid leave takes a day of basic pay from the salary for each day (the payroll run does it).
The register - columns Leave, Staff, Type, From, To, Balance after, Relief assigned, Status; filters Status, Type, Month (every leave with a day in the month) and Employee. Button Balances opens the balance list: columns Employee, Type, Year, Entitled, Carried, Taken, Balance; filters Type, Year, Employee. Balances are recalculated when a leave is decided; a monthly job (1st, 01:10) adds the month's share and carries days over in January.
Statuses
| Status | Meaning | What you can do next |
|---|---|---|
| Pending | Waiting for a decision | Approve, Reject, Cancel leave |
| Approved | Counted; person is On leave from day one | Cancel leave |
| Rejected | Refused, reason kept | Register a new leave |
| Cancelled | Withdrawn; a running leave brings the person back at once | - |
If something goes wrong - "The last day cannot be before the first day."; "... has leave ... from ... to ... already."; "A leave cannot be longer than 180 days."; "Choose an active person of the same kind as relief."; "Only a pending leave can be approved." / "... rejected." / "Only a pending or approved leave can be cancelled."
6.20 Keep shifts and public holidays (H-08)
Purpose - the working day and the public holidays that attendance is measured against. Who - HR (view, create, update, delete rights).
Steps - shift: open People > Time > Shifts & holidays, tab Shifts, press Shift. Fill Name, Starts at, Ends at, Break (minutes), Grace (minutes), the Weekend days, the Ramadan hours (both start and end, or neither), Who it is for (tick kinds of person; nobody ticked means everybody), Status (Active or Draft) and The default shift of the company. Press Save the shift.
Steps - holiday: tab Public holidays, press Holiday. Fill Date, Name (Arabic), Name (English) (at least one), Branches (none ticked means every branch), Status and A paid day. Press Save the holiday.
Saudi proposal: press Add the holidays of :year (draft) to get Founding Day (22 February), Saudi National Day (23 September) and the two Eids as Draft days; check each date and press Adopt the draft holidays of :year.
flowchart TD
s1(["Open Shifts and holidays"]) --> d1{"Which tab?"}
d1 -->|"Shifts"| a1["Press Shift and fill the working day"]
d1 -->|"Public holidays"| d2{"By hand or the Saudi proposal?"}
d2 -->|"By hand"| a2["Press Holiday and fill date and names"]
d2 -->|"Saudi proposal"| a3["Press Add the holidays of the year as drafts"]
a3 --> a4["Check each date and press Adopt the draft holidays"]
a1 --> sys1[["Shift saved - the first shift becomes the default"]]
a2 --> sys2[["Holiday saved"]]
a4 --> sys3[["Adopted holidays count from now"]]
sys1 --> e1(["Late, absent and overtime use them"])
sys2 --> e1
sys3 --> e1
Lists - shifts: Code, Name, Type, Timing, Weekend, Applies to, Status; holidays: Code, Name, Type, Date, Branches, Applies to (Paid day / Unpaid day), Status; filters Status, and for holidays Date, Branch, Paid.
Good to know - a draft holiday or shift changes nobody's attendance. A holiday means nothing is counted late or absent and everything worked is overtime. A new company starts with one default shift (08:00 to 17:00, 60 minutes break, the weekend of its country) and no holiday, because the Hijri calendar is the company's to confirm. The Eid dates come from the Umm al-Qura calendar and can differ by a day from the Ministry's announcement (draft figures: four days for each Eid). Without the Hijri calendar on the server only the two national days are proposed. Removing a shift or a holiday asks for a reason (Take this off the calendar?).
If something goes wrong - "A shift must be longer than nothing."; "Ramadan hours need both a start and an end."; "A holiday needs a name in at least one language."; "A holiday needs a day."
6.21 Open a recruitment request and work its candidates board (H-27, H-28)
Purpose - ask for a number of drivers with a licence, a truck type, experience and a city, then take each candidate through checking, interview, approval and registration as an employee. Who - HR and the Owner (view, create, update, delete; the interview and register rights for the board). The account manager of HRincu can be named on the request.
Steps - the request
- Open People > Employees > Recruitment and press Recruitment request.
- Fill Drivers needed, Licence category, Truck type, Least experience (years), City, Needed by, Nationality rule, Account manager, HRincu reference, Note.
- Press Open the request. It gets a number (RR-0001), status Open request, and the board opens.
Steps - the board
- Press Candidate and fill the Add a candidate form (name and mobile are required).
- On the card press Check documents; tick Driving licence, Papers, Experience and press Record the screening. The candidate moves to Documents checked once the licence and the papers are ticked.
- Press Schedule interview: Interview at, How (On site, Video, Phone), Interviewer. The candidate moves to Interview.
- Press Record result: Pass, Fail or Hold. Fail sets the candidate aside with your note as the reason; Hold keeps them in Interview.
- After a Pass press Approve.
- Press Register as driver: choose the Kind of person, the Joining date, Employment type, a Designation and tick consent if given, then Make the employee record.
- When the number of approved candidates reaches Drivers needed the request becomes Completed. You can also press Complete yourself.
flowchart TD
s1(["Open Recruitment and press Recruitment request"]) --> a1["Fill drivers needed, licence, truck, city, needed by"]
a1 --> sys1[["Request RR number made - status Open request"]]
sys1 --> a2["Open the board and press Candidate to add people"]
a2 --> a3["Check documents: licence and papers ticked"]
a3 --> a4["Schedule interview and then Record result"]
a4 --> d1{"Result?"}
d1 -->|"Fail"| sys2[["Set aside with the reason"]]
d1 -->|"Hold"| a5["Stays in Interview - schedule again"]
d1 -->|"Pass"| a6["Press Approve"]
a6 --> a7["Press Register as driver"]
a7 --> sys3[["Employee record made with a DRV number"]]
sys3 --> d2{"Approved reached Drivers needed?"}
d2 -->|"Yes"| sys4[["Request becomes Completed"]]
d2 -->|"No"| a2
stateDiagram-v2 [*] --> Shortlisted Shortlisted --> DocumentsChecked : Check documents with licence and papers ticked DocumentsChecked --> Interview : Schedule interview Interview --> Approved : Approve after a Pass Interview --> SetAside : Result Fail Shortlisted --> SetAside : Not taken with a reason DocumentsChecked --> SetAside : Not taken with a reason Interview --> SetAside : Not taken with a reason state "Documents checked" as DocumentsChecked state "Set aside" as SetAside
stateDiagram-v2 [*] --> Open Open --> Pending : First candidate is on the board Pending --> Open : The board becomes empty Pending --> Completed : Drivers needed are approved or Complete is pressed Open --> Cancelled : Call it off with a reason Pending --> Cancelled : Call it off with a reason Completed --> Open : Open again Cancelled --> Open : Open again
Request form fields
| Field | What to enter | Rules |
|---|---|---|
| Drivers needed | How many drivers | Required, 1 to 500 |
| Licence category | Any or a category | From the company's list |
| Truck type | Any or a vehicle type | From the platform list |
| Least experience | Years | 0 to 50 |
| City | Anywhere or a city | |
| Needed by | A day | Today or later |
| Nationality rule | Any nationality or Nationals only | Required. "Nationals only" is how a company works towards its nationalisation target |
| Account manager | A login or Nobody | Optional |
| HRincu reference | The reference HRincu sent | Up to 100 characters |
| Note | Free text | Up to 500 characters |
Note. Nationality rule and Least experience warn but never block: a candidate who does not match (or whose nationality or experience is not recorded) shows a yellow line on the board card, the same sentence appears after you add or save the candidate, and Approve asks again (Approve anyway?). The Find drivers button of the Dev Pack is not available: how HRincu sends its candidate lists (interface, file or by hand) is still to be settled, so candidates are added by hand on the board (Came from can say HRincu and carry the reference). Drivers who registered themselves on the public site are searched elsewhere (People > Employees > Find drivers). The board also has no drag and drop: a candidate moves forward with a button.
Candidate form fields: Name (required, up to 120), Mobile (required, must be a real number, not already a candidate of this request), E-mail, Nationality, Licence category, Years of experience (0 to 50), City, Came from (Entered by hand, HRincu, Job application), HRincu reference, Notes. No identity number and no date of birth is asked: those belong to the employee record made at registration.
Buttons on the list (H-27) - Candidates (opens the board), Edit and Call it off (a live request; the reason is mandatory), Open again (a closed or cancelled one), Print, Remove (only a request with no candidates).
Statuses of a request (the list shows four words)
| Status shown | Meaning | What you can do next |
|---|---|---|
| Open request | Nobody has answered it yet | Add candidates, edit, call it off |
| Pending | Candidates are on the board or being interviewed | Work the board, Complete |
| Completed | The drivers asked for were approved, or HR closed it | Open again |
| Cancelled | Called off with a reason; candidates stay as a record | Open again |
Contact details of a candidate are masked everywhere (list, export, print, log). With the personal data flag, Show beside the masked mobile opens a box: tick Mobile and/or E-mail, type a Reason, and the value is shown once; one audit line names the fields, never the values.
What happens next - Register as driver makes the record with the same rules as Employee (6.3): the number, the status history, the consent and the audit line are those of the employee file, and the candidate keeps the id of the new record, so nobody is taken on twice. The new person then needs a contract, papers and a salary.
If something goes wrong - "That recruitment request is closed. Open a new one to carry on recruiting."; "Say why, so the record shows it."; "Check the licence, the papers and the experience before the interview."; "Record the interview and its result before approving the candidate."; "The interview was not passed. Record a new result first if that was a mistake."; "That candidate has already been decided."; "A candidate moves forward through the board. Record the reason and set them aside instead."; "That mobile number is already a candidate of this request."; "Only an approved candidate becomes an employee."; "That candidate already has an employee record."; "That request has candidates on it. Call it off with a reason instead, so what was looked at stays readable." (when removing a request that has candidates)
6.22 The life of an employee, from hire to leaving (overview)
flowchart TD
s1(["A person is needed"]) --> a1["Recruitment request and candidates board"]
a1 -->|"Register as driver"| sys1[["Employee record made - status Active"]]
s2(["A person joins without a request"]) --> a2["Add an employee or Add staff"]
a2 --> sys1
sys1 --> a3["Contract recorded and put in force"]
a3 --> a4["Papers uploaded with expiry dates"]
a4 --> a5["Daily work: attendance, leave, duty, score"]
a5 --> d1{"Something changes?"}
d1 -->|"Leave approved"| sys2[["On leave and then Active again"]]
d1 -->|"Suspended"| sys3[["Suspended - no trips"]]
d1 -->|"Person leaves"| a6["Close the contract and set the status Inactive"]
a6 --> a7["End of service and final settlement - guide 15"]
7. Screen by screen
H-01 - HR and payroll dashboard
Address /app/hr - Who the HR dashboard right (Owner, HR, Finance). Menu People > Employees > HR dashboard.
What you see: a Month picker with Apply; four people tiles (Employees, Present today, On leave, Documents expiring); for money roles four money tiles (This month gross, Advances open, Loans open, EOSB liability); the panels Payroll cost by month, Cost by department, Attendance trend, Overtime by branch; grey notes.
What you can do: Run payroll, Employee, HR reports; click any tile. Described in 6.1.
H-02 - Employees
Address /app/hr/employees - Who the employee view right (HR; Finance reads). Rows are limited to your data scope.
Columns: Employee (name and code), Department, Designation, Type, Basic (SAR) (money roles only: the basic pay of the contract in force), Status (Active, On Leave, Suspended, Inactive), Actions. Filters: Department, Branch, Type, Nationality group (This country, GCC, Other), Status. Search covers code, name, designation and mobile. The list exports to Excel and PDF (export right); the Basic column is left out of the file for a role without money.
Buttons: Employee (add), Drivers & helpers, HR settings; row Open and Edit.
Note. The Import button of the Dev Pack is not on this list: a bulk import of employees is not built yet (the Import button of the driver list F-13 says so too). Described in 6.3.
H-03 - Add or edit employee
Address /app/hr/employees/create and /app/hr/employees/{id}/edit - Who the employee create or update right.
What you see: cards The person, The job, Identity and payment (only with the personal data flag) and Papers (link to Documents). Buttons: Save employee, Save and add another, Cancel. Where the other fields of the Dev Pack went: see the note in 6.3. Described in 6.3.
H-04 - Employee profile 360
Address /app/hr/employees/{id}?tab= - Who the employee view right and the person inside your scope.
What you see: the header and the tabs of 6.4 (Overview, Job and contract, Documents, Attendance, Leave, Salary and payslips, Advances and loans, Bonus, Ledger, End of service, PF / GOSI, Trips and score). Buttons: Edit, New advance, Final settlement, Print (the employee record), History. Described in 6.4. Not available yet: the tab Assets and the panels Timeline and AI summary.
H-05 - Attendance
Address /attendance - Who the attendance view right (create, update, approve, delete for the actions). Menu People > Time > Attendance.
Columns: Date, Employee, Shift, Check in, Check out, Late / OT, Source (App check-in, Device log, Marked by hand, Trip duty), Status (Pending, Approved), Actions (Approve, Edit, Remove with a reason, History). Filters: Date, Branch, Shift, Source, Status, Employee. The subtitle says how many days wait for approval. Buttons: Mark attendance, Import device log. Described in 6.17.
H-06 - Monthly attendance and overtime
Address /attendance/monthly?month=YYYY-MM - Who the attendance view right; approve right for Approve month; update right for Open the month again.
Columns: Staff ID, Employee, Present, Absent, Late, OT hours, Status (Pending, Approved, Locked). Filters: Month, Branch, Role. Buttons: Approve month, Open the month again, Print the month, Excel/PDF export. Described in 6.18.
H-07 - Leave requests and balances
Address /payroll/leave and /payroll/leave/balances - Who the payroll view right (create to register, approve to decide, update to cancel). Menu People > Time > Leave register (also a tab of the payroll strip).
Columns: Leave, Staff, Type, From, To, Balance after, Relief assigned, Status (Pending, Approved, Rejected, Cancelled). Filters: Status, Type, Month, Employee. Buttons: Leave, Balances; row Approve, Reject, Cancel leave, History. Described in 6.19.
H-08 - Shifts and holidays
Address /hr/calendar?tab=shifts|holidays - Who the attendance view right (create, update, delete for the buttons). Menu People > Time > Shifts & holidays.
Two tabs, Shifts and Public holidays, each with its own search, filters and export. Buttons: Shift, Holiday; on the holidays tab the Saudi proposal box. The Dev Pack filters Type and Branch are replaced by Status, Date, Branch, Paid on the tab where they make sense. Described in 6.20.
H-25 - HR and payroll settings
Address /settings/hr and /settings/hr/departments - Who the HR settings right (Owner, HR admin). Menu Settings > Rules > HR and payroll.
What you see: Country rule pack card (what the country has: Social insurance (GOSI), Wage protection (WPS), End of service, Provident fund, Income tax kept back, Contract registry (Qiwa)); cards The month, What this company runs, Limits, Approvals and delivery; a tab Departments. Buttons: Save settings; on departments Department, Edit, switch, delete. The Dev Pack's Country rule pack selector is not a field: it follows the company's country. Described in 6.5 and 6.6.
H-26 - HR and payroll reports
Address /app/reports/hr?from=&to= - Who the reports view right (export right for the files).
What you see: From, To, Apply, This month, Last month; eight KPI tiles; panels Payroll cost trend, Leave by type, Headcount by department, Cost per driver vs trips; The reports behind these figures. Buttons: Export PDF, Export Excel, Report centre. Described in 6.2.
H-27 - Recruitment requests (HRincu)
Address /app/hr/recruitment - Who the recruitment view right (create, update, delete). Menu People > Employees > Recruitment.
Columns: Request, Drivers needed (for example "2 of 5"), Licence / truck, City, Needed by, Status (Open request, Pending, Completed, Cancelled), Candidates, Actions. Filters: Status, Licence category, City, Needed by. Buttons: Recruitment request, Employees. The Dev Pack's Find drivers button (HRincu lists) is not on this page. Form at /app/hr/recruitment/new and /app/hr/recruitment/{id}/edit. Described in 6.21.
H-28 - Candidates and interviews
Address /app/hr/recruitment/{id} (board) and /app/hr/recruitment/{id}/list (the same people as a list) - Who the recruitment view right; the interview right to move candidates; the register right (and the employee create right) for Register as driver.
What you see: four columns Shortlisted, Documents checked, Interview, Approved, and a Set aside box. Buttons: Candidate, As a list, Complete, Print; on a card Check documents, Schedule interview, Record result, Approve, Not taken, Back on the board, Register as driver, Open the record, Show. The list has the columns Candidate, Name, Mobile, Nationality, Licence category, Experience, Stage, Interview result, Interview, Came from, filters Stage, Interview result, Came from, and the Excel/PDF export. Described in 6.21.
F-13 - Drivers
Address /staff (the Dev Pack says /app/drivers) - Who the staff view right (Fleet Manager, HR, Dispatcher read). Menu People > Employees > Drivers & Helpers.
Columns: Staff ID, Name, Role, Default vehicle, Project (only where the project module is on), Licence category, Licence expiry (with a status), Duty state, Score (only with the scorecard right, see 6.16), Status, Actions (View, Edit, phone icon Invite to app, bin Delete). Filters: Role, Project, Status, Nationality, Duty state, Licence expiry (Valid, Expiring in 60 days, Expired), Branch. A subtitle counts people by kind; a red banner warns of active drivers with an expired licence (button Show them); an orange banner names drivers over a duty limit.
Buttons: Add staff, Duty monitor, Import (says "not built yet"). Described in 6.7, 6.8, 6.13.
F-14 - Driver profile
Address /staff/{id} (the Dev Pack says /app/drivers/{id}) - Who the staff view right and the person inside your scope.
Tabs: Overview, Documents, Duty hours, Timeline, Trips, Score, Advances, Leave. Advances opens the salary advances and Leave the leave register, both filtered to this driver (each needs its own permission; Advances also money). Trips opens the trip list filtered to the trips this person drove or helped on (needs the trips view permission; see 09 - Dispatch, trips and TMS).
Overview shows: mobile, default vehicle, project, branch, nationality, languages, Licence category, Licence expiry (with Valid / Due soon / Expired), Professional card expiry, Iqama expiry (Saudi), duty today and this week, finished trips this month, the latest score, emergency contact, employment, login, address; the Consent strip; Right now (state, continuous time); the Personal data card (masked, Show with a reason); Status history. The right column has Duty this week vs ... limit, Score breakdown, Incidents & violations (6.16), Driver portal access and Quick links.
Buttons: Change status, Change truck (opens the vehicle's crew change in 10 - Fleet, vehicles and tracking), Invite to app, Edit, History. Iqama and national ID are masked; opening one is logged. Described in 6.7 to 6.14.
F-31 - Driver scorecard
Address /staff/scorecard (the Dev Pack says /app/drivers/scorecard) - Who the staff score right. Menu People > Employees > Driver scorecard.
What you see: Month and Apply; eight tiles; panels Score by month, Score components, Events by type, Drivers ranked; the ranked list with the components as columns and a Facts count. Buttons: Score rules, Drivers & helpers, the list's Excel/PDF export. Described in 6.16.
Extra pages that have no Dev Pack code
Add or edit a driver or helper (S-02) - /staff/create, /staff/{id}/edit. Described in 6.7.
Duty & rest monitor (S-04) - /staff/duty. The live board of drivers. Described in 6.15.
Duty hours tab - /staff/{id}/duty: four tiles (Driving now, Break due, Duty today, This week), Duty and rest this week (day by day against the daily limit) and Violations this week with Override. Buttons Duty monitor, Full timeline, Driver-hour violations.
Activity timeline (S-05) - /staff/{id}/timeline: totals per day and a list with From, To, Duration, State (Running, Break, Waiting, Idle, Off duty), Trip, Location; filters Date range, State. Rows are written by trips, the Driver app and the tracker.
Driver-Hour Violations (K-03) - /compliance/hours. Described in 6.15.
Person scorecard (S-06) - /staff/{id}/score?from=&to=: tiles per component, Score trend, Score components, Violations by month, How the score is made up and What was recorded; a note explains "Nothing has been recorded against this person in these days, so there is no score." when empty.
Score rules - /staff/scorecard/rules. Described in 6.16.
Consent & document vault (S-07) and Upload a document - /staff/{id}/vault, /staff/{id}/vault/upload, and the Documents tab /staff/{id}/documents. Described in 6.9.
Create your driver profile - /staff/owner-operator. Described in 6.14.
Mark attendance / Correct a day - /attendance/create, /attendance/{id}/edit; Import device log - /attendance/import. Described in 6.17.
Shift and holiday forms - /hr/shifts/create, /hr/shifts/{id}/edit, /hr/holidays/create, /hr/holidays/{id}/edit. Described in 6.20.
Register a leave - /payroll/leave/create (and a helper that suggests relief people as you choose dates, /payroll/leave/relief). Described in 6.19.
Department form - /settings/hr/departments/create, /settings/hr/departments/{id}/edit. Described in 6.5.
Recruitment request form - /app/hr/recruitment/new, /app/hr/recruitment/{id}/edit. Described in 6.21.
Employee ledger and print - /app/hr/employees/{id}/ledger, /app/hr/employees/{id}/ledger/print (H-20) and End of service of one person - /app/hr/employees/{id}/eosb: they belong to payroll and are described in 15 - Payroll. They are reached from the tabs Ledger and End of service of H-04.
Downloads and helpers - a paper's scan /staff/{id}/documents/{doc}/file, a renewal's scan /staff/{id}/portal-uploads/{id}/file, the HR report file /app/reports/hr/export/{format}.
8. Tips and common questions
Q1. I cannot see the Basic pay, the contract tab or any amount. Why? Your role has no money flag. The amount is absent, not hidden. Ask the Owner to change the role in Settings > Roles.
Q2. I cannot see the national ID or the iqama number. Your role has no personal data flag. With the flag the numbers are still masked; press Show, type a reason and the opening is logged.
Q3. I added a person but cannot find them in the list. If you are branch-scoped you only see people of your branches. When you add a person, choose one of your own branches.
Q4. What is the difference between Employees (H-02) and Drivers & Helpers (F-13)? They are the same people. Employees shows everybody on the payroll with HR facts; Drivers & Helpers shows the people who drive (driver, helper, operator) with licences, duty and the Driver app. Office, workshop and store people appear only in Employees.
Q5. A driver's licence expired. What happens? The profile shows a red banner, the driver list warns, and the person cannot be given a truck or a trip until a renewed licence is uploaded. Upload it on Documents (Upload renewal). Only if the company switched on the legal override can a dispatcher go past it.
Q6. Why is the month locked and I cannot change a day? The month was approved in H-06. Ask HR to Open the month again, give a reason, correct the days and approve again.
Q7. Can I change an employee's type from Office to Driver? No. A person does not change their kind of work. Add a new record of the right type.
Q8. Why does a score show a dash instead of 0? A dash means nothing was measured. A zero would wrongly say "worst". The same rule is used for the HR dashboard tiles.
Q9. How do I get the Eid holidays? On the Public holidays tab press Add the holidays of the year (draft), check every date against the Ministry's announcement and press Adopt the draft holidays. A draft day changes nobody's attendance.
Q10. The driver says the SMS did not arrive. Check the button's message after pressing Invite to app (it lists which message failed). You can press Send app link again, once a minute. The link text and store pages are settings still to be confirmed by the business.
Q11. Where is the salary, the advance and the final settlement? In 15 - Payroll. Use the tabs Salary and payslips, Advances and loans, Ledger and End of service of the employee profile.
Q12. Where do I see a driver's trips? Open the driver's profile and press the Trips tab: it opens the trip list filtered to the trips this person drove or helped on (09 - Dispatch, trips and TMS). The Trips and score tab of H-04 shows the score.
9. Page reference (for support and testing)
Pages (GET)
| Page | Address | Route name | Who can open (permission / activity) | Described in |
|---|---|---|---|---|
| HR dashboard (H-01) | /app/hr |
hr.dashboard |
hr.dashboard; no activity gate |
6.1 |
| Employees (H-02) | /app/hr/employees |
employees.index |
employees.view |
6.3 |
| Add employee (H-03) | /app/hr/employees/create |
employees.create |
employees.create |
6.3 |
| Employee 360 (H-04) | /app/hr/employees/{staff} |
employees.show |
employees.view + person in scope |
6.4 |
| Edit employee (H-03) | /app/hr/employees/{staff}/edit |
employees.edit |
employees.update + person in scope |
6.3 |
| End of service of one person | /app/hr/employees/{staff}/eosb |
settlements.employee |
settlements.view |
15 |
| Employee ledger (H-20) | /app/hr/employees/{staff}/ledger |
staff-ledger.show |
payroll view + money flag, or the person | 15 |
| Employee ledger print | /app/hr/employees/{staff}/ledger/print |
staff-ledger.print |
payroll view + money flag | 15 |
| Recruitment requests (H-27) | /app/hr/recruitment |
recruitment.index |
recruitment.view |
6.21 |
| New recruitment request | /app/hr/recruitment/new |
recruitment.create |
recruitment.create |
6.21 |
| Candidates board (H-28) | /app/hr/recruitment/{recruitmentRequest} |
recruitment.show |
recruitment.view |
6.21 |
| Edit recruitment request | /app/hr/recruitment/{recruitmentRequest}/edit |
recruitment.edit |
recruitment.update |
6.21 |
| Candidates as a list | /app/hr/recruitment/{recruitmentRequest}/list |
recruitment.candidates |
recruitment.view |
6.21 |
| HR reports (H-26) | /app/reports/hr |
reports.hr |
reports.view |
6.2 |
| HR reports file (download) | /app/reports/hr/export/{format} |
reports.hr.export |
reports.view + reports.export |
6.2 |
| Attendance (H-05) | /attendance |
attendance.index |
attendance.view |
6.17 |
| Mark attendance | /attendance/create |
attendance.create |
attendance.create |
6.17 |
| Import device log | /attendance/import |
attendance.import |
attendance.create |
6.17 |
| Monthly attendance (H-06) | /attendance/monthly |
attendance.monthly |
attendance.view |
6.18 |
| Correct a day | /attendance/{record}/edit |
attendance.edit |
attendance.update |
6.17 |
| Driver-hour violations (K-03) | /compliance/hours |
compliance.hours.index |
compliance.view |
6.15 |
| Shifts and holidays (H-08) | /hr/calendar |
hr.calendar |
attendance.view |
6.20 |
| New holiday | /hr/holidays/create |
hr.holidays.create |
attendance.create |
6.20 |
| Edit holiday | /hr/holidays/{holiday}/edit |
hr.holidays.edit |
attendance.update |
6.20 |
| New shift | /hr/shifts/create |
hr.shifts.create |
attendance.create |
6.20 |
| Edit shift | /hr/shifts/{shift}/edit |
hr.shifts.edit |
attendance.update |
6.20 |
| Leave register (H-07) | /payroll/leave |
payroll.leave |
payroll.view |
6.19 |
| Leave balances | /payroll/leave/balances |
payroll.leave.balances |
payroll.view |
6.19 |
| Register a leave | /payroll/leave/create |
payroll.leave.create |
payroll.create |
6.19 |
| Relief suggestions (background data) | /payroll/leave/relief |
payroll.leave.relief |
payroll.create |
6.19 |
| HR and payroll settings (H-25) | /settings/hr |
settings.hr |
hr.settings |
6.6 |
| Departments | /settings/hr/departments |
settings.hr.departments |
hr.settings |
6.5 |
| New department | /settings/hr/departments/create |
settings.hr.departments.create |
hr.settings |
6.5 |
| Edit department | /settings/hr/departments/{department}/edit |
settings.hr.departments.edit |
hr.settings |
6.5 |
| Drivers and helpers (F-13) | /staff |
staff.index |
staff.view |
6.7 |
| Add staff | /staff/create |
staff.create |
staff.create |
6.7 |
| Duty and rest monitor (S-04) | /staff/duty |
staff.duty |
staff.duty |
6.15 |
| Create your driver profile | /staff/owner-operator |
staff.owner-operator |
staff.create; owner-operator Owner only (else 404) |
6.14 |
| Driver scorecard (F-31) | /staff/scorecard |
staff.scorecard |
staff.score |
6.16 |
| Score rules | /staff/scorecard/rules |
staff.score-rules |
staff.score |
6.16 |
| Driver profile (F-14) | /staff/{staff} |
staff.show |
staff.view + person in scope |
6.7 |
| Documents tab | /staff/{staff}/documents |
staff.documents.index |
staff.view |
6.9 |
| A paper's scan (download) | /staff/{staff}/documents/{document}/file |
staff.documents.file |
staff.view (not for a personal paper) |
6.9 |
| Duty hours tab | /staff/{staff}/duty |
staff.duty.week |
staff.duty |
6.15 |
| Edit driver or helper | /staff/{staff}/edit |
staff.edit |
staff.update |
6.7 |
| A renewal's scan (download) | /staff/{staff}/portal-uploads/{submission}/file |
staff.portal-uploads.file |
staff.vault |
6.10 |
| Person scorecard (S-06) | /staff/{staff}/score |
staff.score |
staff.score |
6.16 |
| Activity timeline (S-05) | /staff/{staff}/timeline |
staff.timeline |
staff.duty |
6.15 |
| Consent and document vault (S-07) | /staff/{staff}/vault |
staff.vault.index |
staff.vault |
6.9 |
| Upload a document | /staff/{staff}/vault/upload |
staff.vault.create |
staff.vault |
6.9 |
Actions (buttons and forms)
| Action | Route name | Permission |
|---|---|---|
| Employees and contracts | ||
| Save a new employee | employees.store |
employees.create |
| Save an employee | employees.update |
employees.update |
| Record a contract | employees.contracts.store |
employees.update + money flag |
| Correct a draft contract | employees.contracts.update |
employees.update + money flag |
| Put a contract in force | employees.contracts.activate |
employees.update + money flag |
| Close a contract | employees.contracts.close |
employees.update + money flag |
| Departments and settings | ||
| Save HR and payroll settings | settings.hr.update |
hr.settings |
| Add a department | settings.hr.departments.store |
hr.settings |
| Save a department | settings.hr.departments.update |
hr.settings |
| Switch a department on or off | settings.hr.departments.status |
hr.settings |
| Delete a department | settings.hr.departments.destroy |
hr.settings |
| Drivers and helpers | ||
| Save a new driver or helper | staff.store |
staff.create |
| Save a driver or helper | staff.update |
staff.update |
| Delete a person | staff.destroy |
staff.delete |
| Change status | staff.status |
staff.update |
| Show a masked number (with a reason) | staff.reveal |
staff.view + personal data flag |
| Create the owner-operator profile | staff.owner-operator.store |
staff.create |
| Invite to the Driver app | staff.invite-app |
staff.update |
| Give portal access | staff.portal-access.store |
staff.update |
| Send the portal invitation again | staff.portal-access.invite |
staff.update |
| Switch portal access on or off | staff.portal-access.toggle |
staff.update |
| Accept a renewal | staff.portal-uploads.accept |
staff.vault |
| Send a renewal back | staff.portal-uploads.reject |
staff.vault |
| Upload a paper to the vault | staff.vault.store |
staff.vault |
| Open a personal paper (with a reason) | staff.vault.open |
staff.vault + personal data flag |
| Export a person's data (PDF, with a reason) | staff.vault.export |
staff.vault |
| Record consent | staff.consents.store |
staff.vault |
| Note an access or deletion request | staff.data-requests.store |
staff.vault |
| Answer a request | staff.data-requests.update |
staff.vault |
| Duty and score | ||
| Override a duty violation | compliance.hours.override |
compliance.approve |
| Save the score rules | staff.score-rules.update |
staff.score + staff.update |
| Attendance | ||
| Save a marked day | attendance.store |
attendance.create |
| Import a device log | attendance.import.store |
attendance.create |
| Save a corrected day | attendance.update |
attendance.update |
| Remove a day (reason) | attendance.destroy |
attendance.delete |
| Approve a day | attendance.approve |
attendance.approve |
| Approve and lock a month | attendance.monthly.approve |
attendance.approve |
| Open a month again (reason) | attendance.monthly.reopen |
attendance.update |
| Shifts and holidays | ||
| Save a shift | hr.shifts.store |
attendance.create |
| Update a shift | hr.shifts.update |
attendance.update |
| Take a shift off the calendar | hr.shifts.destroy |
attendance.delete |
| Save a holiday | hr.holidays.store |
attendance.create |
| Update a holiday | hr.holidays.update |
attendance.update |
| Take a holiday off the calendar | hr.holidays.destroy |
attendance.delete |
| Propose the Saudi holidays (drafts) | hr.holidays.propose |
attendance.create |
| Adopt the draft holidays | hr.holidays.adopt |
attendance.update |
| Leave | ||
| Register a leave | payroll.leave.store |
payroll.create |
| Approve a leave | payroll.leave.approve |
payroll.approve |
| Reject a leave (reason) | payroll.leave.reject |
payroll.approve |
| Cancel a leave (reason) | payroll.leave.cancel |
payroll.update |
| Recruitment | ||
| Open a recruitment request | recruitment.store |
recruitment.create |
| Save a recruitment request | recruitment.update |
recruitment.update |
| Call a request off (reason) | recruitment.cancel |
recruitment.update |
| Complete a request | recruitment.close |
recruitment.update |
| Open a request again | recruitment.reopen |
recruitment.update |
| Remove a request with no candidates | recruitment.destroy |
recruitment.delete |
| Add a candidate | candidates.store |
recruitment.interview |
| Correct a candidate | candidates.update |
recruitment.interview |
| Check the documents of a candidate | candidates.screen |
recruitment.interview |
| Schedule an interview | candidates.interview |
recruitment.interview |
| Record the interview result | candidates.result |
recruitment.interview |
| Approve a candidate | candidates.approve |
recruitment.interview |
| Set a candidate aside (reason) | candidates.reject |
recruitment.interview |
| Put a candidate back on the board | candidates.restore |
recruitment.interview |
| Register as driver | candidates.register |
recruitment.register + employees.create |
| Show a candidate's contact (reason) | candidates.reveal |
recruitment.view + personal data flag |