Class CashierController
java.lang.Object
team75.controller.CashierController
Controller for the cashier interface.
Manages the order placement functionality, allowing cashiers to select menu items,
add toppings/add-ons, view the current order, and submit orders to the database.
Displays menu items organized by category (classic drinks, fruit drinks, food)
with a real-time order summary.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitEmployee(DB.Employee employee) Sets the currently logged-in employee and displays their name in the interface.
-
Constructor Details
-
CashierController
public CashierController()This constructor should never be called
-
-
Method Details
-
initEmployee
Sets the currently logged-in employee and displays their name in the interface.- Parameters:
employee- the employee object containing employee details
-