Site Tools


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

Revised requirements for Trucks For You

Hirer use cases

Register and login

  1. Hirer inputs phone number
  2. If there are no previous records with the phone number, then the number is recorded into a new profile.
  3. System records the input and sends an OTP to the phone number
  4. The system prompts the hirer for the OTP
  5. The hirer enters the OTP.
  6. The system verifies the OTP.
    1. If the OTP is incorrect, the hirer is told about it and given another chance.
    2. If the OTP is correct, then the hirer is confirmed as a registered user.
  7. If the hirer exits the app before keying in the correct OTP, then the hirer account is considered provisional.
  8. 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.
  9. The app stores the token and uses it in all further communication.
  10. The system checks if the profile has a name.
  11. If the profile doesn't have a name yet
    1. The hirer is prompted.
    2. The hirer enters name
    3. The system saves the hirer's name
  12. The hirer is redirected to wherever he/she was before login.

Request for a truck

  1. The hirer inputs the following conditions.
    1. Start city
    2. End city
    3. The earliest date on which goods are ready for loading
    4. The latest date on which goods should be delivered
    5. Load weight in tonnes
    6. Type of truck: open, closed, container
  2. Based on the hirer's conditions, the system generates suggestions. The suggestions do not point to individual trucks, but rather a combination of conditions that have been met. Each suggestion has the following field.
    1. Date on which the truck will leave the start city.
    2. Date on which the truck is expected to reach the end city.
    3. Type of truck
    4. Tonnage of truck
    5. Normal tariff considering smooth delivery. The actual tariff will change based on events that happen during the trip and the delivery. Note that this tariff is calculated based on the load requested by the hirer and not the capacity of the truck, if a truck with a lower capacity is usually available with the system.
  3. The hirer chooses one of the suggestions.
  4. The system asks for the complete addresses of the source and destination facilities.
  5. The hirer enters the complete addresses.
  6. The system records the hirer's criteria and choice of suggestion. An SMS is sent to the hirer's number, informing them that a truck will be ready for their trip shortly.
  7. The hirer waits for intimation about a truck.

Response to hire request

  1. If the system does not have any trucks ready for the hirer, then a regret SMS is sent to the hirer.
  2. If the system has a truck ready, then the system creates a confirmed trip and the following details are sent to the hirer.
    1. Truck's registration number.
    2. Driver's name.
    3. Driver's phone number.
    4. A hyperlink to the detailed page for the truck.
    5. A hyperlink to the detailed page for the driver.
    6. A hyperlink to confirm / cancel the trip.
    7. A message saying that the trip must be cancelled within 3 hours. Otherwise the trip is assumed confirmed.

Driver's detailed page

  1. The hirer can see the following details about a driver.
    1. Full name
    2. Passport photo
    3. Photo of the driving license
    4. Phone number, if the driver has been assigned to any trip requested by the hirer.

Truck's detailed page

  1. The hirer can see the following details about a truck.
    1. Registration number
    2. Photo
    3. Photo of RC book

Truck state intimation

  1. The hirer is sent SMS messages whenever the state of the truck's trip changes.
    1. The truck has arrived at the source facility for loading.
    2. The truck has finished loading and weighing. The tare weight and gross weight are sent.
    3. The truck is on the route.
    4. The truck has arrived at the destination facility.
    5. The truck has finished loading. The gross weight and tare weight are sent.

Request to pay

  1. The system marks a trip as done.
  2. If there are any unresolved disputes, the tariff amount is revised.
  3. An SMS is sent to the hirer with the following details.
    1. The total amount to be paid.
    2. A hyperlink to the invoice, where a breakup is given along with the GST.
    3. A link that takes the hirer to the payment gateway for payment.

Payment

  1. The hirer opens the payment link.
  2. The hirer is redirected to the payment gateweay.
  3. The hirer pays the required tariff.
  4. The payment is accepted and a receipt is shown.
  5. The payment status of the trip is marked as paid.

Driver use cases

Login

  1. During induction, a driver's phone number and name are already created by the admin.
  2. The driver enters phone number.
  3. The system checks if a driver with that phone number has been inducted.
    1. If not so, then the driver is not allowed to log in.
  4. 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.
  5. The driver's app enters the OTP into the OTP field.
    1. If the OTP generated by the system does not match the one entered by the driver, then the authentication is unsuccessful.
  6. The following things are fetched:
    1. The driver's profile: name, phone number, photo, driving license number.
    2. The truck's profile: registration number, type, capacity, photo
    3. A list of trip suggestions that are applicable for the that driver.

Get a list of applicable trips

  1. Driver gets a list of requested trip suggestions for which he/she is eligible. Each trip has the following details.
    1. Start city
    2. End city
    3. Date of start of trip
    4. Date of end of trip
    5. Tonnes of goods to carry
    6. Tariff
  2. The driver can see the details of a particular trip. the details are:
    1. The full address of the loading point
    2. The full address of the unloading point

Actively reject a trip

  1. The driver actively chooses to reject a trip.
  2. The system deletes the trip from the list of trips for that driver.

Pick a trip

  1. The driver requests assignment to a trip.
  2. If the trip is not already taken, it is assigned to him/her.
  3. The system records the assignment and sends a notification to the hirer.

Get trip confirmation

  1. The hirer of a trip chosen by the drive confirms the trip.
  2. The trip status is marked as confirmed.
  3. An SMS is sent to driver to notify confirmation of the trip.

Update trip status

  1. The driver can update the status of a trip as it progresses. Here is what he can update.
    1. Truck has reached loading point.
    2. The truck has loaded. The driver will also input the tare and gross weights.
    3. Truck has started on the route.
    4. Truck has reached unloading point.
    5. Truck has unloaded.

Admin use cases

Login

  1. Admin can log in using either phone number of email.
  2. A verification is sent based on the entry of identity. In both cases, an access token is generated.
    1. An OTP is sent if the identity is phone number.
    2. An email with verification link is sent if the identity is email.
  3. The OTP and verification token in the request are checked against the ones generated by the system.
    1. For a mismatch, authentication is denied.
  4. The admin is taken to the home page.

Add a truck

  1. The admin adds the following details about a truck
    1. Registration number
    2. Type of truck: open top, closed top, container
    3. Capacity in tonnes
    4. Photo of truck
    5. Photo of RC book
  2. If the truck with registration already exists, then the admin is asked whether to overwrite.

Add a city

  1. The admin can add the following details about a city
    1. City name
  2. If the city with the same name is already found, the the admin is asked whether to overwrite.

Add a truck type

  1. 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.

  1. Name
  2. License number
  3. License expiry date
  4. Photo
  5. 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

  1. Truck registration number
  2. Driver name
  3. Driver phone number
  4. Date leaving loading city
  5. Date reaching delivery city

Manually create a hirer

The admin enters the following fields to create a hirer

  1. Name
  2. Phone number

Assign a truck to a trip

  1. The admin assigns a truck to a trip
  2. The hirer receives an SMS for the assignment of the trip.

Confirm a trip

  1. If a hirer agrees to the truck specifications assigned to him/her, then the admin confirms the trip.
  2. Both the driver and the hirer get a confirmation with the following data:
    1. Start city
    2. End city
    3. Trip start date
trucks-for-you-revised.txt · Last modified: 2018/07/31 10:58 by hari