Trips
In the "Trips" section under "Bus Transport" in the AllRide application, users can view a comprehensive list of all the trips that have been organized, which includes trips created by customers, drivers, or administrators. Here's the flow and information you'll find in this section:
Details Displayed
- Reference No.: Each trip is assigned a unique identifier, which helps in tracking and managing the trip.
- Assigned Vehicle: The vehicle allocated for the trip is listed by its identification number or code.
- Driver: The name of the driver assigned to the trip is displayed here.
- Trip Started: This column will indicate the actual start time of the trip once it has commenced.
- Trip Ended: Similarly, this column will show the time when the trip has concluded.
- Status: Indicates the stage of the trip's lifecycle, such as 'Created', which means the trip is logged into the system but not yet active, or 'Published', meaning the trip is confirmed and scheduled.
Functionality
Navigation
- Pagination Controls: At the bottom, these controls let users navigate through multiple pages if there are more trips than can be displayed on a single page. This section is designed to give users a clear and actionable interface for managing the various aspects of bus trips within the platform.

Trip details:
Upon selecting a trip from the list, you're taken to a page that details the specific journey you're examining. The layout of the page provides thorough insights into the trip's elements as follows:
Map Visualization:
- At the top, you'll find a dynamic map highlighting the route for visual orientation, showing the journey from the start station to the end station, along with any stops in between.
Reservations Overview:
- This section gives a snapshot of who has booked the trip, the pick-up and drop-off locations, the departure time, and the current status of the trip, which might include states like 'Published', 'Scheduled', or 'Completed'.
Trip Information:
- Trip Status: Displays whether the trip is active, pending, or completed.
- Actual Duration of Trip: This will detail how long the trip took once completed.
- Distance Covered: Reflects the total distance of the trip route.
- Trip Reference: Provides a unique identifier for this specific trip.
- Start Date & Time: The scheduled time when the trip is supposed to begin.
- End Date & Time: When the trip is expected to conclude.
Route Information:
- Route Name: Describes the designated name for the trip route.
- Zone: Indicates the regional zone of the trip.
- Start Station: Marks the geographical starting point of the journey.
- End Station: Marks the destination or final stop of the journey.
Booking & Additional Information:
- Operator: The entity or organization managing the trip.
- Booking Date: The date and time when the trip was initially booked.
- Created at: The timestamp of when the trip entry was first created.
- Assignment Type: Specifies the nature of the trip assignment, if applicable.
- Updated by: The last user or system that made changes to the trip details.
- Updated at: The timestamp of the most recent update.
Passenger, Driver, and Vehicle Info:
- Number of Adults/Children/Infants: The number of passengers by age group.
- Number of Bags: How much luggage is accounted for .
- Driver: The designated driver for the trip.
- Vehicle Type: The class or model of the vehicle used for the trip.
Vehicle: The specific vehicle assigned, identified by its code or registration.
Edit Functionality
This option permits modifications to the trip details. By clicking 'Edit', you can update any part of the trip's information, such as changing the route, rescheduling the start time, or assigning a different vehicle or driver.
Delete Functionality:
Should there be a need to remove the trip entirely, the 'Delete' function enables this action. This might be used in cases where a trip has been canceled or entered in error.
Add Trip:
When creating a trip within the system, you will be guided through a step-by-step process to select the necessary information for each aspect of the trip. Here's how you can go about selecting the details accordingly:
1. Assign Reservation:
- Click on the 'Select Reservation' button.
- A list of available reservations will appear. These are likely pre-booked by customers or admins and contain details such as the date, time, passenger information, and destination.
- Choose the reservation that corresponds to the trip you are creating.
2. Assign A Vehicle:
- After selecting the reservation, proceed by clicking 'Select Vehicle'.
- This will bring up a list of available vehicles in the fleet. The list may include details like vehicle type, capacity, and availability status.
- Select the vehicle that best fits the requirements of the reserved trip.
3. Assign A Driver:
-
-
- Click on 'Select Driver' to assign a driver to the trip.
- You will see a roster of available drivers along with relevant information such as their driving schedule, ratings, or proximity to the trip’s starting point.
- Pick a driver who is available at the scheduled time and is suitable for the journey.
-
4. Assign Operator:
-
-
- By clicking 'Select Operator', you can assign the trip to an operator, which could be a person or a dispatch team responsible for overseeing the trip.
- From the list, choose the operator who will manage the trip's logistics, ensuring they have the capacity and resources to do so effectively.
-
5. Assign Route:
-
-
- Finally, click on 'Select Route'.
- This will allow you to set the specific route for the trip. Depending on the system, this may include predetermined routes or the option to create a custom route based on the trip’s start and end points.
- Select the appropriate route that matches the reservation details and meets the passenger's needs.
- Throughout this process, the system will guide you through each selection to ensure that all the necessary details are covered for the trip. Once you've made all the selections, you can review the details and then save the trip by clicking the 'Save' button, or choose 'Cancel' if you need to exit without saving.

-