aa21853a65
<SRS> SRS02 : Employee Management </SRS> <Changes> - Removed getSelectedUserId() from FinanceExecutiveMenu - Added reusable selectEmployeeId() in MenuHelper - Simplified deactivateEmployee() using common selection logic - Fixed missing break in HRManagerMenu </Changes> <Review> Smitha Mohan </Review>
19 lines
369 B
C++
19 lines
369 B
C++
#pragma once
|
|
#include<memory>
|
|
#include<iostream>
|
|
#include<stdexcept>
|
|
#include <iomanip>
|
|
#include"ZenvyController.h"
|
|
|
|
class FinanceExecutiveMenu
|
|
{
|
|
private:
|
|
std::shared_ptr<ZenvyController> m_zenvyController;
|
|
public:
|
|
FinanceExecutiveMenu() : m_zenvyController(std::make_shared<ZenvyController>()) {};
|
|
void run();
|
|
bool handleOperation(int);
|
|
void updatePayroll();
|
|
};
|
|
|