Site Tools


Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
trucks-for-you-revised

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
trucks-for-you-revised [2018/07/18 05:11]
hari
trucks-for-you-revised [2018/07/25 10:19]
hari [Add a driver]
Line 3: Line 3:
 ===== Hirer use cases ===== ===== Hirer use cases =====
  
-==== Register ==== +==== Register ​and login ==== 
-  - Hirer inputs ​name and phone number+  - Hirer inputs phone number 
 +  - If there are no previous records with the phone number, then the number is recorded into a new profile.
   - System records the input and sends an OTP to the phone number   - System records the input and sends an OTP to the phone number
   - The system prompts the hirer for the OTP   - The system prompts the hirer for the OTP
Line 12: Line 13:
     - If the OTP is correct, then the hirer is confirmed as a registered user.     - If the OTP is correct, then the hirer is confirmed as a registered user.
   - If the hirer exits the app before keying in the correct OTP, then the hirer account is considered provisional.   - If the hirer exits the app before keying in the correct OTP, then the hirer account is considered provisional.
- +  - After the entry of correct OTP, the system generates a token that is used by the app for all further communication on behalf of this hirer. This token is sent to the app. 
-==== Login ====+  - The app stores the token and uses it in all further communication. 
 +  - The system checks if the profile has a name. 
 +  - If the profile doesn'​t have a name yet 
 +    - The hirer is prompted. 
 +    - The hirer enters name 
 +    - The system saves the hirer'​s name 
 +  - The hirer is redirected to wherever he/she was before login.
  
 ==== Request for a truck ==== ==== Request for a truck ====
Line 83: Line 90:
   - The payment status of the trip is marked as paid.   - The payment status of the trip is marked as paid.
  
 +
 +===== Driver use cases =====
 +
 +==== Login ====
 +  - During induction, a driver'​s phone number and name are already created by the admin.
 +  - The driver enters phone number.
 +  - The system checks if a driver with that phone number has been inducted.
 +    - If not so, then the driver is not allowed to log in.
 +  - An OTP is sent to the driver'​s phone number, while a provisional token is generated for the driver and sent back in the response.
 +  - The driver'​s app enters the OTP into the OTP field.
 +    - If the OTP generated by the system does not match the one entered by the driver, then the authentication is unsuccessful.
 +  - The following things are fetched:
 +    - The driver'​s profile: name, phone number, photo, driving license number.
 +    - The truck'​s profile: registration number, type, capacity, photo
 +    - A list of trip suggestions that are applicable for the that driver. ​
 +
 +==== Get a list of applicable trips ====
 +
 +  - Driver gets a list of requested trip suggestions for which he/she is eligible. Each trip has the following details.
 +    - Start city
 +    - End city
 +    - Date of start of trip
 +    - Date of end of trip
 +    - Tonnes of goods to carry
 +    - Tariff
 +  - The driver can see the details of a particular trip. the details are:
 +    - The full address of the loading point
 +    - The full address of the unloading point
 +
 +==== Actively reject a trip ====
 +
 +  - The driver actively chooses to reject a trip.
 +  - The system deletes the trip from the list of trips for that driver.
 +
 +==== Pick a trip ====
 +
 +  - The driver requests assignment to a trip.
 +  - If the trip is not already taken, it is assigned to him/her.
 +  - The system records the assignment and sends a notification to the hirer.
 +
 +==== Get trip confirmation ====
 +
 +  - The hirer of a trip chosen by the drive confirms the trip.
 +  - The trip status is marked as confirmed.
 +  - An SMS is sent to driver to notify confirmation of the trip.
 +
 +==== Update trip status ====
 +
 +  - The driver can update the status of a trip as it progresses. Here is what he can update.
 +    - Truck has reached loading point.
 +    - The truck has loaded. The driver will also input the tare and gross weights.
 +    - Truck has started on the route.
 +    - Truck has reached unloading point.
 +    - Truck has unloaded.
 +
 +===== Admin use cases =====
 +
 +==== Login ====
 +
 +  - Admin can log in using either phone number of email.
 +  - A verification is sent based on the entry of identity. In both cases, an access token is generated.
 +    - An OTP is sent if the identity is phone number.
 +    - An email with verification link is sent if the identity is email.
 +  - The OTP and verification token in the request are checked against the ones generated by the system.
 +    - For a mismatch, authentication is denied.
 +  - The admin is taken to the home page.
 +
 +==== Add a truck ====
 +  - The admin adds the following details about a truck
 +    - Registration number
 +    - Type of truck: open top, closed top, container
 +    - Capacity in tonnes
 +    - Photo of truck
 +    - Photo of RC book
 +  - If the truck with registration already exists, then the admin is asked whether to overwrite.
 +
 +==== Add a city ====
 +  - The admin can add the following details about a city
 +    - City name
 +  - If the city with the same name is already found, the the admin is asked whether to overwrite.
 +
 +==== Add a truck type ====
 +  - The admin can add a new truck type by its name.
 +
 +==== Add a driver ====
 +
 +The admin adds new drivers to the system when they are hired. The following details are added.
 +  - Name
 +  - License number
 +  - License expiry date
 +  - Photo
 +  - License photo
 +==== Hide truck ====
 +The admin can hide a particular truck if it is currently not available for a trip online.
 +
 +==== Hide truck type ====
 +The admin can hide a particular truck type if the company won'​t ​
 +
 +==== Hide city ====
 +The admin can hide a city if it is currently not serviced
 +
 +
 +==== Hide driver ====
 +The admin can hide a driver if that driver is not going to take a trip for a long time.
 +
 +==== Create and assign trip ====
 +
 +If the admin comes to know about a booking that was taken over phone, they'​ll need to add a new trip manually and assign it to a truck. The fields are the same as the corresponding ones in hirer truck booking.
 +
 +==== View a list of truck suggestions for a trip request ====
 +Similar to hirer
 +
 +==== Manually select a suggestion for a trip request ====
 +Similar to hirer
 +
 +==== See the list of trucks that fit a suggestion ====
 +The admin can see the list of trucks that fit the conditions of a suggestion. Here are the fields the admin can see at a glance
 +  - Truck registration number
 +  - Truck photo
 +  - Driver name
 +  - Driver phone number
 +  - Driver photo
 +
 +==== Manually create a hirer ====
 +The admin enters the following fields to create a hirer
 +  - Name
 +  - Phone number
 +
 +==== Assign a truck to a trip ====
 +  - The admin assigns a truck to a trip
 +  - The hirer receives an SMS for the assignment of the trip.
 +
 +==== Confirm a trip ====
 +  - If a hirer agrees to the truck specifications assigned to him/her, then the admin confirms the trip.
 +  - Both the driver and the hirer get a confirmation with the following data:
 +    - Start city
 +    - End city
 +    - Trip start date
  
trucks-for-you-revised.txt · Last modified: 2018/07/31 10:58 by hari · Currently locked by: 185.192.70.153