Employees Management
This module is central to managing your workforce, allowing you to add, view, edit, and remove employee records.
Overview
The Employee Management system lets you maintain detailed records for each employee, including personal information, contact details, job specifics, and status. This information is crucial for payroll and HR functions.
Managing Employees
Follow these steps and guidelines to manage employee records:
1. Search Employees
Use the main search bar at the top to quickly find employees by name, employee ID, or potentially other fields included in the search logic.
2. Add or Edit an Employee
Click the "Add New" button () to create a new employee record, or the Edit icon () in the table to modify an existing one. A modal window will appear with the following fields:
- First Name: Required.
- Last Name: Required.
- Mother Name: Required.
- Birthdate: Required.
- Email: Required, must be a valid email.
- Phone Number: Required.
- Address: Required.
- Salary: Required.
- Type Salary: Select "Salaried Employee" or "Daily Employee". Required.
- Date Hired: Required.
- Department: Select from the list of available departments. Required.
- Title: Job title. Required.
- Immatricule CNSS: CNSS registration number. Required.
- Gender: Select Male or Female. Required.
- Citizenship: Required.
- Notes: Optional additional notes.
- Avatar: Optional photo upload.
Click "Create" or "Update" to save the employee details.
3. Review Employee List
The main table displays the list of employees. You can:
- Sort Data: Click on column headers (Employee ID, Name, Salary, Status) to sort the table.
- View Status: See the employee's current status (e.g., Active, Inactive) indicated by a colored badge.
- View Details: Click the View icon () to open a modal with read-only details and the employee's avatar.
- Control Entries: Use the dropdown above the table to change how many records are shown per page (15, 25, 50, 100).
4. Delete an Employee
Click the trash can icon () in the table row. You will be asked to confirm the deletion. If confirmed, the employee record and all associated data will be permanently removed.