You are on page 1of 7

1.

Accommodations management
c. Description:

Name of Use
Manage accommodations by admin
Case
Actor Administrator
Brief Administrator can add, read, edit, or delete any
Description accommodation that they want.
Precondition Administrator must log in the system.
Main flow Administrator The system
1. Choose the function:
accommodations
2. Display the list of function:
List of accommodations,
Statistics
3. Select functions: List of
accommodations
3.1 Display the list of
accommodations with
function: Adding
accommodations, Details,
Editing accommodations,
3.2 View and check the Deleting accommodations.
accommodation information
3.3 Select function: Adding
accommodations, Details, Editing
accommodations, Deleting
accommodations.
a. Adding accommodations
a.1 Click the button “Adding
accommodations"
a.2 Display the form to fill
out accommodation
information
a.3 Enter accommodation
information
a.4 Click the button “Save”
a.5 Validate the
accommodation
information and Display
message “Update successful”
a.6 Add a new
accommodation
information to the database
b. Editing accommodations
b.1 Select the accommodation
admin want to edit
b.2 Click the edit icon
b.3 Display the form to edit
accommodation
information
b.4 Enter accommodation
information want to change
b.5 Click the button “Save”
b.6 Validate the
accommodation
information and Display
message “Update successful”
b.7 Update new
accommodation
information to the database
c. Deleting accommodations
c.1 Select accommodation
admin want to delete
c.2 Click the delete icon
c.3 Display message “Are you
sure to delete?”
c.4. Click the button “Delete”
c.5 Delete accommodation
information from the
database
c.6 Display the new list of
accommodations
d. Details
d.1 Select accommodation
admin want to view details
d.2 Click the detail icon
d.3 Display the
d.4 View the accommodation accommodation details
details
[4. Select function: Statistics
4.1 Display the information
about statistics
4.2 View the information]

5. UC ends
Alternative Step a.5/ b.6: Update failed because of invalid input
flow The system notifies that the information entered is invalid
Admin re-enter the information
Return step a.4/ b.5 in the main flow
Special REQ-1: Province API to pull province information for
requirements accommodation Adding and Editing function.
REQ-2: Internet connectivity to make the restful service calls
to the province server.
REQ-3: Need database to store accommodation information.
REQ-4: Given invalid input a message that will display
stating invalid input.
REQ-5: If an error occurs, the system will display error
details.
Post condition The accommodation information is updated into the database

2. Payment
c. Description:

Name of Use
Payment
Case
Actor Customers
Brief This feature helps customer pay for tour booking.
Description
Preconditions Customer must log in the system.
Tour booking was confirmed.
Main Flows Customer The system
1. Click his/her cart in home
page
2. Click payment
3. Display payment form
4. Check payment information
5. Select payment methods
5.1 Display the card types
5.2 Select a card type
5.3 Display banks
5.4 Choose bank
5.5 Display the form
5.6 Enter the account number
and name of account owner
5.7 Click the button “Send”
(branch A1) 5.8 Confirm valid bank
account and enough
account balance
5.9 Display message
“Transaction successfully”

6. UC finishes
Alternative Step 5.8: Account is Invalid
Flows The system notifies account is invalid.
Return to step 5.5 of the main event so that customer re-enter
the account number and name of account owner if they want
to continue buying. If they want to stop the transaction, then
follow the event of A1 branch
A1 branch: Customer clicks button “Cancel”
The system returns home page
Special REQ-1: Internet connectivity to sent payment request.
requirements REQ-2: Need database to store payment information.
REQ-3: Given invalid input a message that will display
stating invalid input.
REQ-4: If an error occurs, the system will display error
details.
Post- Payment success.
conditions

3. Booking tour
c. Description:

Name of Use
Booking tour
Case
Actor Customer
Brief This feature allow customer to view and book tour in his/ her
Description cart.
Preconditions Customer must log in the system.
Tour was added to cart.
Main Flows Customer The system
1. Click his/her cart in home
page
2. Display the information
about tours customer
selected
3. View and check tour
information: tour name,
departure day, price, the
number of participants, and so
on.
4. Select tours customer wants
to book.
5. Click button “Booking tour”
6. Update to the database
8. UC finishes
Alternative Step 5: Customer clicks button “Cancel”.
Flows The system returns home page.
Special REQ-1: Internet connectivity to sent request of tour booking.
requirements REQ-2: Need database to store the information of tour
booking.
REQ-3: Given invalid input a message that will display
stating invalid input.
REQ-4: If an error occurs, the system will display error
details.
Post- Tour booking success.
conditions

4. Changing language
c. Description:

Name of Use
Changing language
Case
Actor Customer, Host, Administrator
Brief This feature will be used to change the current language to
Description another available language.
Precondition Users must visit the web page
Main flow Actors The system
1. Click the flag icon
2. Display the list of flags
representing countries
3. Select the flag customer
wants
4. Change all information
on the website from the
current language to another
language that customer
picked
5. UC ends

Alternative No
flows
Special REQ-1: Internet connectivity to send requires of changing
requirements language.
Post condition The website change to language that customer wants.

5. Statistics
5.1 Statistic booked tour by host
c. Description:

Name of Use
Statistic booked tour by host
Case
Actor Host
Brief This UC will enable for host to view statistics of tour
Description customer booked
Precondition Host must log in the system
Main flow Host The system
1. Click statistics booked tour
2. Display the list
information about the
booked tour
3. View and check the data

4. UC ends

Alternative No
flows
Special REQ-1: Internet connectivity to send requires of statistic
requirements booked tour
Post condition Host view and check the statistics of the booked tour

5.2 Statistic new user registration/ tour book for a day


c. Description:

Name of Use
Statistic new user registration/tour booking for a day
Case
Actor Admin
Brief Admin can view statistic of new user registration/tour
Description booking for a day
Precondition Admin must log in the system
Main flow Admin The system
1. Click statistics new user
registration/tour booking for a
day 2. Display the list
information about new user
registration/tour booking
3. View and check the data

4. UC ends

Alternative No
flows
Special REQ-1: Internet connectivity to send requires of statistic new
requirements user registration/tour booking
Post condition Admin view and check the statistics of the new user
registration/tour booking

5.3 Statistic dashboard


c. Description:

Name of Use
Statistics dashboard
Case
Actor Admin, Host
Brief Admin, Host can view statistics about revenue, the number of
Description tour booking, and the sales chart.
Precondition Actor must log in the system
Main flow Actor The system
1. Click statistics dashboard
2. Display the list
information about revenue,
the number of tour
booking, and the sales chart
in month
3. View and check the data

4. UC ends

Alternative No
flows
Special REQ-1: Internet connectivity to send requires of statistic
requirements dashboard
Post condition Actor view and check the statistics of the booked tour

You might also like