Use case 2 - myloginistaken/sonytech GitHub Wiki
Use Case Name:
Head waiters and waiters can register loyal customers and give out bonus cards.
Preconditions:
- The customer has exhibited a wish for a bonus card.
- The waiter has already collected the necessary information.
- The waiter has logged into the system.
Primary Actor:
- The waiter
Main Success Scenario:
- The waiter registers the client with his/her ID number, name, phone number and email address by inputting that data into a fill-out form.
- That information is saved in a database.
- The cashier prints a bonus card.
Extensions - possible alternatives of the main success scenario:
- A: That customer already has a bonus card
The cashier must check if each field except name already exists in the database. If it does, then it does not allow to go through with the registration and must display the already existing fields.