Class CashierController

java.lang.Object
team75.controller.CashierController

public class CashierController extends Object
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 Details

    • CashierController

      public CashierController()
      This constructor should never be called
  • Method Details

    • initEmployee

      public void initEmployee(DB.Employee employee)
      Sets the currently logged-in employee and displays their name in the interface.
      Parameters:
      employee - the employee object containing employee details