Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a login window allowing users to log into the system. #1

Open
Simren13 opened this issue Nov 19, 2024 · 1 comment
Open

Create a login window allowing users to log into the system. #1

Simren13 opened this issue Nov 19, 2024 · 1 comment

Comments

@Simren13
Copy link

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:

  1.  Create a multi-dimensional list containing employee details (username, password, annual leave days, sick leave days).
    
  2.  Create a login window allowing users to log into the system.
    
  3.  After a successful login, the system should display the employee's available annual and sick leave days.
    
  4.  The employee should be able to apply for leave by:
    
  •   Choosing between Annual Leave or Sick Leave.
    
  •   Selecting the number of leave days (between 1 and 10).
    
  •   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.
    
  1.  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.
    
  2.  Include the option to logout, which should return the user to the login window.
    
  3.  Ensure the windows are centered on the screen.
    
@Simren13
Copy link
Author

Create a login window allowing users to log into the system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant