diff --git a/core-ext/common.cron.tasks.ext.php b/core-ext/common.cron.tasks.ext.php index a8143662..fc15965e 100644 --- a/core-ext/common.cron.tasks.ext.php +++ b/core-ext/common.cron.tasks.ext.php @@ -1 +1,3 @@ - \ No newline at end of file diff --git a/ext/admin/salary/api/SalaryAdminManager.php b/ext/admin/salary/api/SalaryAdminManager.php index 2afc90f7..ce18803f 100644 --- a/ext/admin/salary/api/SalaryAdminManager.php +++ b/ext/admin/salary/api/SalaryAdminManager.php @@ -51,33 +51,6 @@ if (!class_exists('SalaryComponent')) { } } -if (!class_exists('Deduction')) { - class Deduction extends ICEHRM_Record { - var $_table = 'Deductions'; - - public function getAdminAccess(){ - return array("get","element","save","delete"); - } - - public function getUserAccess(){ - return array("get","element"); - } - } -} - -if (!class_exists('DeductionGroup')) { - class DeductionGroup extends ICEHRM_Record { - var $_table = 'DeductionGroup'; - - public function getAdminAccess(){ - return array("get","element","save","delete"); - } - - public function getUserAccess(){ - return array("get","element"); - } - } -} if (!class_exists('PayrollEmployee')) { class PayrollEmployee extends ICEHRM_Record { diff --git a/ext/admin/salary/index.php b/ext/admin/salary/index.php index 576d126b..36c10152 100644 --- a/ext/admin/salary/index.php +++ b/ext/admin/salary/index.php @@ -9,9 +9,6 @@ $moduleBuilder = new ModuleBuilder(); $moduleBuilder->addModuleOrGroup(new ModuleTab('SalaryComponentType','SalaryComponentType','Salary Component Types','SalaryComponentTypeAdapter','','',true)); $moduleBuilder->addModuleOrGroup(new ModuleTab('SalaryComponent','SalaryComponent','Salary Components','SalaryComponentAdapter','','')); -$moduleBuilder->addModuleOrGroup(new ModuleTab('DeductionGroup','DeductionGroup','Calculation Groups','DeductionGroupAdapter','','')); -$moduleBuilder->addModuleOrGroup(new ModuleTab('Deduction','Deduction','Calculation Methods','DeductionAdapter','','')); - $moduleBuilder->addModuleOrGroup(new ModuleTab('EmployeeSalary','EmployeeSalary','Employee Salary Components','EmployeeSalaryAdapter','','',false,array("setRemoteTable"=>"true")));