prakshalt / Leave-management-system-GUI

A simple leave management system using python
5 stars 2 forks source link

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

Open Simren13 opened 1 week ago

Simren13 commented 1 week ago

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:

  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 commented 1 week ago

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