Holiday Management
The Holiday Management feature allows administrators to manage holidays for the organization, including adding, editing, and deleting holidays. This ensures that holidays are accounted for in attendance and payroll calculations.
Features
- Add/Edit Holidays:
- Create new holidays or update existing ones.
- View Holiday Calendar:
- Display holidays in a calendar view for better visualization.
- Filter Holidays:
- Filter holidays by year or type (e.g., public holidays, company holidays).
Key Actions
- Add Holidays:
- Click the + Add button to open the Add Holiday form.
- Enter the holiday name, date, and type.
- Save the holiday to add it to the list.
- Click the Edit button next to a holiday to modify its details.
- Update the necessary fields and save the changes.
- Select one or more holidays using the checkboxes.
- Click the Delete button to remove the selected holidays.
- Switch to the calendar view to see holidays visually organized by month.
Permissions
- Add Holidays: Requires holidays_create permission.
- Edit Holidays: Requires holidays_edit permission.
- Delete Holidays: Requires holidays_delete permission.
Troubleshooting
- Save Button Disabled:
- Ensure all required fields are filled in the Add/Edit form.
- Holidays Not Displayed:
- Verify that the selected year matches the available data.
- Calendar View Issues:
- Ensure the browser supports the calendar component.