Question: You are tasked with implementing an Employee Leave Management System using Python and Tkinter. The system should allow employees to log in and apply for
You are tasked with implementing an Employee Leave Management System using Python and Tkinter. The system should allow employees to log in and apply for annual or sick leave.
The program should have the following functionality:
Create a multidimensional list containing employee details username password, annual leave days, sick leave days
Create a login window allowing users to log into the system.
After a successful login the system should display the employee's available annual and sick leave days.
The employee should be able to apply for leave by:
Choosing between Annual Leave or Sick Leave.
Selecting the number of leave days between and
If sick leave is selected, allow the employee to specify if it is a Planned Hospitalisation or Unplanned Hospitalisation using a dropdown combobox
If more than one day of sick leave is selected, display a message prompting for a medical note.
Ensure that the employee cannot apply for more leave days than they have available. Display an appropriate message if the leave application is successful or if there are insufficient leave days.
Include the option to logout which should return the user to the login window.
Ensure the windows are centered on the screen.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
