Create New Service
This modal window allows users to define or edit a service record tied to a truck or trailer. It includes fields for scheduling, association to vehicle(s), optional comments and recurrence logic.
Access Context
This screen is triggered by:
- Clicking “Create new service” from the Vehicles → Services tab
- Or editing an existing service record
UI Element Descriptions
Form Fields
Title*
- Input Type: Text field
- Validation: Required (currently in error state if empty)
- Purpose: Name of the service task (e.g., “Oil change”, “Brake check”)
Reg no.*
- Input Type: Dropdown
- Purpose: Select the registration number of the associated vehicle
- Default Value:
Vehicle (All) - Validation: Required
- Interaction: Populated from the registered fleet vehicles
Comment
- Input Type: Multiline text field
- Placeholder:
Add comment - Purpose: Add notes, special instructions or clarifications
Due date*
- Input Type: Date picker
- Placeholder:
Date - Purpose: When the service is scheduled to occur
- Validation: Required
Days left*
- Input Type: Numeric field
- Placeholder:
Add number - Purpose: Defines urgency or proximity of task
- Validation: Required; may be used in calculating upcoming/due-soon status
Repeat Service Settings
Set as Repeat service
- Input Type: Toggle switch
- Function: Enables recurring service setup when switched on
If toggled on, the following fields become relevant:
- Every: Numeric input to specify interval (e.g.,
6) - Repeat: Dropdown to select unit (e.g.,
Months,Years,Days)
Example: “Repeat every 6 Months”
Functional Notes
- All required fields (
Title,Reg no.,Due date,Days left) must be filled to enable a valid submission - Toggle-based recurrence logic enables dynamic field visibility
- Likely integrated with logic to generate
Upcoming,Due soon, orOverduestatus on the Services dashboard
User Guidance & Best Practices
- Ensure the “Title” is descriptive (e.g., “Engine diagnostics”), not a VIN or ID string
- Use recurrence only when applicable, such as oil changes, inspections, etc.
- Clarify purpose or conditions in the Comment section when needed (e.g., “only if mileage exceeds 200k km”)
