1e8fd2829f
Changes: - Added name parameter to createTechnician for consistency - Added function headers for notification-related methods in InventoryManagementService - Used variables for notification title and message instead of passing strings directly - Fixed payment reminder notification message formatting - Moved common helper functions to MenuHelper.h - Updated CustomerMenu to use shared helper functions instead of duplicate code - Added missing includes in MenuHelper.h - Removed redundant helper code from CustomerMenu.cpp - Minor formatting and comment cleanup
32 lines
786 B
C++
32 lines
786 B
C++
/*
|
|
File: CustomerMenu.h
|
|
Description: Header file declaring the CustomerMenu class, which provides
|
|
customer operations such as selecting services, booking combo
|
|
packages, updating profile details, managing payments, viewing
|
|
invoices, and configuring notifications.
|
|
Author: Trenser
|
|
Date:19-May-2026
|
|
*/
|
|
|
|
#pragma once
|
|
#include "Controller.h"
|
|
|
|
class CustomerMenu
|
|
{
|
|
private:
|
|
Controller m_controller;
|
|
bool handleOperation(int choice);
|
|
public:
|
|
void showMenu();
|
|
void logout();
|
|
void changePassword();
|
|
void updateDetails();
|
|
void selectService();
|
|
void selectComboPackage();
|
|
void viewServiceHistory();
|
|
void completePayments();
|
|
void viewInvoices();
|
|
void viewNotifications();
|
|
void configureNotifications();
|
|
};
|