Add latest changes from icehrm pro

This commit is contained in:
gamonoid
2018-05-21 00:23:56 +02:00
parent 9c56b8acd1
commit 861e94cf9d
1375 changed files with 175006 additions and 2662 deletions

View File

@@ -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'
);
}
}