Add latest changes from icehrm pro
This commit is contained in:
@@ -35,4 +35,14 @@ class OvertimeAdminManager extends AbstractModuleManager
|
||||
$this->addModelClass('EmployeeOvertime');
|
||||
$this->addModelClass('EmployeeOvertimeApproval');
|
||||
}
|
||||
|
||||
public function initCalculationHooks()
|
||||
{
|
||||
$this->addCalculationHook(
|
||||
'OvertimePayrollUtils_getApprovedTimeInRequests',
|
||||
'Total Hours from Approved Overtime Requests',
|
||||
OvertimePayrollUtils::class,
|
||||
'getApprovedTimeInRequests'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user