Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/fatelessdev/translogiX/llms.txt

Use this file to discover all available pages before exploring further.

Transporters and vehicles are the two foundational resources in TranslogiX. Every shipment is fulfilled by a transporter and, optionally, carried by a specific vehicle. This page explains the data model for each resource, how to manage them from the admin panel, and how transporter user accounts are linked to transporter records.

Transporters

Navigate to Admin → Transporters to see all registered transport companies. The list supports search by name, contact person, or phone number.

Fields

FieldRequiredDescription
nameYesThe company or individual name of the transporter.
gstNumberNoGST registration number. Optional but recommended for billing.
contactPersonYesName of the primary contact at the transporter.
phoneYesContact phone number.
emailNoContact email address. Must be a valid email format if provided.
statusYesEither active or inactive. Defaults to active on creation.

Enabling and disabling transporters

Each transporter row in the list has a toggle button. Clicking it opens a confirmation dialog before applying the status change. Active transporters show a green toggle icon; inactive transporters show a gray toggle.
Deactivating a transporter does not automatically unassign them from existing shipments. Any in-progress shipments remain linked to the transporter record.
Click the pencil icon on any row to open the edit form and update any field.

Vehicles

Navigate to Admin → Vehicles to see all vehicles across all transporters. The list supports search by vehicle number, transporter name, or vehicle type. Admins see a Transporter column in the table; transporter-role users see only their own vehicles.

Fields

FieldRequiredDescription
vehicleNumberYesThe registration or identification number of the vehicle.
transporterIdYesThe transporter company this vehicle belongs to.
vehicleTypeYesOne of TRUCK, DUMPER, VAN, or OTHER.
capacityKgYesMaximum load capacity in kilograms. Must be a positive number.
currentLocationNoFree-text current location of the vehicle.
statusYesOne of AVAILABLE, BUSY, or MAINTENANCE. Defaults to AVAILABLE.
lastMaintenanceDateNoDate of the most recent maintenance service.

Vehicle type badge colors

TypeBadge color
TRUCKBlue
DUMPEROrange
VANPurple
OTHERGray

Vehicle status

Vehicle status can be changed at any time from the inline dropdown in the list view.
StatusMeaningBadge color
AVAILABLEReady to be assigned to a shipment.Green
BUSYCurrently assigned to an active shipment.Yellow
MAINTENANCEOut of service for maintenance.Red
When a vehicle is assigned to a shipment — either at shipment creation or during an edit — the system automatically sets that vehicle’s status to BUSY. When the shipment is marked DELIVERED, the vehicle is automatically reset to AVAILABLE. If a shipment is cancelled, the vehicle status is not automatically changed and may need to be manually reset.

Linking user accounts to transporters

Users with the TRANSPORTER role are linked to a specific transporter record via the transporterId column on the users table. This foreign key relationship means:
  • A TRANSPORTER user can only see and manage shipments assigned to their transporter.
  • A TRANSPORTER user can only see vehicles that belong to their transporter.
  • When a TRANSPORTER user creates a shipment, the shipment is automatically associated with their transporter — they cannot assign the shipment to a different transporter.
Admins manage this link when creating or editing a user account by selecting the associated transporter from a dropdown.

Build docs developers (and LLMs) love