Repository: https://github.com/Jamco04/CS4013-Software-Development-Project/tree/main
- Contains: Source Code, CSV files (Salaries, SampleEmployees), JavaDoc Documentation, CRC Cards, UML Class Diagram, Contributions File, and this ReadMe/HelpFile
This HelpFile provides an overview of the Payroll System functionalities.
Note: For testing, ensure you adjust the conditions (October, 25, isAfter).
This application provides a Command-Line Interface (CLI) for performing payroll operations based on different roles: Admin, HR, and Employee.
-
Run the Application
- Execute the
RunCLIclass to start the application.
- Execute the
-
Select Your Role
- Choose your role:
"Admin","HR", or"Employee".
- Choose your role:
-
Admin Login
- Enter the Admin password:
admin123. - You have 3 login attempts.
- Enter the Admin password:
-
Admin Menu Options
- 1) Add Staff
Add new employees to the payroll system. - 2) View Staff
Display a list of all employees.
A CSV file of the employee list will also be generated in theoutputfolder. - 3) Generate Payslips
- Generate payslips for full-time employees based on their salary.
- Generate payslips for part-time employees with valid pay claims, based on their hourly rate and hours worked.
- 4) Logout
Log out of the Admin account and exit the menu. - 5) Load Sample Employees
Populate the system with sample employees for testing purposes.
- 1) Add Staff
-
HR Login
- Enter the HR password:
hr123. - You have 3 login attempts.
- Enter the HR password:
-
HR Menu Options
- 1) Perform Annual Promotion (Full-Time)
Promote eligible full-time employees annually in October. - 2) Promote to New Salary Scale (Full-Time)
- Promote full-time employees to a new salary scale (with a new title).
- The new scale point is based on the number of years spent at the highest scale point of the previous scale.
- 3) Promote to Next Scale Point (Part-Time)
Promote part-time employees to their next scale point. - 4) Logout
Log out of the HR account and exit the menu.
- 1) Perform Annual Promotion (Full-Time)
-
Employee Login
- Enter the employee unique ID (employee has to exist in the system).
- Enter the employee's password (created when registering employee).
- You have 3 login attempts.
-
Employee Menu Options
- 1) View Details
Display the personal details of the logged-in employee. - 2) View Payslips
View payslips associated with the logged-in employee. - 3) Submit Pay Claim
Part-time employees can submit pay claims by specifying hours worked. - 4) Logout
Log out of the Employee account and exit the menu.
- 1) View Details
- GUI Implementation
The GUI is currently under development.
To load the initial scene (assuming correct JavaFX configuration), run theGUIclass.
Enjoy using the Payroll System!