This is a desktop Employee Management Center built with Python (PyQt) for the user interface and MongoDB Atlas as the main database. It manages employee records, authentication, audit logs, and report generation.
Authentication & Login
Login Window: Employees (or admins) log in with a username and password.
Admin Enforcement: On first run, the system ensures an admin account exists. If not, it forces the creation of one.
Account Creation: Admins can create new employee accounts with or without admin privileges.
Employee Database (MongoDB)
EmployeeDB Class: Handles all employee records.
Insert / Update: Employees can be added or updated by their unique internal ID.
Delete: Admins can remove employees by ID.
Filtering: Employees can be filtered by Department, Workstation, Shift Batch, or by text search across all fields.
Order Preservation: Records are stored and displayed in the exact order of fields defined in the UI.
Audit Logging