Payroll
This module enables payroll management. Optionally integrates with LoanManagement for automatic loan repayment deductions.
Features
- Salary Structures - Define flexible salary structures with multiple components
- Payslip Generation - Automated payslip generation with detailed breakdowns
- Allowances & Deductions - Configure various allowances and deductions
- Tax Calculations - Built-in tax calculation support
- Payroll Reports - Comprehensive payroll reporting and analytics
Requirements
- Open Core Business Suite v5.0+
- PHP 8.2+
Optional Dependencies
| Module | Purpose |
|---|---|
| LoanManagement | Automatic loan repayment deductions |
Installation
Enable via Admin Panel
- Log in as administrator
- Navigate to Settings > Addons
- Find Payroll and click Enable
- Run migrations if prompted
Enable via Command Line
php artisan module:enable Payroll
php artisan migrate
Usage
Dashboard
Navigate to Payroll > Dashboard for an overview of payroll status, recent runs, and key payroll metrics.
All Records
Navigate to Payroll > All Records to view, generate, and manage payslips:
- Select the pay period
- Choose employees or departments
- Review calculated amounts
- Click Generate to create payslips
Components
Navigate to Payroll > Components to configure salary components such as:
- Basic salary
- Allowances (housing, transport, etc.)
- Other earning types
Each component can be configured with a name, description, calculation method (fixed/percentage), and applicable employee groups.
Modifiers
Navigate to Payroll > Modifiers to configure deduction types such as:
- Tax deductions
- Insurance premiums
- Loan repayments (with LoanManagement module)
Salary Structures
Navigate to Payroll > Salary Structures to define flexible salary structures:
- Click Add New Structure
- Assign components and modifiers to the structure
- Define calculation rules
- Save the structure
Reports
Access payroll reports from Payroll > Reports:
- Payroll Register - Detailed record of all payroll transactions
- Department Summary - Payroll totals broken down by department
- Tax Summary - Tax deductions and liabilities overview
- Employee History - Individual employee payroll history over time
Settings
Configure payroll settings in Payroll > Settings:
- General Settings - Payroll prefix, default pay period (weekly, bi-weekly, monthly), payroll start/end day, pay date offset
- Calculation Settings - Working days per month for daily salary calculations
- Unpaid Leave (LOP) Settings - Enable/disable LOP deduction, calculation method (working days, calendar days, actual working days), rounding options, weekend/holiday inclusion
- Feature Settings - Enable/disable expense reimbursement in payroll, enable/disable automatic loan deductions
Changelog: View version history