Add An Order
This module implies that a wake-up call is an extra cost. However, this is not the case. A wake-up call is a free service provided by Hotel 451. In addition, some function should exist to notify employees of which rooms require wake-up calls and the associated wake-up time.
- Calls:
- Get room number
- Get order time
- Get order date
- Get delivery time
- Get delivery date
- Get item number
- Get number of items ordered
- Get employee ID
- Get comments
- Calling sequence:
- Get room number
- Get order time
- Get order date
- Get delivery time
- Get delivery date
- Get service item number
- Get number of items ordered
- Get employee ID
- Get comments
- Output:
- food order - instance to be updated in data store
"Fees"
- movie order - instance to be updated in data store
"Fees"
- wake-up order - instance to be updated in data store
"Fees"
- Status message to user
- Description:
- Adds an item to invoice's food order, movie order,
or wake-up order. Adds the cost of the item to the
present total. It returns an status message to
the user (successful/unsuccessful).