Fix salary module issues
This commit is contained in:
@@ -1 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
|
//Nothing here
|
||||||
|
?>
|
||||||
@@ -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')) {
|
if (!class_exists('PayrollEmployee')) {
|
||||||
class PayrollEmployee extends ICEHRM_Record {
|
class PayrollEmployee extends ICEHRM_Record {
|
||||||
|
|||||||
@@ -9,9 +9,6 @@ $moduleBuilder = new ModuleBuilder();
|
|||||||
|
|
||||||
$moduleBuilder->addModuleOrGroup(new ModuleTab('SalaryComponentType','SalaryComponentType','Salary Component Types','SalaryComponentTypeAdapter','','',true));
|
$moduleBuilder->addModuleOrGroup(new ModuleTab('SalaryComponentType','SalaryComponentType','Salary Component Types','SalaryComponentTypeAdapter','','',true));
|
||||||
$moduleBuilder->addModuleOrGroup(new ModuleTab('SalaryComponent','SalaryComponent','Salary Components','SalaryComponentAdapter','',''));
|
$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")));
|
$moduleBuilder->addModuleOrGroup(new ModuleTab('EmployeeSalary','EmployeeSalary','Employee Salary Components','EmployeeSalaryAdapter','','',false,array("setRemoteTable"=>"true")));
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user