22 - Platform settings (Admin console)
Navigation: Index | previous: 21-admin-operations | next: 23-admin-content-cms Last checked against the application: 25 Nov 2026
1. Who this guide is for
This guide is for Traincu staff who configure the platform itself: the Super Admin and the specialist staff roles (Operations Manager, Finance, Verification, Support, Account Manager). It covers the screens of the Admin console that change what every company sees and pays: the equipment catalogue, master lists, prices and fees, violation rules, message templates, staff roles, integrations, system settings, service routing, platform reports, AI and the translations.
Nobody outside Traincu staff can open these screens. A company Owner who types an /admin/... address gets a "not found" page, and a staff member whose role does not hold the permission gets a "not allowed" page. What each staff role may open is decided on one screen, Staff and roles (A-31), described in section 6.6.
The work of the daily operations desk (verification queue, companies, support desk, enforcement, moderation, shipments monitor) is in 21-admin-operations. Public website content is in 23-admin-content-cms.
2. What you can do here (summary)
| Activity | Who (default roles) | Screen(s) |
|---|---|---|
| Sign in to the console and understand what you may open | every staff member | Console login, A-31 |
| Change the platform name, default language, hosting region, data retention, support hours | Super Admin | A-35 |
| Switch maintenance mode on or off | Super Admin | A-35 |
| Switch a feature on or off for the whole platform or for pilot companies | Super Admin | A-35 (feature flags) |
| Switch sign-in codes (OTP) on or off | Super Admin | A-35 |
| Add staff, change roles, suspend or end an account, tick the role matrix, plan the on-call rota | Super Admin | A-31 |
| Read the audit log | Super Admin | A-33 |
| Maintain categories, brands and models of equipment | Operations Manager, Super Admin | A-26 |
| Maintain cities, vehicle types, trailer types, document types, cargo types | Super Admin | A-27 |
| Set fee rules, plans and add-ons | Finance, Super Admin | A-28 |
| Edit the violation rules and read the dunning and deadline rules | Super Admin | A-29 |
| Edit message texts, register SMS texts with CST, switch message rules, send announcements | Operations Manager, Super Admin | A-30 |
| Watch outside services, retry failed jobs | Operations Manager, Super Admin | A-34 |
| Connect an outside service (mail, SMS, Wathq, Nafath, maps, ZATCA, payments, TGA, GPS) | Super Admin | Z-10 |
| Read platform reports and KPIs | Operations Manager, Finance, Super Admin | A-32 |
| Route customer requests, decide government-service licences, edit service rules | Operations Manager, Account Manager, Verification | A-36 |
| See the AI models and forecasts (not live yet) | Super Admin | A-37 |
| Edit any translated text, import and export translations, manage languages | Operations Manager, Super Admin | A-38 |
3. Before you begin
- Sign in at the console, not at the normal login: see 01-getting-started-account for the company login and section 6.1 of this guide for the console login (
/admin/login). - You need an active staff account (A-31). A staff account is a normal login that Traincu has made staff; it may belong to no company at all.
- You need the platform permission of the screen. Super Admin always holds every permission. The other six roles hold only what the matrix on A-31 ticks for them. Section 6.6 lists the proposal that ships with the platform.
- Every change of a setting asks for a Reason (at least 5 characters, at most 500). The reason is saved in the audit log (A-33) beside who changed what and when.
- Money on these screens is in SAR. Texts are kept in Arabic and English (and Bangla for some message texts); the Arabic screen is the same screen read from right to left.
- Several figures are marked "to confirm" or draft because the business has not signed them off yet (fee rules, violation points, service rules, role defaults, support hours). The screens say so; do not treat them as final.
4. Where to find it
The console has its own left menu, drawn from the staff member's permissions. A line you may not use is simply not shown.
| Menu heading | Menu line | Screen |
|---|---|---|
| Administration | Staff and roles | A-31 (/admin/staff) |
| Administration | Audit log | A-33 (/admin/audit) |
| Administration | System settings | A-35 (/admin/settings) |
| Marketplace | Catalogue | A-26 (/admin/catalogue) |
| Platform | Master data | A-27 (/admin/master) |
| Finance | Pricing | A-28 (/admin/pricing) |
| Compliance | Rules | A-29 (/admin/rules) |
| Messaging | Messaging and Announcements | A-30 (/admin/messaging) |
| Platform | Integrations health | A-34 (/admin/integrations) |
| Platform | Provider settings | Z-10 on the console (/admin/integrations/settings) |
| Platform | Platform reports | A-32 (/admin/reports) |
| Platform | AI models and forecasts | A-37 (/admin/ai) |
| Platform | Languages and translations | A-38 (/admin/language) |
| Support | Service request routing | A-36 (/admin/service-routing) |
Z-10 Integrations (the provider cards) is in the company Settings menu at /settings/integrations; the console's Provider settings is the same page for staff who belong to no company (see 6.13).
5. The big picture (flowchart)
Every configuration screen follows the same path: sign in at the console, pass the permission check, change something, and leave one audit line behind.
flowchart TD
s1(["Staff member signs in at the Admin console"]) --> d1{"Role holds the permission of the screen?"}
d1 -->|"No"| x1(["Menu line hidden, direct address answers not allowed"])
d1 -->|"Yes"| m1["Open a configuration area"]
m1 --> a1["Platform and security: A-35, A-31, A-33"]
m1 --> a2["Catalogue and lists: A-26, A-27"]
m1 --> a3["Money and rules: A-28, A-29"]
m1 --> a4["Messages: A-30"]
m1 --> a5["Outside services: A-34, Z-10"]
m1 --> a6["Figures and AI: A-32, A-37"]
m1 --> a7["Customer requests: A-36"]
m1 --> a8["Words and languages: A-38"]
a1 --> c1["Change with a reason where asked"]
a2 --> c1
a3 --> c1
a4 --> c1
a5 --> c1
a6 --> c1
a7 --> c1
a8 --> c1
c1 --> sys1[["Change is saved and one audit line is written"]]
sys1 --> e1(["Companies and visitors see the new setting"])
6. Activities, step by step
6.1 Sign in to the console and know what you may open (console login, A-31)
Purpose - get into the Admin console safely. Who - every Traincu staff member with an active staff account.
Steps
- Open
/admin/login. The page is called Admin console and says it is for Traincu staff only. - Type Mobile or email and Password, then press Sign in to the console.
- If sign-in codes are switched on (see 6.5) and the console asks for a code, a page Enter the code opens. Type the 6-digit code sent to your phone (or e-mail) and press Verify. If sign-in codes are off, the password alone is enough.
- You land on the console Dashboard (described in 21-admin-operations). The left menu shows only the lines your role may use.
- To leave, use the sign-out in the top bar. The console says You have been signed out.
The console session ends after 30 minutes without any request, and after 12 hours at the latest, whatever you do. You then sign in again.
flowchart TD
s1(["Open an admin address"]) --> d1{"Signed in at the console?"}
d1 -->|"No"| a1["Console login page"]
a1 --> d2{"Password right and account active?"}
d2 -->|"No"| x1(["Message shown, try again"])
d2 -->|"Yes"| d3{"Codes on and console code required?"}
d3 -->|"Yes"| a2["Enter the 6-digit code"]
a2 --> d4{"Code right and not expired?"}
d4 -->|"No"| x1
d4 -->|"Yes"| d5
d3 -->|"No"| d5{"Is this login an active staff account?"}
d5 -->|"No"| x2(["Page not found"])
d5 -->|"Yes"| d6{"Role holds the permission?"}
d6 -->|"No"| x3(["Not allowed page"])
d6 -->|"Yes"| ok1(["The console screen opens"])
If something goes wrong
| Message | What it means | What to do |
|---|---|---|
| That code has expired. Please sign in again. | The code is older than its time limit. | Sign in again, or ask for a new code on the code page. |
| This account is not active. Contact an administrator. | Your staff account is suspended or ended. | Ask a Super Admin (A-31). |
| Too many wrong codes. Please sign in again. | Several wrong codes in a row. | Sign in again from the start. |
| Your sign-in timed out. Please sign in again. | The 10-minute waiting time for the code passed. | Sign in again. |
Page not found on /admin/... |
The login is not an active staff account. | Company logins never see the console. |
| Not allowed (403) | Your role does not hold the permission. | Ask a Super Admin to tick it on A-31 (6.6). |
6.2 Change a platform setting, with a reason (A-35)
Purpose - change what holds for the whole platform. Who - permission system.settings (Super Admin by default; A-31 can hand it to another role).
Steps
- Open Administration > System settings.
- In the card Platform change what you need (fields below).
- In Support hours choose the working days, the opening and closing time, the time zone and the holidays.
- In Sign in: second step for company roles tick or untick Enforce the second-step roles each company chose (it has no effect while sign-in codes are off; see 6.5).
- In Feature flags switch features (see 6.4).
- Under Reason write why you are changing it (Why is this changing?).
- Press Save settings.
- The screen answers Nothing changed., 1 setting was saved. or :count settings were saved. Only values that really changed are written; a save with no change writes nothing and logs nothing.
flowchart TD
s1(["Open System settings"]) --> a1["Change one or more fields"]
a1 --> a2["Write the reason, at least 5 characters"]
a2 --> a3["Press Save settings"]
a3 --> d1{"All fields valid?"}
d1 -->|"No"| a4["Red fields shown, fix them"] --> a1
d1 -->|"Yes"| d2{"Did any value really change?"}
d2 -->|"No"| x1(["Nothing changed, no log line"])
d2 -->|"Yes"| sys1[["Each changed setting is saved with the reason"]]
sys1 --> sys2[["One line system settings changed goes to the audit log"]]
sys2 --> e1(["Message: settings were saved"])
Fields
| Field | What to enter | Rules and limits |
|---|---|---|
| Platform name | The name of the platform. | Required, up to 120 characters. |
| Default language | The language a visitor and a new company start in. | Choose one of the active languages. It is the same flag as on A-38 and Settings > Language & translations. |
| Hosting region | Where the data is hosted. | One of: Saudi Arabia - central (Riyadh), Saudi Arabia - west (Jeddah), Middle East - Bahrain, Europe - west. The list is a proposal to confirm with DevOps; the Saudi region is the first. |
| Data retention (years) | How long the platform keeps records. | Whole number from 5 to 15; the audit log is never kept less than five years. Default 5. |
| VAT rate | Shown only. | Read only: it comes from the country pack and the tax settings. |
| Working days | Days the support desk works. | At least one day. Default: Sunday to Thursday. |
| Support hours from / to | Opening and closing time, HH:MM. |
Closing must be later than opening. Default 08:00 to 17:00. |
| Time zone | The zone of those hours. | One of the country packs' zones or UTC. Default Asia/Riyadh. |
| Holidays | Days the support desk is closed. | One day per line as YYYY-MM-DD. A wrong line is refused: Write one holiday per line as YYYY-MM-DD. |
| Reason | Why you are changing it. | Required, 5 to 500 characters. |
Buttons and actions
| Button | What it does | Who sees it |
|---|---|---|
| Save settings | Saves the Platform, Support hours, Sign in and Feature flags parts together. | system.settings |
| Save sign-in codes | Saves only the OTP card (6.5). | system.settings |
| Save maintenance mode | Saves only the maintenance card (6.3). | system.settings |
What happens next - Support-hours figures feed the support desk's service-level clock (see 21-admin-operations). The default language is what a new visitor and a new company see first; people who already chose a language keep theirs.
If something goes wrong - Red field messages name the field (for example The closing time must be later than the opening time.). A missing or too-short reason is refused; nothing is saved.
6.3 Switch maintenance mode on or off (A-35)
Purpose - take the platform offline for a maintenance window and tell people why. Who - system.settings.
Steps
- Open Administration > System settings and find the card Maintenance mode.
- Tick Show the maintenance page to everybody but Traincu staff to switch it on (untick to switch it off).
- Type Message (Arabic) and Message (English) (up to 500 characters each). Empty uses the standard sentence We are carrying out maintenance and will be back shortly.
- Write the Reason, press Save maintenance mode, then confirm the dialog Change maintenance mode? with Yes, save.
- The screen says Maintenance mode is on. Visitors see the maintenance page; Traincu staff keep working. or Maintenance mode is off. The public site is back. If only the text changed: The maintenance text was saved.
- While it is on, the top of A-35 shows a yellow banner Maintenance mode is on. with the time it started.
flowchart TD s1(["Plan a maintenance window"]) --> a1["Tick the switch and write both messages"] a1 --> a2["Write the reason"] a2 --> a3["Press Save maintenance mode"] a3 --> a4["Confirm Yes, save"] a4 --> sys1[["Switch and texts are saved, start time is stamped"]] sys1 --> sys2[["Audit line maintenance mode on"]] sys2 --> o1[/"Visitors and companies see the maintenance page"/] sys2 --> o2["Traincu staff keep working"] o2 --> a5["Finish the work, untick the switch, save with a reason"] a5 --> sys3[["Audit line maintenance mode off"]] sys3 --> e1(["The public site is back"])
What people see while it is on - a page We will be back shortly (P-24) with your message in the page's language and Try again, answered with status 503, "try again in 10 minutes" and nothing kept by browsers or caches. It covers the public site, the company workspace, the client portal, the driver portal, both apps and the public API (the apps get their usual error answer with code 503; the public API gets a problem answer with 503).
These keep working: the console sign-in and every /admin page (a person who is not signed in is sent to the console sign-in), signed-in Traincu staff everywhere (a staff member who has just used a signed-in page also sees the public pages for 30 minutes), a staff member's app token, sign out, the language switch, the health check /up, machine and webhook addresses (payments and provider callbacks keep arriving), robots.txt, and the one-click unsubscribe of e-mails. To see what visitors see, use a private window.
6.4 Feature flags: platform switch, pilot companies and precedence (A-35)
Purpose - release a feature to everybody, or only to a few pilot companies. Who - system.settings.
A feature flag is declared by the module that owns the feature. Two flags exist today: Enforcement and violations (violations, the enforcement ladder, payout holds and appeals) and Support desk (tickets with a service clock and the company Support screen). Both start off. A flag appears on A-35 by itself when a module declares it.
Steps
- Open System settings and go to the card Feature flags. Each row shows Feature, For every company (the platform switch), Companies with their own setting (a count) and the default (Default: on or Default: off).
- To change the platform answer, switch For every company on or off, write the reason, press Save settings.
- To give one company its own answer (a pilot), click the count under Companies with their own setting. The flag page opens (
/admin/settings/flags/{flag}). - In Add a company choose the Company, set The feature is on for this company, add a Note (for example Pilot company), write the Reason and press Save. The screen says The company was saved for this feature.
- To take a company back to the platform answer press Remove and confirm Yes, remove. The screen says The company follows the platform setting again.
Which answer wins - the company's own row first, then the platform row, then the default of the module that declared the flag. A company with its own setting ignores the platform switch. An unknown flag is always off and never breaks a screen.
flowchart TD
s1(["A screen asks if a feature is on for a company"]) --> d1{"Does the company have its own row?"}
d1 -->|"Yes"| r1(["Use the company's answer"])
d1 -->|"No"| d2{"Did staff save a platform answer?"}
d2 -->|"Yes"| r2(["Use the platform answer"])
d2 -->|"No"| d3{"Is the flag declared by a module?"}
d3 -->|"Yes"| r3(["Use the default of that module"])
d3 -->|"No"| r4(["Off"])
Note. In this build no screen reads these two flags yet, so switching them changes nothing visible. They are ready for the modules that adopt them. This is reported in the QA notes.
6.5 Switch sign-in codes (OTP) on or off (A-35)
Purpose - decide whether anyone on the platform is asked for a one-time code. Who - system.settings.
The shipped state is Off: people sign in, register and recover a password with an e-mail or mobile number and a password only. When you switch it On, sign-in, two-factor, registration, the admin console and the public forms ask for a code again.
Steps
- Open System settings and find the card Sign-in codes (OTP).
- Tick Ask for one-time codes (by email or SMS) to switch codes on (untick to switch off).
- Read Where a code goes when this is on: it says Email only (when No SMS gateway is configured, so codes go by email only.) or An SMS gateway is configured. The channel itself is chosen on the SMS card of Settings > Integrations (6.13), not here.
- Write the Reason and press Save sign-in codes.
- The screen says Sign-in codes are on. People are asked for a code again where the platform and their role require one. or Sign-in codes are off. Nobody is asked for a code: people sign in with their password. Saving the state already in force says Nothing changed.
flowchart TD
s1(["Open the card Sign-in codes"]) --> a1["Tick or untick the switch"]
a1 --> a2["Write the reason and save"]
a2 --> d1{"Different from today?"}
d1 -->|"No"| x1(["Nothing changed"])
d1 -->|"Yes"| sys1[["Platform setting saved, audit line written"]]
sys1 --> d2{"Codes now on?"}
d2 -->|"Yes"| r1["Sign-in, registration, console, forms ask for a code"]
d2 -->|"No"| r2["Password only, reset by e-mailed link, forms saved at once"]
r1 --> e1(["Check the channel can reach people"])
r2 --> e2(["Public form rows are marked not verified"])
What changes for people
| Flow | Codes off (default) | Codes on |
|---|---|---|
| Company or personal sign-in | Identity plus password; nobody gets a code, whatever their role | An empty password sends a code; Owner and Finance give a code too |
| Registration | The account is made at once | A code step first |
| Forgot password | A reset link by e-mail | A 6-digit code |
| Traincu staff console | Password alone | A code only if the console code switch is also on |
| Public forms (contact, driver registration, job application ...) | No code step; the row is kept as not verified | Code step; row verified |
Note. Do not switch codes on before the channel works. With no SMS gateway a code goes by e-mail only, and a person with no usable e-mail cannot receive one. This card is the master switch. The separate switch Enforce the second-step roles each company chose (card Sign in: second step for company roles of the main form) only decides whether a company's chosen two-factor roles are enforced; it ships off for the same reason, and while codes are off the card says it has no effect.
6.6 Staff and roles: accounts, role matrix, four-eyes and on-call (A-31)
Purpose - decide who is Traincu staff and what each staff role may do. Who - staff.manage (locked: only Super Admin can hold it).
The screen has three tabs: Roles and permissions, Staff accounts and On call.
Add a staff member
- Open Administration > Staff and roles and press Add staff (or open the tab Staff accounts).
- Fill Name, Email, Mobile (optional; the sign-in code goes there, else to the e-mail) and choose a Role.
- Press Add staff.
- If the e-mail has no login yet, the console makes one and sends an invitation to choose a password. If the person already has a login, it keeps its name and password and simply becomes staff.
- You land on the account page with the message :name is now on the staff. An invitation to choose a password was sent. or ... They keep their existing login and password.
flowchart TD
s1(["Press Add staff"]) --> a1["Fill name, email, mobile, role"]
a1 --> d1{"Email already on the staff?"}
d1 -->|"Yes"| x1(["Refused: This person is already on the staff"])
d1 -->|"No"| d2{"Email has a login already?"}
d2 -->|"Yes"| sys1[["Existing login becomes staff, password untouched"]]
d2 -->|"No"| sys2[["New login is made and an invitation is sent"]]
sys1 --> sys3[["Staff account is active, audit line written"]]
sys2 --> sys3
sys3 --> e1(["Person signs in at the console login"])
Change a role, suspend, reinstate or end an account
Open a row of Staff accounts. The account page shows Account, a Role card with Change role, and, for somebody else's account, Suspend (reason required), Reinstate and End the account (reason required).
| Statuses | Meaning | What you can do next |
|---|---|---|
| Active | Works at the console. | Change role, Suspend, End. |
| Suspended | No access from the next request. | Reinstate (works again with the role it holds now), End. |
| Ended | The person left the staff; the login stays without any console access. | Add the person again later with Add staff. |
Refusals you may meet: You cannot change your own role. / You cannot suspend your own account. / You cannot end your own account. / This is the last active Super Admin. Make someone else a Super Admin first. / Only an active account can be suspended. / Only a suspended account can be reinstated. On your own page the console says This is your own account. Another Super Admin changes or ends it.
The role matrix (Roles and permissions)
The matrix has the staff roles as columns - Super Admin, Ops Mgr (Operations Manager), Verification, Finance, Support L1, Support L2, Acct Mgr (Account Manager) - each with the number of active people - and the platform permissions as rows, grouped under headings such as View company 360, Support access, Restrict / payout hold, Suspend, Waive or refund, Decide dispute, Support desk, Moderation, Edit pricing, Audit log, System settings, Platform tools and Staff and roles.
- Tick or untick the boxes of the non-Super-Admin columns. A small yellow dot marks a box that differs from the default.
- Press Save. The screen says :count permissions changed. (or Nothing changed.). Each changed box is one audit line.
- Reset to default (confirm Reset to default? - Every role goes back to the permissions it starts with. Saved changes are removed.) removes every saved change.
Super Admin's column is always ticked and cannot be changed. A row with a lock (Manage staff accounts and roles) can only ever be Super Admin's, so nobody can take the key to the matrix away from the last people who can edit it.
What happens next - a staff member of that role gets the new rights on their next request; nobody has to sign in again.
flowchart TD
s1(["Open Roles and permissions"]) --> a1["Tick or untick boxes of a role"]
a1 --> a2["Press Save"]
a2 --> d1{"Box is a locked row or Super Admin column?"}
d1 -->|"Yes"| x1(["Ignored, always Super Admin only"])
d1 -->|"No"| d2{"Box equals the default?"}
d2 -->|"Yes"| sys1[["Saved change is removed"]]
d2 -->|"No"| sys2[["Change is stored for that role and permission"]]
sys1 --> sys3[["Permission cache refreshed, audit line per cell"]]
sys2 --> sys3
sys3 --> e1(["Staff of that role get the new rights on their next request"])
Default rights that ship (a proposal, to be confirmed by the business)
| Role | Holds by default |
|---|---|
| Super Admin | Everything. Alone: Staff and roles, Audit log, System settings, Master data, Violation rules (A-29), AI models, Integrations cards (Z-10), Backup, Languages of a company, approve a suspension or closure, approve a waiver or refund. |
| Operations Manager | Companies (view, export), support access, users, lock a login, approve restrictions and payout holds, ask for suspension, disputes, support desk, moderation, catalogue, listings moderation, languages and translations, message templates, rules and announcements, integrations health, platform reports, service routing and rules, shipments monitor, CRM, marketing, content. |
| Verification | Companies (view), verification review, approve a government licence of a provider (A-36 Restricted providers). |
| Finance | Pricing (A-28), platform invoices, collections, payouts, credit lines, ask for refunds, disputes, violations and enforcement lists, ask for a restriction, platform reports. |
| Support L1 | Companies (view), ask for support access, users (view), support desk and escalation. |
| Support L2 | L1 plus support access, lock a login, manage tickets, ask for restriction and refunds, disputes desk, moderation reports, marketing basics. |
| Account Manager | Companies (their own), CRM, partners, service routing queue. |
Request and approve pairs (four-eyes)
Some actions need two different people. One person asks; a second person approves. The code refuses an approval by the person who asked, or by a role that does not hold the approving permission. On A-31 these rows carry a Request or Approve badge.
| Action | Who asks (default) | Who approves (default) |
|---|---|---|
| Restrict a company or hold its payouts | Support L2, Finance | Operations Manager |
| Suspend or close a company | Operations Manager | Super Admin |
| Waive or refund | Finance, Support L2 | Super Admin |
sequenceDiagram participant A as Person who asks participant C as Admin console participant B as Second person A->>C: Ask for the action with a reason C->>B: The request waits for approval B->>C: Approve or refuse C-->>A: Result and one audit line
If the same person tries to approve: A second person must approve this: you asked for it yourself. If the role may not approve: Your role may not approve this.
On call
The tab On call shows four teams - Operations (P1), Support, Verification, Finance - and who is On call now (or Nobody on call). Under Add a shift choose the Team, the Person, From and To (the end must be after the start) and press Add a shift. Remove a shift with the bin and confirm Remove this shift? The support desk hands a ticket up to whoever is on call.
6.7 Read the audit log (A-33)
Purpose - see who did what, when, to which record, with which result. Who - audit.view (Super Admin by default); the file export needs audit.export.
Steps
- Open Administration > Audit log. Four cards sit above the list: Info in the last 24 hours, Warnings in the last 24 hours, Critical in the last 24 hours and Kept for (years).
- Narrow the list with the filters Actor, Company, Module, Severity, Result and Date, or with the search box (it looks in the action text). Actor can also be Traincu staff (anyone), Company users (anyone) or System (no person); Company can be Platform (no company).
- The columns are Log ID, Time, Actor, Company, Action, Record and Result (Succeeded, Denied or Failed, with the severity Info, Warning or Critical).
- Click a line to open the entry page. It shows Change (Before and After), Context (IP address, device, request), Related logs for the same record, and Reason given if there was one. Print prints the page.
- Use Export for a file of the list as filtered.
flowchart TD
s1(["Open Audit log"]) --> a1["Filter by actor, company, module, severity, result, date"]
a1 --> a2["Click a line"]
a2 --> sys1[["Opening is written to the log as audit entry opened"]]
sys1 --> a3["Read change, context and related logs"]
a3 --> d1{"Need a file or paper copy?"}
d1 -->|"Yes"| a4["Print the entry or Export the list"]
d1 -->|"No"| e1(["Done"])
a4 --> e1
The log is insert-only: a line is never edited or deleted, and a mistake is answered with a new line. Lines older than five years (or the longer retention set on A-35) are removed once a week. Reading an entry's details is itself logged, so the log shows who looked.
6.8 Maintain the equipment catalogue (A-26)
Purpose - keep the categories, brands and models every listing is filed under. Who - catalogue.manage (Operations Manager by default).
The screen has three tabs: Categories, Brands, Models. Each has its own Add category / Add brand / Add model button. Nothing is ever deleted: a record is made Inactive, which hides it from pickers and the public pages while old listings keep it.
Steps - add a category
- Open Marketplace > Catalogue and press Add category.
- In Names and web addresses choose a Parent category (or None: a top-level category; the catalogue has two levels only), set the Order (smaller first), an Icon (a Bootstrap Icons name), the Name in Arabic and Name in English, the Web address in Arabic / English (empty is made from the name; do not change it once the page is indexed) and Active.
- Under Landing page text write the Introduction in Arabic / English and any Questions and answers (Add question).
- Under Specs press Add spec for each field a listing of this category asks for: Key, Label in Arabic, Label in English, Type (Text, Number, Choice, Yes / No), Unit, Options (one per line,
English | Arabic, for a choice), Required and Used as a filter. A sub-category also asks for its parent's specs. - Press Save changes. A brand or model is added the same way with its own form.
flowchart TD
s1(["Press Add category, brand or model"]) --> a1["Fill names, web address, order"]
a1 --> a2["Add landing text and specs for a category"]
a2 --> a3["Press Save changes"]
a3 --> d1{"Valid and web address free?"}
d1 -->|"No"| a4["Fix the red messages"] --> a1
d1 -->|"Yes"| sys1[["Record saved, code CAT, BRD or MDL given"]]
sys1 --> d2{"Active?"}
d2 -->|"Yes"| e1(["Shows in pickers and public pages"])
d2 -->|"No"| e2(["Hidden, old listings keep it"])
Fields that need care
| Field | Rules |
|---|---|
| Parent category | Must be a top-level category. A category cannot be its own parent. A category that has sub-categories stays top-level. |
| Specs | Two specs have the same key. and A choice spec needs at least one option. and Two options are the same. are refused. |
| Brand: Country of origin | Two-letter code, such as DE or JP. Other spellings (one per line, any language) help search and import. Linked Categories say which categories the brand belongs to. |
| Model: First year / Last year | Leave both empty if unknown. The last year cannot be before the first year. The model's web address is unique inside its brand. |
Buttons and actions - Edit, Print (a PDF of the record), Deactivate / Activate on every row; Add model on a brand row. After switching: :code :name is inactive: it is hidden from the public pickers. / :code :name is active again.
Statuses - Active, Inactive. Level filter on categories: Top level, Sub-category.
What happens next - an active category, brand or model appears in the pickers of the seller's listing form and on the public equipment pages; an inactive one leaves them, while listings that already use it keep it. The catalogue is platform data: every company reads the same one, and a company never has a screen to change it.
6.9 Maintain the master data lists (A-27)
Purpose - the shared lists every company picks from. Who - master.manage (Super Admin only by default).
Steps
- Open Platform > Master data. A row of tabs shows the lists: Cities, Vehicle types, Trailer types, Document types and Cargo types.
- To add an item press Add. Type the Item code (lower-case letters, digits and underscores; it cannot be changed later; cities make their own from the English name), the Arabic and English names, tick Active, and fill the extra fields of that list (below). Press Save.
- To change an item press Edit. To retire it press Switch off (or Switch on again).
- The screen answers ":item" was added to :list., ":item" is saved., Switched on. or Switched off. Things that already use it keep it.
flowchart TD
s1(["Open Master data and choose a list"]) --> d1{"New item or existing?"}
d1 -->|"New"| a1["Press Add and type the code and names"]
d1 -->|"Existing"| a2["Press Edit or Switch off"]
a1 --> a3["Press Save"]
a2 --> a3
a3 --> d2{"Valid?"}
d2 -->|"No"| a4["Fix the red fields"] --> a3
d2 -->|"Yes"| sys1[["Item saved, audit line written"]]
sys1 --> e1(["Every company sees the change in its pickers"])
An item is never deleted: switching it off stops anyone choosing it, and everything that already uses it keeps it. The code never changes.
Extra fields per list
| List | Extra fields |
|---|---|
| Cities | Country code (two letters), Region, Latitude, Longitude |
| Vehicle types | Smallest load (kg), Largest load (kg) (not smaller than the smallest), Axles (1 to 12), Needs a TGA operating card, Icon, Order |
| Trailer types | Order |
| Document types | Belongs to (company, vehicle or person), Has an end day, Reminder days (days before the end at which people are told, for example 60, 30, 15, 7), Country code (empty = every country), Order |
| Cargo types | Hazardous goods, Needs a temperature range, Icon, Order. These two switches force the load's own flags, so change them with care. |
What happens next - every company sees the change in its pickers at once. The Reminder days of a document type are the days at which the expiry reminders of that paper (company, vehicle or person) are sent.
The company's own lists are a different screen (Settings > Master lists); this one is for the platform lists.
6.10 Set fee rules, plans and add-ons (A-28)
Purpose - what Traincu charges, as data. Who - finance.pricing (Finance and Super Admin by default).
The screen has three tabs: Fee rules, Plans, Add-ons. Every new row starts as a Draft and charges or offers nothing until it is activated. The business owns the figures; the screen starts empty (No fee rules yet, No plans yet, No add-ons yet).
Steps - a fee rule
- Open Finance > Pricing (tab Fee rules) and press + Fee rule.
- Fill Name, Activity (or Any activity), How it is worked out (Percent of the payment or Fixed amount), Value, Smallest fee, Largest fee, Valid from, Valid until, Applies to (Every company, or one company to make an override) and a Note. The only trigger today is A payment was received.
- Press Add fee rule. The screen says Fee rule :code saved as a draft. Activate it when the figures are right.
- Press Activate on the row when the figures are right: Fee rule :code is active: it is charged from now on.
- To correct the name, note or dates of a live rule use Edit. Its money is frozen.
stateDiagram-v2 [*] --> Draft : Add fee rule Draft --> Active : Activate Active --> Draft : Back to draft Draft --> Deleted : Delete when never used Active --> Active : New price means a new rule
Rules the screen keeps
| Rule | What the screen says |
|---|---|
| A percentage is 0 to 100; a fixed amount is not negative | A percentage cannot be more than 100. / A fee cannot be negative. |
| The floor is not above the cap | The floor of a fee cannot be above its cap. |
| A rule cannot end before it starts | A fee rule cannot end before it starts. |
| The money of an active rule is frozen | The money of an active rule cannot be changed: put it back to draft first, or add a new rule with the new figures. |
| A rule that has charged anything is never deleted | Fee rule :code has already charged something, so it was put back to draft instead of being deleted. |
| A rule for one company wins over the rule for everybody | Shown beside Applies to. |
Plans tab - + Plan: Code (for example CARRIER_BASIC), Name (English), Name (Arabic), Activity, Price (SAR), Charged (Monthly or Yearly), Trial days, and What it allows: limits for Trucks, Users, Drivers, Branches, Loads a month (a whole number, or write "unlimited"; an empty limit is left out). Activating needs at least one limit (A plan says what it allows: add at least one limit before it is offered to companies.). The price of an active plan is frozen. A plan any company has been on is put back to draft instead of deleted.
Add-ons tab - + Add-on: Code (for example EXTRA_TRUCKS), names in both languages, Price per unit (SAR), Charged, Raises the limit of (or Nothing: it is just a price) and By how much one unit raises it. Same Draft / Active life-cycle.
What happens next - an active fee rule is applied to every payment received: the fee is worked out, VAT is added on the fee, and it is kept from the provider's money. A rule for one company wins over the rule for everybody. An active plan is offered to companies of its activity on their Plan page, and an add-on lets them go past one limit of their plan for the price per unit. Every change is in the audit log.
Payout rules - the card Payout rules on the Fee rules tab sets, for every company: Days a payment stays pending (0 to 60; shipped 3; 0 releases at once), Smallest payout (shipped SAR 100.00) and Days a payout statement looks back (1 to 366; shipped 30; used when the company has no earlier paid payout). Write the Reason and press Save payout rules (Payout rules saved.). The change is written to the audit log as a warning. Money already waiting keeps the day it was given; the new figures apply from then on.
6.11 Edit the violation rules (A-29)
Purpose - the list of things Traincu holds a company to, with points and the usual action. Who - compliance.rules (Super Admin only by default). The page states that every figure is a draft to confirm with the business and with counsel, and that it must match the Terms of Service.
Steps
- Open Compliance > Rules. The filter Type offers All, Violation type, Dunning step and Response deadline.
- On a new install the page says No rules yet and offers Load the draft list: eight starter types (expired licence still in use, unpaid platform fees, repeated no-shows, misleading listing, false or forged documents, abusive conduct, dealing outside the platform, safety breach). It never overwrites an edit.
- Press Add rule and fill Code (3 to 60 lower-case letters, digits or underscores; it never changes because violations point at it), Name (Arabic / English), Description (Arabic / English), Severity (Information, Warning, Critical), Points (0 to 100), Usual action (No default action, Warning, Restriction, Payout hold, Suspension, Closure) and Active. Press Save rule.
- Edit changes a rule; Switch off / Switch on retires it: The rule is switched off. Violations already recorded keep their points.
The Usual action is only a suggestion: a person still asks for the action and a second person approves it (A-31 four-eyes). Under the violation types the page lists, read-only, the Dunning step and Response deadline rules ("These are read here and changed where they are kept"): the collections ladder of Finance and the first-reply and resolve times of the support desk.
flowchart TD
s1(["Open Compliance Rules"]) --> d1{"Any violation type yet?"}
d1 -->|"No"| a1["Press Load the draft list"]
d1 -->|"Yes"| a2["Add, edit or switch a rule"]
a1 --> a3["Read and edit the points"]
a3 --> a2
a2 --> sys1[["Rule saved, audit line written"]]
sys1 --> a4["Confirm the list with the business and counsel"]
a4 --> e1(["Violations on A-16 are recorded against these rules"])
6.12 Messaging: templates, SMS registration with CST, rules and announcements (A-30)
Purpose - the texts the platform sends, who is told when something happens, and notices to companies. Who - settings.templates opens the screen (Operations Manager by default); switching rules needs messaging.rules; announcements need messaging.announce.
The screen has three tabs: Templates, Rules, Announcements.
Edit a message text
- Open Messaging > Messaging. The list shows Template / announcement, Channel (SMS, Email, Push (driver app)), Language, Audience, SMS sender / CST and Status (Active or Draft when a language has no text yet). Filter by Channel, Language or CST status.
- Press Edit on a row. In Template choose the message, Channel and Language, then Load this message.
- Edit Subject (title) (e-mail) and Body. The side panel About this message lists the Placeholders; click one to insert it. Only the listed placeholders are replaced (written as
{name}or{{name}}). The panel Preview shows the text with sample values and, for SMS, SMS length: one SMS holds 160 characters in English or 70 with Arabic or Bangla, and longer texts split into parts. - For a scheduled message set Send time. Status Active is sent; switched off, the built-in text is sent instead.
- To try it press Send test with a Test number / email: it sends the text above with sample values and stores nothing.
- Press Save template. If you save exactly the built-in text, no edit is kept (This is the built-in text, so there is nothing to save.).
- Reset to default brings the built-in text back (confirm Reset to the built-in text?).
Limits: an SMS text up to 1,000 characters; other bodies up to 10,000.
flowchart TD
s1(["Open Messaging and press Edit on a row"]) --> a1["Choose message, channel, language"]
a1 --> a2["Edit subject and body with placeholders"]
a2 --> a3["Send test to your own number or e-mail"]
a3 --> a4["Press Save template"]
a4 --> d1{"Text equals the built-in text?"}
d1 -->|"Yes"| x1(["Nothing to save, edit removed"])
d1 -->|"No"| sys1[["Edited text is stored, audit line written"]]
sys1 --> d2{"Channel is SMS and text changed?"}
d2 -->|"Yes"| sys2[["CST status becomes Text changed"]]
d2 -->|"No"| e1(["Companies receive the new text"])
sys2 --> a5["Submit the new text to CST"]
Register an SMS text with CST
From 1 Jan 2027 (the date can be changed in the platform setting messaging.cst_enforce_from) an SMS goes out through a live gateway only if its text is Approved by CST in the language sent. The test gateways are exempt. The Messaging page shows a banner with the days left and a count of texts not yet approved.
- On the SMS edit page open the card Registration with CST.
- Set Sender name (empty uses the platform sender; a promotional sender ends with -AD), Sender class (Service, Promotional (-AD), Warning), Purpose (One-time code, Service, Warning, Promotional), CST template id and CST status.
- Choose Submitted when the text is sent to the provider, Approved when CST has registered it. Press Save CST registration.
- The button Registration list (Excel) on the Messaging page downloads the list to give the SMS provider. A daily check at 06:00 warns staff about texts that are not approved.
stateDiagram-v2 [*] --> Draft : SMS text exists Draft --> Submitted : Submit to the provider Submitted --> Approved : CST registers the text Submitted --> Rejected : CST refuses Rejected --> Submitted : Submit again Approved --> TextChanged : Text is edited Submitted --> TextChanged : Text is edited TextChanged --> Submitted : Submit the new text
Refusals: Only SMS texts are registered with CST. / The status Text changed is set by the system when the text differs from the registered one. / There is no text in this language to register. Write it first. / The text changed after it was submitted. Submit the new text first, then mark it approved.
Message rules
The tab Rules lists what the platform sends when something happens: Rule, Audience, Channels, Template, Type (Code, Service, Warning, Promotional) and Status. A rule is written in code; staff only switch it On or Off (Switch off :rule / Switch on :rule). Search and filter by Event, Channel and State. Channels shown are In-app, Push, SMS, Email, WhatsApp. Messages: The rule ":rule" is on. / The rule ":rule" is off.
Announcements
An announcement is a service notice to the companies (a maintenance window, a new rule, a new screen). It is never marketing.
- Open the tab Announcements and press + Announcement.
- Write the Title and Text in Arabic and English (plain text; the first line reaches the bell and push).
- Tick the Channels (In-app is always on; add Push, Email, SMS: an SMS costs money per part).
- Choose the Audience: Activities, Cities, Roles (and Plan, ignored until plans exist); an empty list means everybody. A live count shows :people people · :companies companies.
- Press Save as draft. On the announcement page choose Schedule with a Publish at time, or Send now (confirm Send it now to :count people?).
stateDiagram-v2 [*] --> Draft : Save as draft Draft --> Scheduled : Schedule Scheduled --> Draft : Recall Scheduled --> Sending : Time comes or Send now Sending --> Sent : Everybody is told Draft --> [*] : Delete the draft
Refusals: A sent announcement cannot be changed. Make a new one. / Only a scheduled announcement can be recalled. / This announcement is already being sent and cannot be recalled. / Only a draft can be deleted. Recall a scheduled announcement first; a sent one stays as a record. / The audience matches nobody now. A past time means "now". People see the notice on their home page and bell until they dismiss it (for 30 days at most).
6.13 Watch the outside services and connect them (A-34, Z-10)
Purpose - know whether mail, SMS, maps, Wathq, Nafath, ZATCA, payments, TGA, GPS and push are answering, and set them up. Who - A-34 needs integrations.view (retry needs integrations.retry); both default to the Operations Manager. Z-10 needs the platform permission "Integrations and providers", which only Super Admin holds by default.
A-34 Integrations health
- Open Platform > Integrations health. There is one tile per service with its state: Running, Warning, Down or Off, the mode (Mode: :mode), the calls of the last 24 hours, failures and the average time.
- A service is Down when its safety switch has opened after repeated failures, or when more than half of its calls in the last 15 minutes failed (with at least 3 calls). Warning means a call failed, or it is being tried again after failures. Off means the platform switched it off.
- Check now asks the service's own free test and updates its tile. Retry failed puts that service's failed background jobs back on their queue (:count failed jobs of :service were put back on their queue.).
- Read the four panels: Calls per hour by service, Error rate, Failed calls by type and Queue backlog, then the Inbound hooks table (callbacks that outside providers send us) with Retry for a dead letter. A backlog that does not fall means no worker is running.
- The call log below lists every call (Time, Service, Operation, Mode, Result, Why, HTTP, ms, Cost, Company). It holds facts only, never what was sent or answered.
When a service stays down the staff who hold integrations.view get one alert, and one more when it recovers. At the same time one P2 support ticket is opened on the support desk (integration category, no company): one per outage while that ticket stays open. The desk closes it; it does not close by itself.
flowchart TD
s1(["Open Integrations health"]) --> a1["Read the tiles and panels"]
a1 --> d1{"A service is Down or Warning?"}
d1 -->|"No"| e1(["Nothing to do"])
d1 -->|"Yes"| a2["Press Check now on that service"]
a2 --> d2{"Answers now?"}
d2 -->|"Yes"| e2(["Tile turns Running, recovery alert sent"])
d2 -->|"No"| a3["Press Retry failed for its jobs"]
a3 --> d3{"Backlog falls?"}
d3 -->|"No"| a4["Ask DevOps to check the queue worker and the provider"]
d3 -->|"Yes"| e2
Z-10 provider cards
Open Settings > Integrations (/settings/integrations). Traincu staff who belong to no company open Platform > Provider settings (/admin/integrations/settings, also the Provider settings button on A-34); the old address takes them there. It has the same cards, save buttons and password check (the list Recent messages is only on the company page). Each service has a card with a Mode: Off, Test (made-up answers, no network, no cost, refused in production) or Live.
| Card | Main fields | Notes |
|---|---|---|
| Mail (SMTP) | Mailer (SMTP or Log only), SMTP host, Port, Encryption, Username, Password, From address, From name; Send a test email to | Save first, then send the test. |
| SMS gateway | Provider, One-time codes (channel), Sender ID, API URL, API key; Send a test SMS to | With provider None a test is written to the log only. |
| Wathq (commercial registry) | Mode, API URL, API key, Cost of one answer, Reuse an answer for (hours); Check a CR number | Billed per real answer. If Wathq is off the owner types the company name. |
| Nafath (national identity) | Mode, Time to confirm (minutes), Cost of one request; Try a request with an ID | Live is Not available until Nafath's documentation arrives. |
| Maps (Google Maps Platform) | Mode, Server key, Browser key, Cost of one address lookup, Cost of one route, Reuse an answer for (days) (30 at most); Check a route from / to | If maps are off, shippers type the distance by hand. |
| ZATCA e-invoicing (Fatoora) | Mode, Gateway URL, Cost of one document, Wave notice until | Live is Not available until ZATCA's documentation and sandbox keys arrive. |
| Payment gateway | Mode, Provider, API address, Secret key, Webhook secret, Provider fee (%), Provider fee per payment, Cost of one call | Live waits for the business to choose a provider. With the gateway off, customers pay by bank transfer. |
| TGA transport document | Mode, TGA address, Access key, Cost of one issued document | Live is Not available until TGA's documentation arrives; while off, dispatchers record documents by hand. |
| GPS / VTS feeds | Mode, Push token, Cost of one pull, First pull looks back (minutes), Fixes per pull | Each company adds its own provider account; this card decides whether the feeds run. |
Keys and secrets are stored encrypted and never shown again: leave a key blank to keep the saved one. Saving a card asks you to confirm your password first (a fresh check), because it repoints a service that carries real codes or money.
flowchart TD
s1(["Open Settings and Integrations"]) --> a1["Choose a card and a Mode"]
a1 --> d1{"Mode is Live?"}
d1 -->|"Yes"| d2{"Provider documents and keys ready?"}
d2 -->|"No"| x1(["Live is not selectable, use Off or Test"])
d2 -->|"Yes"| a2["Type URL, keys and costs"]
d1 -->|"No"| a2
a2 --> a3["Press Save, confirm your password"]
a3 --> sys1[["Setting saved, keys stored encrypted"]]
sys1 --> a4["Use the test button on the card"]
a4 --> e1(["Watch the tile on Integrations health"])
6.14 Read the platform reports (A-32)
Purpose - what the whole platform did across every company. Who - reports.platform (Operations Manager and Finance by default).
Steps
- Open Platform > Platform reports. The first tab Platform figures shows KPI tiles, chart panels and the block How these figures are worked out.
- Choose the Month and press Show. Press Export PDF for the page as a document.
- Open the second tab Platform reports for the catalogue of full reports that read every company (for example CRM pipeline, funnel, conversion, activities per person, revenue by account manager, commission statement; marketing delivery, journey conversion, revenue by campaign). Press Open, set the filters, press Run, then export to Excel, CSV or PDF.
The figures are the nightly snapshots. A tile or panel appears only when the module that owns the data has registered it and the nightly snapshot has run; nothing is estimated. Today the registered figures are Active companies, Churn, Net Promoter Score (NPS), the panel New companies by activity, and Revenue by city (Finance). Tiles such as shipments and value, fill rate, take rate and active trucks appear when their owner modules register them. A page with none says No platform figure yet.
flowchart TD
s1(["Module registers a platform KPI"]) --> sys1[["Nightly snapshot stores the figure"]]
sys1 --> a1["Staff opens Platform reports"]
a1 --> d1{"A figure exists for the month?"}
d1 -->|"No"| x1(["No platform figure yet, nothing is invented"])
d1 -->|"Yes"| a2["Tiles and panels are drawn"]
a2 --> a3["Export PDF or open a full report"]
a3 --> e1(["Excel, CSV or PDF file"])
6.15 Route customer requests and decide government licences (A-36)
Purpose - one queue for every customer request, with a deadline, and the decision on licences for government services. Who - services.route opens the queue (Operations Manager and Account Manager); services.supervise lets a person hand work to somebody else (Operations Manager); services.restricted decides licences (Operations Manager and Verification); services.rules edits the service rules (Operations Manager).
The screen has four tabs: Queue, Response times, Restricted providers, Service rules.
The queue
- Open Support > Service request routing. Filter by Type (Service, Government, Parts, Insurance), Account manager, SLA (Overdue, Near the deadline, On track, Answered in time, Answered late) and City; search by code, company or words.
- The columns are Request, Company, Assigned to, SLA left and Status. A status is Open in queue, Assigned, Overdue or Completed.
- Take gives the request to yourself. A supervisor can Assign it to any staff member who holds
services.route; anybody else may only take it (Only a supervisor can hand work to somebody else. You can take it yourself.). - Escalate tells the supervisors once: The supervisors were told. A second press says This request was already escalated by hand. The system also escalates by itself every hour when an item is past its deadline, and again a day (24 hours) later.
- For a Government request waiting for a provider choose a Licensed provider and press Route to provider. Only a provider with an approved licence in date is offered; if none: No provider is licensed for this service yet.
- Excel and PDF download the queue as shown.
The deadline uses the support desk's service-level rules when they exist; until then it uses default hours (a proposal not confirmed by the business). The page says so. A queue shows at most 1,000 open items per kind and says when it reaches that cap.
flowchart TD
s1(["Customer request arrives"]) --> sys1[["It joins the queue with a deadline"]]
sys1 --> a1["Staff opens Service request routing"]
a1 --> d1{"Who handles it?"}
d1 -->|"Me"| a2["Press Take"]
d1 -->|"Somebody else"| d2{"Am I a supervisor?"}
d2 -->|"Yes"| a3["Press Assign and choose the person"]
d2 -->|"No"| x1(["Refused, only a supervisor assigns others"])
a2 --> sys2[["Request is Assigned"]]
a3 --> sys2
sys2 --> d3{"Past its deadline?"}
d3 -->|"Yes"| sys3[["Supervisors told automatically, again after 24 hours"]]
d3 -->|"No"| e1(["Answered in time"])
sys3 --> e2(["Escalate by hand is also possible once"])
Response times
The tab Response times (Response times per account manager) shows, for a period (From, To), per account manager: Requests, Answered, Average time to answer, Late, Waiting and Overdue now. A supervisor sees every manager; anybody else sees their own line. "Answered" means the first answer the company got (a provider took the job or the first price arrived).
Restricted providers (government licences)
A provider that offers a licensed government service appears under Restricted providers with its Status: Waiting for approval, Offered or Suspended. Filter by Status and Service. Staff decide on the licence:
- Approve the licence: type the Licence number and the day you checked with the authority, then approve. The service is offered: The licence was approved and the service is offered.
- Turn the application down or Hold the service back: write the Reason in Arabic and Reason in English; the provider is told.
- To read the licence number press Open and give a Reason (at least 5 characters): the number is shown on a page of its own and the opening is written to the audit log. In lists and files the number is masked.
- A licence that ends suspends the service by itself (a daily job at 06:20). A company that is not active or has no approved provider activity does not offer the service whatever is decided here.
flowchart TD
s1(["Provider ticks a government service"]) --> sys1[["Status Waiting for approval"]]
sys1 --> a1["Staff opens Restricted providers"]
a1 --> d1{"Licence verified with the authority?"}
d1 -->|"Yes"| a2["Type licence number and day checked, Approve"]
d1 -->|"No"| a3["Reject or hold with a reason in two languages"]
a2 --> sys2[["Service is Offered to buyers"]]
a3 --> sys3[["Provider is told, service is not offered"]]
sys2 --> d2{"Licence end day passes?"}
d2 -->|"Yes"| sys4[["Service is suspended automatically"]]
d2 -->|"No"| e1(["Stays offered"])
Service rules
The tab Service rules lists every figure the services marketplace runs on, in groups Requests and matching, Quotes, Invoices, Parts catalogue and orders, Insurance and Routing and government services. Each row shows the Rule, its Value, the Default, the Allowed range and a Status (Changed or To confirm). Examples: search radius, providers told for "Best match", days a quote stays valid, days to pay an invoice, hours to answer a government request. Press Save rules: The service rules were saved. or Nothing changed. None of the figures has been confirmed by the business; every row says so.
6.16 AI models and forecasts (A-37)
Purpose - one place for the AI layer. Who - ai.view (Super Admin only by default).
Not available yet. The AI layer (model registry, call log, per-company AI switch) is not installed in this build. The screen shows the real page layout with a dash and the note Not measured yet. in every tile and The AI layer is not installed yet. Nothing is estimated.
What you see - the tiles Models live, Price error, Match click-through, Forecast accuracy, AI calls today, AI cost this month; the panels Demand forecast by region, Price accuracy by lane, Recommendations used, AI calls by feature; the Model registry (Feature, Version, Provider, Status, Released; "No model is registered"); the buttons Retrain, Switch version and AI settings (all switched off); and the list What runs today, without a model - the rules that already work for everybody: Lane price suggestion, Load matching and backhaul, Demand forecast, Predictive maintenance, ETA. These are rules, not AI, and are never switched off by an AI setting.
flowchart TD
s1(["Open AI models and forecasts"]) --> d1{"AI layer installed?"}
d1 -->|"No"| r1["Dashes and The AI layer is not installed yet"]
d1 -->|"Yes"| r2["Tiles, panels and the model registry fill in"]
r1 --> r3["List of rules that run today without a model"]
r2 --> r3
r3 --> e1(["Nothing is estimated or invented"])
6.17 Edit translations and manage languages (A-38)
Purpose - change any text of the platform in any language, send texts to a translator and bring them back, and add languages. Who - language.manage (Operations Manager and Super Admin by default). The older company screen Settings > Language & translations (Z-18) still exists for a company's platform admin.
The screen has three tabs: Strings, Languages, Import / export.
Edit a text
- Open Platform > Languages and translations. The cards at the top show how much of each language is filled in (Source language, missing).
- Find the string with the search box (it looks in the key and in every language), or filter by Missing in, Filled in, Module, Edited by staff (Edited or Never edited) and Changed since the last sync. Show only the missing ones is the quick way to a translator's work.
- Click a cell, type the text, click away. It saves by itself (Saving..., then Saved.). Ctrl + Enter saves and moves to the next row; Esc undoes. Arabic cells are typed right to left.
- Keep placeholders (
:name,%s,{1},[2,*],|) exactly as in the English text. A text that drops or invents one, or contains a script, link or event handler, is refused with a sentence naming the problem, for example The placeholder ":placeholder" of the English text is missing here. Keep it exactly as it is. The longest text is 5,000 characters. - The clock button of a row opens History of a string: Shipped text, Says now, Last edits (who, when, Before, After) and Reset to the shipped text, which puts one language back (Back to the shipped text.).
flowchart TD
s1(["Click a cell of a language"]) --> a1["Type the new text and click away"]
a1 --> d1{"Placeholders match the English text?"}
d1 -->|"No"| x1(["Refused with a sentence naming the placeholder"])
d1 -->|"Yes"| d2{"Text is plain, not too long?"}
d2 -->|"No"| x1
d2 -->|"Yes"| sys1[["Saved, cache refreshed"]]
sys1 --> sys2[["Audit line translation edited with before and after"]]
sys2 --> e1(["New text shows on the next page load"])
Sync new strings
Press Sync new strings (and confirm Sync new strings?) to scan the code for new texts and add them. Text that was edited is never changed. It can take a minute; a long first run is better done by DevOps on the server. The result reads :added strings added, :filled filled in, :unchanged unchanged (:total in total). The page shows Last sync: :time.
Import and export
- Open Import / export. Under Export press Download Excel or Download JSON: one row per string, one column per language. The search and filters of the Strings tab travel with the link, so "only the missing ones" gives a translator exactly the work to do.
- Fill the language columns and, under Import, upload the File and press Preview.
- What this file would change shows Strings in the file, Strings that change, Texts that change, Already the same, Unknown, skipped and Refused with the reason. Nothing is written yet.
- Press Apply :count changes to write them once. An empty cell never removes a text, an unknown string is skipped, and a text that drops a placeholder is refused. A text that changed since the preview is left alone.
flowchart TD
s1(["Open Import and export"]) --> a1["Download Excel or JSON"]
a1 --> a2["Translator fills the language columns"]
a2 --> a3["Upload the file and press Preview"]
a3 --> sys1[["Plan is built, nothing is written"]]
sys1 --> d1{"Changes look right?"}
d1 -->|"No"| x1(["Cancel, fix the file, upload again"])
d1 -->|"Yes"| a4["Press Apply"]
a4 --> sys2[["Texts are written once, refused ones are skipped"]]
sys2 --> e1(["Import finished message with counts"])
Languages
The tab Languages lists the Order, Code, Language, Direction (Right to left or Left to right), Status, Default and Texts filled in.
- Add a language: Code (2 or 3 letters, optionally with a region), Name, Native name, This language reads right to left, then Add language. It starts active with no texts.
- Edit renames it or sets its direction; Deactivate / Activate switches it off or on; Move earlier / Move later orders the language switcher.
- Make default asks for a Reason: a new visitor and a new company see this language first; people who already picked one keep theirs. Arabic is the shipped default.
- English is the fallback and cannot be deactivated (English is the fallback language and cannot be deactivated.), the default must stay active, and a language is never deleted.
7. Screen by screen
A-26 - Catalogue
Address - /admin/catalogue (categories), /admin/catalogue/brands, /admin/catalogue/models. Who - catalogue.manage (Operations Manager, Super Admin); staff only.
What you see - three tabs Categories, Brands, Models. Categories: Code, Category, Arabic, English, Listings, Status, filter Level (Top level or Sub-category). Brands: Code, Brand, Arabic, English, Country, Models, Listings, Status. Models: Code, Model, Brand, Category, Years, Listings, Status. Codes look like CAT-0012, BRD-0012, MDL-0012.
What you can do - Add category, Add brand, Add model; per row Edit, Print (PDF), Deactivate / Activate, and Add model on a brand; search, filters and the standard Excel or PDF export of the list. Nothing is deleted.
Dev Pack difference - the design shows one mixed list "Category / brand / model"; the application keeps one list per tab. Activity - 6.8.
A-27 - Master data
Address - /admin/master, then /admin/master/{list}. Who - master.manage (Super Admin).
What you see - tabs for Cities, Vehicle types, Trailer types, Document types, Cargo types and a table with Item, List, Arabic, English and Status (Active / Inactive), filter Status, plus the note "Every company reads these lists. An item is never deleted: switch it off, and what already uses it keeps it. A code never changes."
What you can do - Add, Edit, Switch off / Switch on. Activity - 6.9.
A-28 - Pricing
Address - /admin/pricing (Fee rules), /admin/pricing/plans, /admin/pricing/addons. Who - finance.pricing (Finance, Super Admin).
What you see - tabs Fee rules, Plans, Add-ons. Fee rules: Plan / fee rule, Activity, Trigger, Value, Valid, Applies to, Status (Active / Draft), filters Type, Activity, Status, Applies to. Plans: Plan, Activity, Charged, Price, Trial, Limits, Companies, Status. Add-ons: Add-on, Raises, Charged, Price per unit, Companies, Status.
What you can do - + Fee rule, + Plan, + Add-on; per row Edit, Activate, Back to draft, Delete (only if never used); on the Fee rules tab, Save payout rules in the Payout rules card. Activity - 6.10.
A-29 - Rules
Address - /admin/rules, /admin/rules/create, /admin/rules/{type}/edit. Who - compliance.rules (Super Admin).
What you see - the draft banner, the filter Type (All, Violation type, Dunning step, Response deadline), the table Rule, Severity / day, Points / action, Status, and under it the read-only rules kept by other modules.
What you can do - Add rule, Edit, Switch off / Switch on, Load the draft list. Activity - 6.11.
A-30 - Messaging
Address - /admin/messaging (templates), /admin/messaging/rules, /admin/messaging/announcements. Who - settings.templates (Operations Manager, Super Admin); messaging.rules to switch rules; messaging.announce for announcements.
What you see - tabs Templates, Rules, Announcements. Templates: Template / announcement, Channel, Language, Audience, SMS sender / CST, Status; filters Channel, Language, CST status; the CST banner with days left. Announcements: Template / announcement, Channel, Language, Audience, Publish at, Told, Status (Draft, Scheduled, Sending, Sent), filters Status and Channel.
What you can do - Edit a text, Send test, Registration list (Excel), Print a template, + Announcement. Dev Pack difference - "+ Template" does not exist: every message of the catalogue is edited in place, and a module adds a new message by adding it to its catalogue. Activity - 6.12.
A-31 - Staff and roles
Address - /admin/staff, /admin/staff/accounts, /admin/staff/on-call. Who - staff.manage (locked to Super Admin).
What you see - the matrix of permissions (rows) against the seven roles (Super Admin, Ops Mgr, Verification, Finance, Support L1, Support L2, Acct Mgr) with Request / Approve badges; the account list (Name, Email, Role, Status, Last console sign-in, Added; filters Role, Status; cards Active, Suspended, Ended); the on-call rota.
What you can do - tick and Save, Reset to default, Add staff, change role, suspend, reinstate, end, add or remove an on-call shift. Activity - 6.6.
A-32 - Platform reports
Address - /admin/reports. Who - reports.platform (Operations Manager, Finance, Super Admin).
What you see - month filter, KPI tiles ("was :value" shows the earlier figure), chart panels (for example New companies by activity, Revenue by city), and How these figures are worked out. A second tab lists full platform reports. Dev Pack difference - the design's figures are layout examples; the real page shows only figures whose owner module registered them.
What you can do - Show, Export PDF, open a report, Run, export Excel, CSV or PDF. Activity - 6.14.
A-33 - Audit log
Address - /admin/audit, /admin/audit/{entry}. Who - audit.view (Super Admin); export needs audit.export.
What you see - the four cards, the list Log ID, Time, Actor, Company, Action, Record, Result, filters Actor, Company, Module, Severity, Result, Date; the entry page with Change, Context, Related logs.
What you can do - read, filter, open an entry, Print, Export. Nothing can be changed. Activity - 6.7.
A-34 - Integrations health
Address - /admin/integrations. Who - integrations.view; Retry failed needs integrations.retry (Operations Manager, Super Admin).
What you see - the cards Calls in the last :hours hours, Failed calls, Cost of these calls, Services with warnings; one tile per service; the panels Calls per hour by service, Error rate, Failed calls by type, Queue backlog; Inbound hooks; the call log.
What you can do - Check now, Retry failed, Retry a dead inbound event, Provider settings (staff with settings.integrations). An outage sends one alert and opens one P2 ticket by itself. Activity - 6.13.
A-35 - System settings
Address - /admin/settings, /admin/settings/flags/{flag}. Who - system.settings (Super Admin).
What you see - cards Platform (name, default language, hosting region, data retention, VAT rate read-only, support hours), Sign in: second step for company roles, Feature flags, Sign-in codes (OTP) (the master switch for every one-time code), Maintenance mode, and a Reason field.
What you can do - Save settings, Save sign-in codes, Save maintenance mode, add or remove pilot companies on a flag. Activities - 6.2 to 6.5.
A-36 - Service request routing
Address - /admin/service-routing and its tabs. Who - services.route, services.supervise, services.restricted, services.rules.
What you see - the queue (Request, Company, Assigned to, SLA left, Status), filters Type, Account manager, SLA, City; response times; restricted providers; service rules.
What you can do - Take, Assign, Escalate, Route to provider, Excel, PDF, approve or reject a licence, Save rules. Dev Pack difference - the design says "Assign; Escalate" on one list; the application adds three more tabs. Activity - 6.15.
A-37 - AI models and forecasts
Address - /admin/ai. Who - ai.view (Super Admin).
What you see - the honest shell of 6.16: dashes, an "AI layer is not installed yet" note, an empty model registry and the list of rules that run today. What you can do - nothing yet: Retrain, Switch version, AI settings are switched off. Activity - 6.16.
A-38 - Languages and translations
Address - /admin/language, /admin/language/languages, /admin/language/transfer. Who - language.manage (Operations Manager, Super Admin).
What you see - the Strings list (String, one editable cell per language, History), the Languages list and the Import / export page. What you can do - edit a cell, reset, Sync new strings, add or change a language, export, preview and apply an import. Activity - 6.17. (A-38 has no Dev Pack code; it was added in round 2.)
Z-10 - Integrations (provider cards)
Address - /settings/integrations, saved by PUT to the card's own address; for staff without a company also /admin/integrations/settings (Platform > Provider settings). Who - the platform permission "Integrations and providers" (Super Admin) and a fresh password check. What you see - the tiles and cards of 6.13, Recent messages, API keys and VTS points received. What you can do - save a card, send a test, check a CR number, route or ID.
Pages that have no Dev Pack code
These pages exist in the application and are described in the activities named.
- Catalogue forms -
/admin/catalogue/category/new,/admin/catalogue/category/{category}/edit,.../brand/new,.../brand/{brand}/edit,.../model/new,.../model/{equipmentModel}/editare the add and edit forms (6.8). The three.../printpages are the one-page PDF of a record. - Master data -
/admin/master/{list}/createand/admin/master/{list}/{item}/editare the add and edit forms (6.9). - Pricing edit -
/admin/pricing/fee-rules/{rule}/editedits a fee rule; a live rule shows only name, note and dates as editable (6.10). - Rules forms -
/admin/rules/createand/admin/rules/{type}/edit(6.11). - Messaging -
/admin/messaging/editis the editor of one message;/admin/messaging/printprints it;/admin/messaging/cst-packdownloads the registration list;/admin/messaging/announcements/create,.../{announcement},.../{announcement}/editare the announcement form, page and edit;.../audienceis the background count that fills the form (6.12). - Platform reports -
/admin/reports/catalogue,/admin/reports/r/{report},/admin/reports/pdf,/admin/reports/r/{report}/export(6.14). - Service routing -
/admin/service-routing/providers,/admin/service-routing/response-times,/admin/service-rules, and the three export addresses that download the queue, the providers list and the response-time table (6.15). - Staff -
/admin/staff/accounts/createand/admin/staff/accounts/{account}(6.6). - Flags -
/admin/settings/flags/{flag}lists the pilot companies of one flag (6.4). - Audit entry -
/admin/audit/{entry}(6.7). - Languages -
/admin/language/exportis the file download,/admin/language/strings/{translation}/historyfeeds the history dialog (6.17).
8. Tips and common questions
Q. I changed a setting but nothing seems to have happened. If the value was the same as before, the console says Nothing changed. and writes no log line. Check the value, and that the Reason was filled in.
Q. Why do I get "page not found" on an admin address? The login you are using is not an active staff account. Company users, including a company Owner, never see the console. Ask a Super Admin to add you on A-31.
Q. Why do I get "not allowed" and the menu line is missing? Your role does not hold the permission. A Super Admin ticks it for your role on Roles and permissions; it works on your next request.
Q. Can I delete a catalogue item, a master item, a plan or a rule? No. Catalogue and master items are only switched off. A fee rule, plan or add-on is deleted only if it was never used; otherwise it is put back to draft. A violation rule is only switched off. This keeps old records explainable.
Q. Can I change the price of an active fee rule or plan? No: the money of an active rule is frozen so a charge made last month can always be explained. Put it back to draft, or add a new rule or plan with the new figures and a later start day.
Q. Who sees my reason? Every staff member who may open the audit log (A-33). The reason is saved with the change; never write a password or a personal number in it.
Q. Is the Arabic text on a screen a different screen? No. The same screen is drawn right to left when the page language is Arabic. The texts themselves are edited on A-38.
Q. A message was edited but companies still get the old text. Check the Status of the row: if the edit is switched off, the built-in text is sent. For an SMS also check that the new text is Approved with CST; after 1 Jan 2027 an unapproved text is not sent.
Q. Maintenance mode is on but I still see the site. You are signed in as Traincu staff, or you used a signed-in page in the last 30 minutes (see 6.3). Open the site in a private window to see what visitors see.
Q. Do the two feature flags change anything? Not yet: no screen asks them (see 6.4).
Q. Where do I change the payout rules (release days, minimum payout)? On A-28, tab Fee rules, card Payout rules (6.10).
Q. Can I use the AI screen? It shows the layout and lists the rules that run today; the AI layer itself is not installed.
9. Page reference (for support and testing)
9.1 Pages (GET)
| Page | Address | Route name | Who can open (permission / activity) | Described in |
|---|---|---|---|---|
| AI models and forecasts | /admin/ai |
admin.ai |
ai.view (staff only) |
6.16; A-37 |
| Audit log | /admin/audit |
admin.audit |
audit.view (staff only) |
6.7; A-33 |
| Audit entry | /admin/audit/{entry} |
admin.audit.show |
audit.view (staff only) |
6.7; A-33 |
| Catalogue - Categories tab | /admin/catalogue |
admin.catalogue |
catalogue.manage (staff only) |
6.8; A-26 |
| Add brand | /admin/catalogue/brand/new |
admin.catalogue.brand.create |
catalogue.manage (staff only) |
6.8; A-26 |
| Edit brand | /admin/catalogue/brand/{brand}/edit |
admin.catalogue.brand.edit |
catalogue.manage (staff only) |
6.8; A-26 |
| Brand sheet (download) | /admin/catalogue/brand/{brand}/print |
admin.catalogue.brand.print |
catalogue.manage (staff only) |
6.8; A-26 |
| Catalogue - Brands tab | /admin/catalogue/brands |
admin.catalogue.brands |
catalogue.manage (staff only) |
6.8; A-26 |
| Add category | /admin/catalogue/category/new |
admin.catalogue.category.create |
catalogue.manage (staff only) |
6.8; A-26 |
| Edit category | /admin/catalogue/category/{category}/edit |
admin.catalogue.category.edit |
catalogue.manage (staff only) |
6.8; A-26 |
| Category sheet (download) | /admin/catalogue/category/{category}/print |
admin.catalogue.category.print |
catalogue.manage (staff only) |
6.8; A-26 |
| Add model | /admin/catalogue/model/new |
admin.catalogue.model.create |
catalogue.manage (staff only) |
6.8; A-26 |
| Edit model | /admin/catalogue/model/{equipmentModel}/edit |
admin.catalogue.model.edit |
catalogue.manage (staff only) |
6.8; A-26 |
| Model sheet (download) | /admin/catalogue/model/{equipmentModel}/print |
admin.catalogue.model.print |
catalogue.manage (staff only) |
6.8; A-26 |
| Catalogue - Models tab | /admin/catalogue/models |
admin.catalogue.models |
catalogue.manage (staff only) |
6.8; A-26 |
| Integrations health | /admin/integrations |
admin.integrations |
integrations.view (staff only) |
6.13; A-34 |
| Languages and translations - Strings | /admin/language |
admin.language |
language.manage (staff only) |
6.17; A-38 |
| Export translations (download) | /admin/language/export |
admin.language.export |
language.manage (staff only) |
6.17; A-38 |
| Languages and translations - Languages | /admin/language/languages |
admin.language.languages |
language.manage (staff only) |
6.17; A-38 |
| History of a string (background data) | /admin/language/strings/{translation}/history |
admin.language.strings.history |
language.manage (staff only) |
6.17; A-38 |
| Languages and translations - Import / export | /admin/language/transfer |
admin.language.transfer |
language.manage (staff only) |
6.17; A-38 |
| Master data (opens the first list) | /admin/master |
admin.master |
master.manage (staff only) |
6.9; A-27 |
| One master list | /admin/master/{list} |
admin.master.list |
master.manage (staff only) |
6.9; A-27 |
| Add a list item | /admin/master/{list}/create |
admin.master.create |
master.manage (staff only) |
6.9; A-27 |
| Edit a list item | /admin/master/{list}/{item}/edit |
admin.master.edit |
master.manage (staff only) |
6.9; A-27 |
| Messaging - Templates | /admin/messaging |
admin.messaging |
settings.templates (staff only) |
6.12; A-30 |
| Announcements list | /admin/messaging/announcements |
admin.messaging.announcements |
messaging.announce (staff only) |
6.12; A-30 |
| Audience count (background data) | /admin/messaging/announcements/audience |
admin.messaging.announcements.audience |
messaging.announce (staff only) |
6.12; A-30 |
| New announcement | /admin/messaging/announcements/create |
admin.messaging.announcements.create |
messaging.announce (staff only) |
6.12; A-30 |
| One announcement | /admin/messaging/announcements/{announcement} |
admin.messaging.announcements.show |
messaging.announce (staff only) |
6.12; A-30 |
| Edit an announcement | /admin/messaging/announcements/{announcement}/edit |
admin.messaging.announcements.edit |
messaging.announce (staff only) |
6.12; A-30 |
| CST registration list (download) | /admin/messaging/cst-pack |
admin.messaging.cst-pack |
settings.templates (staff only) |
6.12; A-30 |
| Edit a message text | /admin/messaging/edit |
admin.messaging.edit |
settings.templates (staff only) |
6.12; A-30 |
| Message sheet (download) | /admin/messaging/print |
admin.messaging.print |
settings.templates (staff only) |
6.12; A-30 |
| Messaging - Rules | /admin/messaging/rules |
admin.messaging.rules |
settings.templates (staff only) |
6.12; A-30 |
| Pricing - Fee rules | /admin/pricing |
admin.pricing |
finance.pricing (staff only) |
6.10; A-28 |
| Pricing - Add-ons | /admin/pricing/addons |
admin.pricing.addons |
finance.pricing (staff only) |
6.10; A-28 |
| Edit a fee rule | /admin/pricing/fee-rules/{rule}/edit |
admin.pricing.edit |
finance.pricing (staff only) |
6.10; A-28 |
| Pricing - Plans | /admin/pricing/plans |
admin.pricing.plans |
finance.pricing (staff only) |
6.10; A-28 |
| Provider settings (Z-10 on the console) | /admin/integrations/settings |
admin.integrations.settings |
settings.integrations (staff only) |
6.13; Z-10 |
| Platform reports - Platform figures | /admin/reports |
admin.reports |
reports.platform (staff only) |
6.14; A-32 |
| Platform reports - catalogue | /admin/reports/catalogue |
admin.reports.catalogue |
reports.platform (staff only) |
6.14; A-32 |
| Platform figures as PDF (download) | /admin/reports/pdf |
admin.reports.pdf |
reports.platform (staff only) |
6.14; A-32 |
| One platform report | /admin/reports/r/{report} |
admin.reports.report |
reports.platform (staff only) |
6.14; A-32 |
| Report file (download) | /admin/reports/r/{report}/export |
admin.reports.export |
reports.platform (staff only) |
6.14; A-32 |
| Rules | /admin/rules |
admin.rules |
compliance.rules (staff only) |
6.11; A-29 |
| Add rule | /admin/rules/create |
admin.rules.create |
compliance.rules (staff only) |
6.11; A-29 |
| Edit rule | /admin/rules/{type}/edit |
admin.rules.edit |
compliance.rules (staff only) |
6.11; A-29 |
| Service request routing - Queue | /admin/service-routing |
admin.service-routing |
services.route (staff only) |
6.15; A-36 |
| Queue file (download) | /admin/service-routing/export/{format} |
admin.service-routing.export |
services.route (staff only) |
6.15; A-36 |
| Restricted providers | /admin/service-routing/providers |
admin.service-routing.providers |
services.restricted (staff only) |
6.15; A-36 |
| Providers file (download) | /admin/service-routing/providers/export/{format} |
admin.service-routing.providers.export |
services.restricted (staff only) |
6.15; A-36 |
| Response times | /admin/service-routing/response-times |
admin.service-routing.response-times |
services.route (staff only) |
6.15; A-36 |
| Response times file (download) | /admin/service-routing/response-times/export/{format} |
admin.service-routing.response-times.export |
services.route (staff only) |
6.15; A-36 |
| Service rules | /admin/service-rules |
admin.service-rules |
services.rules (staff only) |
6.15; A-36 |
| System settings | /admin/settings |
admin.settings |
system.settings (staff only) |
6.2; A-35 |
| One feature flag (pilot companies) | /admin/settings/flags/{flag} |
admin.settings.flags |
system.settings (staff only) |
6.4; A-35 |
| Staff and roles - Roles and permissions | /admin/staff |
admin.staff |
staff.manage (staff only) |
6.6; A-31 |
| Staff accounts | /admin/staff/accounts |
admin.staff.accounts |
staff.manage (staff only) |
6.6; A-31 |
| Add staff | /admin/staff/accounts/create |
admin.staff.accounts.create |
staff.manage (staff only) |
6.6; A-31 |
| One staff account | /admin/staff/accounts/{account} |
admin.staff.accounts.show |
staff.manage (staff only) |
6.6; A-31 |
| On call | /admin/staff/on-call |
admin.staff.on-call |
staff.manage (staff only) |
6.6; A-31 |
9.2 Actions (buttons and forms)
All of these are staff-only (a company login gets "not found"). The method is shown in front of each address: creating and running use POST, changing uses PUT or PATCH, removing uses DELETE.
System settings (A-35) - section 6.2
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Save settings | PUT /admin/settings |
admin.settings.update |
system.settings |
Maintenance mode (A-35) - section 6.3
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Save maintenance mode | PUT /admin/settings/maintenance |
admin.settings.maintenance |
system.settings |
Feature flags (A-35) - section 6.4
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Add a company to a flag | POST /admin/settings/flags/{flag}/companies |
admin.settings.flags.companies.store |
system.settings |
| Remove a company from a flag | DELETE /admin/settings/flags/{flag}/companies/{override} |
admin.settings.flags.companies.destroy |
system.settings |
Sign-in codes (A-35) - section 6.5
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Save sign-in codes | PUT /admin/settings/otp |
admin.settings.otp |
system.settings |
Staff and roles (A-31) - section 6.6
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Save the role matrix | PUT /admin/staff |
admin.staff.update |
staff.manage |
| Add staff | POST /admin/staff/accounts |
admin.staff.accounts.store |
staff.manage |
| End the account | POST /admin/staff/accounts/{account}/end |
admin.staff.accounts.end |
staff.manage |
| Reinstate | POST /admin/staff/accounts/{account}/reinstate |
admin.staff.accounts.reinstate |
staff.manage |
| Change role | PUT /admin/staff/accounts/{account}/role |
admin.staff.accounts.role |
staff.manage |
| Suspend | POST /admin/staff/accounts/{account}/suspend |
admin.staff.accounts.suspend |
staff.manage |
| Add a shift | POST /admin/staff/on-call |
admin.staff.on-call.store |
staff.manage |
| Remove a shift | DELETE /admin/staff/on-call/{shift} |
admin.staff.on-call.destroy |
staff.manage |
| Reset to default | POST /admin/staff/reset |
admin.staff.reset |
staff.manage |
Catalogue (A-26) - section 6.8
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Save a new brand | POST /admin/catalogue/brand |
admin.catalogue.brand.store |
catalogue.manage |
| Save changes to a brand | PUT /admin/catalogue/brand/{brand} |
admin.catalogue.brand.update |
catalogue.manage |
| Deactivate / Activate a brand | POST /admin/catalogue/brand/{brand}/toggle |
admin.catalogue.brand.toggle |
catalogue.manage |
| Save a new category | POST /admin/catalogue/category |
admin.catalogue.category.store |
catalogue.manage |
| Save changes to a category | PUT /admin/catalogue/category/{category} |
admin.catalogue.category.update |
catalogue.manage |
| Deactivate / Activate a category | POST /admin/catalogue/category/{category}/toggle |
admin.catalogue.category.toggle |
catalogue.manage |
| Save a new model | POST /admin/catalogue/model |
admin.catalogue.model.store |
catalogue.manage |
| Save changes to a model | PUT /admin/catalogue/model/{equipmentModel} |
admin.catalogue.model.update |
catalogue.manage |
| Deactivate / Activate a model | POST /admin/catalogue/model/{equipmentModel}/toggle |
admin.catalogue.model.toggle |
catalogue.manage |
Master data (A-27) - section 6.9
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Save a new item | POST /admin/master/{list} |
admin.master.store |
master.manage |
| Save an item | PUT /admin/master/{list}/{item} |
admin.master.update |
master.manage |
| Switch off / Switch on | POST /admin/master/{list}/{item}/toggle |
admin.master.toggle |
master.manage |
Pricing (A-28) - section 6.10
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Add add-on | POST /admin/pricing/addons |
admin.pricing.addons.store |
finance.pricing |
| Save an add-on | PUT /admin/pricing/addons/{addon} |
admin.pricing.addons.update |
finance.pricing |
| Delete a draft add-on | DELETE /admin/pricing/addons/{addon} |
admin.pricing.addons.destroy |
finance.pricing |
| Activate / Back to draft (add-on) | POST /admin/pricing/addons/{addon}/status |
admin.pricing.addons.status |
finance.pricing |
| Save payout rules | PUT /admin/pricing/payout-rules |
admin.pricing.payout-rules |
finance.pricing |
| Add fee rule | POST /admin/pricing/fee-rules |
admin.pricing.store |
finance.pricing |
| Save a fee rule | PUT /admin/pricing/fee-rules/{rule} |
admin.pricing.update |
finance.pricing |
| Delete a fee rule | DELETE /admin/pricing/fee-rules/{rule} |
admin.pricing.destroy |
finance.pricing |
| Activate / Back to draft (fee rule) | POST /admin/pricing/fee-rules/{rule}/status |
admin.pricing.status |
finance.pricing |
| Add plan | POST /admin/pricing/plans |
admin.pricing.plans.store |
finance.pricing |
| Save a plan | PUT /admin/pricing/plans/{plan} |
admin.pricing.plans.update |
finance.pricing |
| Delete a plan | DELETE /admin/pricing/plans/{plan} |
admin.pricing.plans.destroy |
finance.pricing |
| Activate / Back to draft (plan) | POST /admin/pricing/plans/{plan}/status |
admin.pricing.plans.status |
finance.pricing |
Rules (A-29) - section 6.11
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Save a new rule | POST /admin/rules |
admin.rules.store |
compliance.rules |
| Load the draft list | POST /admin/rules/seed |
admin.rules.seed |
compliance.rules |
| Save rule changes | PUT /admin/rules/{type} |
admin.rules.update |
compliance.rules |
| Switch off / Switch on | POST /admin/rules/{type}/toggle |
admin.rules.toggle |
compliance.rules |
Messaging (A-30) - section 6.12
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Save as draft | POST /admin/messaging/announcements |
admin.messaging.announcements.store |
messaging.announce |
| Save an announcement | PUT /admin/messaging/announcements/{announcement} |
admin.messaging.announcements.update |
messaging.announce |
| Delete a draft | DELETE /admin/messaging/announcements/{announcement} |
admin.messaging.announcements.destroy |
messaging.announce |
| Recall | POST /admin/messaging/announcements/{announcement}/recall |
admin.messaging.announcements.recall |
messaging.announce |
| Schedule | POST /admin/messaging/announcements/{announcement}/schedule |
admin.messaging.announcements.schedule |
messaging.announce |
| Send now | POST /admin/messaging/announcements/{announcement}/send |
admin.messaging.announcements.send |
messaging.announce |
| Save CST registration | PUT /admin/messaging/cst |
admin.messaging.cst |
settings.templates |
| Save template | PUT /admin/messaging/edit |
admin.messaging.update |
settings.templates |
| Reset to default | DELETE /admin/messaging/edit |
admin.messaging.reset |
settings.templates |
| Switch a rule on / off | PUT /admin/messaging/rules/{rule} |
admin.messaging.rules.toggle |
settings.templates, messaging.rules |
| Send test | POST /admin/messaging/test |
admin.messaging.test |
settings.templates |
Integrations health (A-34) - section 6.13
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Retry an inbound event | POST /admin/integrations/inbound/{event}/retry |
admin.integrations.inbound.retry |
integrations.retry |
| Check now | POST /admin/integrations/{provider}/check |
admin.integrations.check |
integrations.view |
| Retry failed | POST /admin/integrations/{provider}/retry |
admin.integrations.retry |
integrations.retry |
Service request routing (A-36) - section 6.15
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Assign / Take | POST /admin/service-routing/assign |
admin.service-routing.assign |
services.route |
| Escalate | POST /admin/service-routing/escalate |
admin.service-routing.escalate |
services.route |
| Approve the licence | POST /admin/service-routing/providers/{service}/approve |
admin.service-routing.providers.approve |
services.restricted |
| Open the licence number | POST /admin/service-routing/providers/{service}/licence |
admin.service-routing.providers.licence |
services.restricted |
| Turn the application down | POST /admin/service-routing/providers/{service}/reject |
admin.service-routing.providers.reject |
services.restricted |
| Hold the service back | POST /admin/service-routing/providers/{service}/suspend |
admin.service-routing.providers.suspend |
services.restricted |
| Route to provider | POST /admin/service-routing/route-provider |
admin.service-routing.route-provider |
services.route |
Service rules (A-36) - section 6.15
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Save rules | PUT /admin/service-rules |
admin.service-rules.update |
services.rules |
Languages and translations (A-38) - section 6.17
| Action | Method and address | Route name | Permission |
|---|---|---|---|
| Apply an import | POST /admin/language/import/apply |
admin.language.import.apply |
language.manage |
| Preview an import | POST /admin/language/import/preview |
admin.language.import.preview |
language.manage |
| Add language | POST /admin/language/languages |
admin.language.languages.store |
language.manage |
| Edit or switch a language | PATCH /admin/language/languages/{language} |
admin.language.languages.update |
language.manage |
| Make default | PATCH /admin/language/languages/{language}/default |
admin.language.languages.default |
language.manage |
| Move earlier / later | POST /admin/language/languages/{language}/move |
admin.language.languages.move |
language.manage |
| Save one cell | PATCH /admin/language/strings/{translation} |
admin.language.strings.update |
language.manage |
| Reset to the shipped text | POST /admin/language/strings/{translation}/reset |
admin.language.strings.reset |
language.manage |
| Sync new strings | POST /admin/language/sync |
admin.language.sync |
language.manage |
Z-10 provider cards (extra, not in the staff console)
| Page | Address | Route name | Who can open |
|---|---|---|---|
| Integrations | /settings/integrations |
settings.integrations |
permission settings.integrations, fresh password check to save |
| Mail card (save) | PUT /settings/integrations/mail |
settings.integrations.mail |
same |
| SMS card (save) | PUT /settings/integrations/sms |
settings.integrations.sms |
same |
| Wathq, Nafath, Maps, ZATCA, Payments, TGA, GPS cards | PUT /settings/integrations/{provider} (wathq, nafath, maps, zatca, payments, tga, gps) |
settings.integrations.wathq, .nafath, .maps, .zatca, .payments, .tga, .gps |
same |