Approvals
This module enables managers to approve or reject leave requests and expense requests from the mobile app.
Features
- Leave Request Approvals: View and approve or reject leave requests from employees reporting to the manager
- Expense Request Approvals: View and approve or reject expense claims from employees reporting to the manager
- Status Filtering: Filter requests by status (pending, approved, rejected)
- Mobile-Only Module: Designed as an API-only module for use in the Employee mobile app
Requirements
- Open Core Business Suite (Base System)
Installation
Enable via Admin Panel
- Log in as administrator
- Navigate to Settings > Addons
- Find Approvals and click Enable
- Run migrations if prompted
Enable via Command Line
php artisan module:enable Approvals
php artisan migrate
Usage
Leave Request Approvals
Managers can review leave requests from employees who report to them:
- View all leave requests with type, dates, status, and requester name
- Filter by status (pending, approved, rejected)
- Approve or reject requests with optional comments
- Approved requests automatically update the employee's leave balance
Expense Request Approvals
Managers can review expense claims from their team:
- View all expense requests with type, amount, date, and requester name
- Filter by status and date
- Approve with an optional approved amount (can differ from requested amount)
- Reject with optional comments
How It Works
This module is a mobile-only API module with no web interface. It provides API endpoints used by the Employee mobile app to allow managers to act on pending requests from their direct reports. The module identifies subordinates by checking which employees have the logged-in user set as their reporting_to_id.
Changelog: View version history