Module Lunchify

Class ChangeReimbursementController

java.lang.Object
jku.se.Controller.ChangeReimbursementController

public class ChangeReimbursementController extends Object
Controller class for managing the reimbursement rates of invoice categories (e.g., restaurant, supermarket). Allows an admin to view and update the refund amounts for each category.
  • Constructor Details

    • ChangeReimbursementController

      public ChangeReimbursementController()
  • Method Details

    • initialize

      public void initialize()
      Initializes the controller and pre-fills the text fields with current refund values.
    • handleSave

      public void handleSave()
      Handles the logic to save changes made to the refund values. Validates the input and sets the custom refund amounts for both categories.