sknt11 / Orion-soen341projectW2024

0 stars 0 forks source link

US-7: Find Branch #33

Closed sknt11 closed 7 months ago

sknt11 commented 8 months ago

User Story Description

As a customer, I want to be able to find the nearest branch so that I can easily rent a car.

User Acceptance Flow

User Selects the option to find branch
Prompt the user to enter preferred branch location
Display available branches that match the user's criteria.

Acceptance Criteria

matiakc commented 7 months ago

US7 Activity diagram

matiakc commented 7 months ago

US7 Sequence Diagram

matiakc commented 7 months ago

Firstly, the user either signs in or logs in to the authentication route. Once the user is logged in, the user may search for branches. Note that the user can only search for branches once he is logged into the system. Once the user selects a branch, the branch selected by the user has corresponding cars available to it, so when the user searches for a car, the branch performs the search in its own catalogue using branchID. Next, from the displayed search, the user selects the vehicle he desires. Once the vehicle is selected, the branch checks the details of the car and then sends the data to the user. The user then picks a rental by giving a period that he wishes to have the car for. The selected car must then check in the reservations database whether the exists a reservation for that car at the selected time, and if there doesn’t exist one, the user is free to book that car. The user then can confirm the booking by creating a reservation. Once the reservation is booked, the user provides payment information to the branch, and once the payment passes, the branch sends the user a confirmation of the reservation (through email).

khaledrezgui commented 7 months ago

Feature implemented in sprint 3 with help of safaa.