You should have received a copy of the GNU General Public License along with iCE Hrm. If not, see <http://www.gnu.org/licenses/>. ------------------------------------------------------------------ Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd] Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah) */ $moduleName = 'travel'; define('MODULE_PATH', dirname(__FILE__)); include APP_BASE_PATH . 'header.php'; include APP_BASE_PATH . 'modulejslibs.inc.php'; $options = array(); $options['setRemoteTable'] = 'true'; $moduleBuilder = new ModuleBuilder(); $moduleBuilder->addModuleOrGroup(new ModuleTab('EmployeeTravelRecord', 'EmployeeTravelRecord', 'Travel Requests', 'EmployeeTravelRecordAdapter', '', '', true, $options)); echo UIManager::getInstance()->renderModule($moduleBuilder); $itemName = 'TravelRequest'; $moduleName = 'Travel Management'; $itemNameLower = strtolower($itemName); $statuses = array("Approved", "Pending", "Rejected", "Cancelled"); ?> <div class="modal" id="<?php echo $itemNameLower; ?> StatusModel" tabindex="-1" role="dialog" aria-labelledby="messageModelLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"><li class="fa fa-times"/></button> <h3 style="font-size: 17px;">Change <?php
<?php $moduleName = 'metadata'; define('MODULE_PATH', dirname(__FILE__)); include APP_BASE_PATH . 'header.php'; include APP_BASE_PATH . 'modulejslibs.inc.php'; $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('EmployeeSalary','EmployeeSalary','Employee Salary','EmployeeSalaryAdapter','','',false,array("setRemoteTable"=>"true")));*/ $moduleBuilder->addModuleOrGroup(new ModuleTab('EmployeeSalaryPayslip', 'EmployeeSalary', 'Employee Salary Payslip', 'EmployeePayslipAdapter', '', '', true, array("setRemoteTable" => "true"))); echo UIManager::getInstance()->renderModule($moduleBuilder); include APP_BASE_PATH . 'footer.php';
it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Ice Framework is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Ice Framework. If not, see <http://www.gnu.org/licenses/>. ------------------------------------------------------------------ Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd] Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah) */ $moduleName = 'metadata'; define('MODULE_PATH', dirname(__FILE__)); include APP_BASE_PATH . 'header.php'; include APP_BASE_PATH . 'modulejslibs.inc.php'; $moduleBuilder = new ModuleBuilder(); $moduleBuilder->addModuleOrGroup(new ModuleTab('Country', 'Country', 'Countries', 'CountryAdapter', '', '', true)); $moduleBuilder->addModuleOrGroup(new ModuleTab('Province', 'Province', 'Provinces', 'ProvinceAdapter', '', '')); $moduleBuilder->addModuleOrGroup(new ModuleTab('CurrencyType', 'CurrencyType', 'Currency Types', 'CurrencyTypeAdapter', '', '')); $moduleBuilder->addModuleOrGroup(new ModuleTab('Nationality', 'Nationality', 'Nationality', 'NationalityAdapter', '', '')); $moduleBuilder->addModuleOrGroup(new ModuleTab('Nationality', 'Nationality', 'Nationality', 'NationalityAdapter', '', '')); $moduleBuilder->addModuleOrGroup(new ModuleTab('Ethnicity', 'Ethnicity', 'Ethnicity', 'EthnicityAdapter', '', '')); $moduleBuilder->addModuleOrGroup(new ModuleTab('ImmigrationStatus', 'ImmigrationStatus', 'Immigration Status', 'ImmigrationStatusAdapter', '', '')); echo UIManager::getInstance()->renderModule($moduleBuilder); include APP_BASE_PATH . 'footer.php';
<?php $moduleName = 'metadata'; define('MODULE_PATH', dirname(__FILE__)); include APP_BASE_PATH . 'header.php'; include APP_BASE_PATH . 'modulejslibs.inc.php'; $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('EmployeeSalary', 'EmployeeSalary', 'Employee Salary', 'EmployeeSalaryAdapter', '', '', false, array("setRemoteTable" => "true"))); echo UIManager::getInstance()->renderModule($moduleBuilder); include APP_BASE_PATH . 'footer.php';
along with iCE Hrm. If not, see <http://www.gnu.org/licenses/>. ------------------------------------------------------------------ Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd] Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah) */ $moduleName = 'leaves'; define('MODULE_PATH', dirname(__FILE__)); include APP_BASE_PATH . 'header.php'; include APP_BASE_PATH . 'modulejslibs.inc.php'; $moduleBuilder = new ModuleBuilder(); $options1 = array(); $options1['setRemoteTable'] = 'true'; //$moduleBuilder->addModuleOrGroup(new ModuleTab('LeavePeriod','LeavePeriod','Leave Period','LeavePeriodAdapter','','')); $moduleBuilder->addModuleOrGroup(new ModuleTab('WorkDay', 'WorkDay', 'Work Week', 'WorkDayAdapter', '', '', true)); $moduleBuilder->addModuleOrGroup(new ModuleTab('HoliDay', 'HoliDay', 'Holidays', 'HoliDayAdapter', '', '', false, $options1)); $moduleBuilder->addModuleOrGroup(new ModuleTab('LeaveType', 'LeaveType', 'Leave Types', 'LeaveTypeAdapter', '', '', false)); //$moduleBuilder->addModuleOrGroup(new ModuleTab('LeaveRule','LeaveRule','Leave Rules','LeaveType','','')); //$moduleBuilder->addModuleOrGroup(new ModuleTab('LeaveStartingBalance','LeaveStartingBalance','Paid Time Off','LeaveStartingBalanceAdapter','','')); //$moduleGroup1 = new ModuleTabGroup('leaveGroupMenu','Leave Groups'); //$moduleGroup1->addModuleTab(new ModuleTab('LeaveGroup','LeaveGroup','Edit Leave Groups','LeaveGroupAdapter','','')); //$moduleGroup1->addModuleTab(new ModuleTab('LeaveGroupEmployee','LeaveGroupEmployee','Leave Group Employees','LeaveGroupEmployeeAdapter','','leave_group')); //$moduleBuilder->addModuleOrGroup($moduleGroup1); $options2 = array(); $options2['setRemoteTable'] = 'true'; $options2['setShowAddNew'] = 'false'; $moduleBuilder->addModuleOrGroup(new ModuleTab('EmployeeLeave', 'EmployeeLeave', 'Employee Leave List', 'EmployeeLeaveAdapter', '', 'date_start desc', false, $options2)); echo UIManager::getInstance()->renderModule($moduleBuilder); ?>