Leave Management

The Leave Management feature allows administrators to manage leave requests submitted by staff members, including approving, rejecting, and tracking leave records.


Features

  • View Leave Requests:
    • View all leave requests, including pending, approved, and rejected requests.
  • Approve/Reject Leave Requests:
    • Take action on pending leave requests directly from the table.
  • Filter Leave Requests:
    • Filter leave requests by staff member, department, or leave type.
  • Add Leave Requests:
    • Add leave requests on behalf of staff members.
  • Leave Balances:
    • View leave balances for individual staff members.

Key Actions

  1. View Leave Requests:
  • Navigate to the leave management page to view all leave requests.
  • Use the tabs to switch between pending, approved, and rejected requests.
Approve/Reject Leave Requests:
  • Click the Approve or Reject button next to a leave request to take action.
  • Add optional comments when approving or rejecting a request.
Add Leave Requests:
  • Click the + Add button to open the Add Leave form.
  • Fill in the required details, such as staff member, leave type, start date, and end date.
  • Save the leave request to add it to the system.
Filter Leave Requests:
  • Use the dropdown menus to filter leave requests by department, leave type, or staff member.
  • Apply filters to narrow down the list of requests.
View Leave Balances:
  • Click on a staff member's name to view their leave balance and leave history.

Permissions

  • View Leave Requests: Requires leaves_view permission.
  • Approve/Reject Leave Requests: Requires leaves_approve_reject permission.
  • Add Leave Requests: Requires leaves_create permission.

Troubleshooting

  • Missing Leave Requests:
    • Ensure the selected filters match the available data.
  • Approval/Reject Button Disabled:
    • Verify that the leave request is in a pending state.
  • Leave Balances Not Displayed:
    • Ensure the staff member has leave policies assigned in the system.