Export Excel in master screen

This commit is contained in:
venbatechnologies@gmail.com 2017-11-20 17:48:03 +05:30
parent bf0739f958
commit eeff437698
9 changed files with 164 additions and 171 deletions

View File

@ -458,29 +458,27 @@ class CostCenter extends BaseController
$this->excel->getActiveSheet()->setCellValue('G3', 'RESICO INDUSTRIES Cost Master');
$this->excel->getActiveSheet()->setCellValue('B5', 'S.No');
$this->excel->getActiveSheet()->setCellValue('C5', 'CostCenterCode');
$this->excel->getActiveSheet()->setCellValue('D5', 'CostCenterName');
$this->excel->getActiveSheet()->setCellValue('E5', 'CAPITAL');
$this->excel->getActiveSheet()->setCellValue('F5', 'REVENUE');
$this->excel->getActiveSheet()->setCellValue('G5', 'IMPORT');
$this->excel->getActiveSheet()->setCellValue('H5', 'SERVICE');
$this->excel->getActiveSheet()->setCellValue('I5', 'BudgetYear');
$this->excel->getActiveSheet()->setCellValue('J5', 'DepartmentName');
$this->excel->getActiveSheet()->setCellValue('K5', 'IsActive');
$this->excel->getActiveSheet()->setCellValue('C5', 'S.No');
$this->excel->getActiveSheet()->setCellValue('D5', 'CostCenterCode');
$this->excel->getActiveSheet()->setCellValue('E5', 'CostCenterName');
$this->excel->getActiveSheet()->setCellValue('F5', 'CAPITAL');
$this->excel->getActiveSheet()->setCellValue('G5', 'REVENUE');
$this->excel->getActiveSheet()->setCellValue('H5', 'IMPORT');
$this->excel->getActiveSheet()->setCellValue('I5', 'SERVICE');
$this->excel->getActiveSheet()->setCellValue('J5', 'BudgetYear');
$this->excel->getActiveSheet()->setCellValue('K5', 'DepartmentName');
$this->excel->getActiveSheet()->setCellValue('L5', 'IsActive');
//$this->excel->getActiveSheet()->setCellValue('K5', 'Remarks');
$this->excel->getActiveSheet()->setCellValue('L5', 'CreatedBy');
$this->excel->getActiveSheet()->setCellValue('M5', 'UpdatedBy');
$this->excel->getActiveSheet()->setCellValue('N5', 'IsApproved');
$this->excel->getActiveSheet()->setCellValue('O5', 'ApprovedBy');
$this->excel->getActiveSheet()->setCellValue('M5', 'CreatedBy');
$this->excel->getActiveSheet()->setCellValue('N5', 'UpdatedBy');
$this->excel->getActiveSheet()->setCellValue('O5', 'IsApproved');
$this->excel->getActiveSheet()->setCellValue('P5', 'ApprovedBy');
$this->excel->getActiveSheet()->getStyle('G3')->getFont()->setSize(14);
$this->excel->getActiveSheet()->getStyle('G3')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('B5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('B5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setSize(12);
@ -507,10 +505,10 @@ class CostCenter extends BaseController
$this->excel->getActiveSheet()->getStyle('N5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setBold(true);
// $this->excel->getActiveSheet()->getStyle('P5')->getFont()->setSize(12);
// $this->excel->getActiveSheet()->getStyle('P5')->getFont()->setBold(true);
// $this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setSize(12);
// $this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setBold(true);
//$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setSize(12);
//$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setBold(true);
@ -522,22 +520,22 @@ class CostCenter extends BaseController
$s = 1;
foreach ($exportData as $data) {
$this->excel->getActiveSheet()->setCellValue('B'. $i,$s);
$this->excel->getActiveSheet()->setCellValue('C'. $i,$s);
//$this->excel->getActiveSheet()->setCellValue('C'. $i,$data['AssetCode']);
$this->excel->getActiveSheet()->setCellValue('C'. $i,$data['CostCenterCode']);
$this->excel->getActiveSheet()->setCellValue('D'. $i,$data['CostCenterName']);
$this->excel->getActiveSheet()->setCellValue('E'. $i,$data['capital']);
$this->excel->getActiveSheet()->setCellValue('F'. $i,$data['revenue']);
$this->excel->getActiveSheet()->setCellValue('G'. $i,$data['import']);
$this->excel->getActiveSheet()->setCellValue('H'. $i,$data['service']);
$this->excel->getActiveSheet()->setCellValue('I'. $i,$data['BudgetYear']);
$this->excel->getActiveSheet()->setCellValue('J'. $i,$data['DepartmentName']);
$this->excel->getActiveSheet()->setCellValue('K'. $i,$data['IsActive']);
$this->excel->getActiveSheet()->setCellValue('D'. $i,$data['CostCenterCode']);
$this->excel->getActiveSheet()->setCellValue('E'. $i,$data['CostCenterName']);
$this->excel->getActiveSheet()->setCellValue('F'. $i,$data['capital']);
$this->excel->getActiveSheet()->setCellValue('G'. $i,$data['revenue']);
$this->excel->getActiveSheet()->setCellValue('H'. $i,$data['import']);
$this->excel->getActiveSheet()->setCellValue('I'. $i,$data['service']);
$this->excel->getActiveSheet()->setCellValue('J'. $i,$data['BudgetYear']);
$this->excel->getActiveSheet()->setCellValue('K'. $i,$data['DepartmentName']);
$this->excel->getActiveSheet()->setCellValue('L'. $i,$data['IsActive']);
//$this->excel->getActiveSheet()->setCellValue('K'. $i,$data['Remarks']);
$this->excel->getActiveSheet()->setCellValue('L'. $i,$data['firstname']);
$this->excel->getActiveSheet()->setCellValue('M'. $i,$data['Updated_By']);
$this->excel->getActiveSheet()->setCellValue('N'. $i,$data['IsApproved']);
$this->excel->getActiveSheet()->setCellValue('O'. $i,$data['firstname']);
$this->excel->getActiveSheet()->setCellValue('M'. $i,$data['firstname']);
$this->excel->getActiveSheet()->setCellValue('N'. $i,$data['Updated_By']);
$this->excel->getActiveSheet()->setCellValue('O'. $i,$data['IsApproved']);
$this->excel->getActiveSheet()->setCellValue('P'. $i,$data['firstname']);

View File

@ -18,7 +18,7 @@ class assetdetails extends BaseController
{
parent::__construct();
$this->load->model('assetdetails_model');
$this->load->library('form_validation');
$this->load->library('form_validation');
$this->isLoggedIn();
}
/**

View File

@ -190,46 +190,50 @@ class department extends BaseController
function export_departmentdetails(){
$this->load->library('excel');
$this->excel->setActiveSheetIndex(0);
$this->load->library('excel');
$this->excel->setActiveSheetIndex(0)->mergeCells('C3:H3');
$this->excel->setActiveSheetIndex(0)->getStyle('C3')->getAlignment()->applyFromArray(
array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,)
);
$this->excel->getActiveSheet()->setTitle('Department Details');
$this->excel->getActiveSheet()->setTitle('Department Details');
$this->excel->getActiveSheet()->setCellValue('A1', 'Department ID');
$this->excel->getActiveSheet()->setCellValue('B1', 'Department Name');
$this->excel->getActiveSheet()->setCellValue('C1', 'Head Deptment ID');
$this->excel->getActiveSheet()->setCellValue('D1', 'Is Active');
$this->excel->getActiveSheet()->setCellValue('E1', 'Created By');
$this->excel->getActiveSheet()->setCellValue('F1', 'Created Date');
$this->excel->getActiveSheet()->setCellValue('C3', 'RESICO INDUSTRIES Department Details');
$this->excel->getActiveSheet()->setCellValue('C5', 'Department ID');
$this->excel->getActiveSheet()->setCellValue('D5', 'Department Name');
$this->excel->getActiveSheet()->setCellValue('E5', 'Head Deptment ID');
$this->excel->getActiveSheet()->setCellValue('F5', 'Is Active');
$this->excel->getActiveSheet()->setCellValue('G5', 'Created By');
$this->excel->getActiveSheet()->setCellValue('H5', 'Created Date');
$this->excel->getActiveSheet()->getStyle('A1')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('A1')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('B1')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('B1')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('C1')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('C1')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('D1')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('D1')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('E1')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('E1')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('F1')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('F1')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setBold(true);
$exportData = $this->department_model->export_excel();
if ($exportData) {
$i = 2;
$i = 6;
$s = 1;
foreach ($exportData as $data) {
$this->excel->getActiveSheet()->setCellValue('A' . $i,$data['DEPCode']);
$this->excel->getActiveSheet()->setCellValue('B' . $i,$data['DepartmentName']);
$this->excel->getActiveSheet()->setCellValue('C' . $i,$data['HeadDept']);
$this->excel->getActiveSheet()->setCellValue('D' . $i,$data['firstname']);
$this->excel->getActiveSheet()->setCellValue('E' . $i,$data['CreatedDt']);
$this->excel->getActiveSheet()->setCellValue('F' . $i,$data['IsActive']);
$this->excel->getActiveSheet()->setCellValue('C' . $i,$data['DEPCode']);
$this->excel->getActiveSheet()->setCellValue('D' . $i,$data['DepartmentName']);
$this->excel->getActiveSheet()->setCellValue('E' . $i,$data['HeadDept']);
$this->excel->getActiveSheet()->setCellValue('F' . $i,$data['firstname']);
$this->excel->getActiveSheet()->setCellValue('G' . $i,$data['CreatedDt']);
$this->excel->getActiveSheet()->setCellValue('H' . $i,$data['IsActive']);
$i++;
$s++;

View File

@ -751,64 +751,52 @@ echo "<script>alert('Record Not Updated!');</script>"; redirect('employeeListin
$this->excel->getActiveSheet()->setCellValue('L3', 'RESICO INDUSTRIES Employee Details');
$this->excel->getActiveSheet()->setCellValue('A5', 'EmpID');
$this->excel->getActiveSheet()->setCellValue('B5', 'FirstName-LastName');
$this->excel->getActiveSheet()->setCellValue('C5', 'FatherName');
$this->excel->getActiveSheet()->setCellValue('D5', 'Gender');
$this->excel->getActiveSheet()->setCellValue('E5', 'Date of Birth');
$this->excel->getActiveSheet()->setCellValue('F5', 'ContactNumber');
$this->excel->getActiveSheet()->setCellValue('G5', 'EmailId');
$this->excel->getActiveSheet()->setCellValue('H5', 'BloodGroup');
$this->excel->getActiveSheet()->setCellValue('I5', 'MartialStatus');
$this->excel->getActiveSheet()->setCellValue('J5', 'DateofJoining');
$this->excel->getActiveSheet()->setCellValue('K5', 'PreviousYearsOfExp');
$this->excel->getActiveSheet()->setCellValue('L5', 'Designation');
$this->excel->getActiveSheet()->setCellValue('M5', 'DepartmentName');
$this->excel->getActiveSheet()->setCellValue('N5', 'PresentAddress');
$this->excel->getActiveSheet()->setCellValue('O5', 'PermanentAddress');
$this->excel->getActiveSheet()->setCellValue('P5', 'EmergencyContactName');
$this->excel->getActiveSheet()->setCellValue('Q5', 'EmergencyContactNumber');
$this->excel->getActiveSheet()->setCellValue('R5', 'Edu_Qualification');
$this->excel->getActiveSheet()->setCellValue('S5', 'Additional_Qualification');
$this->excel->getActiveSheet()->setCellValue('T5', 'Reference_Name');
$this->excel->getActiveSheet()->setCellValue('U5', 'Reference_ContactNumber');
$this->excel->getActiveSheet()->setCellValue('V5', 'BankStatemant');
$this->excel->getActiveSheet()->setCellValue('W5', 'AadharNo');
$this->excel->getActiveSheet()->setCellValue('X5', 'PANNo');
$this->excel->getActiveSheet()->setCellValue('Y5', 'PassportNo');
$this->excel->getActiveSheet()->setCellValue('Z5', 'Passport_Valid_till');
$this->excel->getActiveSheet()->setCellValue('AA5', 'Voter ID');
$this->excel->getActiveSheet()->setCellValue('AB5', 'Driving License');
$this->excel->getActiveSheet()->setCellValue('AC5', 'Driving License Expiry Date');
$this->excel->getActiveSheet()->setCellValue('AD5', 'Official Email ID');
$this->excel->getActiveSheet()->setCellValue('AE5', 'IsActive');
$this->excel->getActiveSheet()->setCellValue('AF5', 'PFNO');
$this->excel->getActiveSheet()->setCellValue('AG5', 'ESI');
$this->excel->getActiveSheet()->setCellValue('AH5', 'Nominee Details');
$this->excel->getActiveSheet()->setCellValue('C5', 'EmpID');
$this->excel->getActiveSheet()->setCellValue('D5', 'FirstName-LastName');
$this->excel->getActiveSheet()->setCellValue('E5', 'FatherName');
$this->excel->getActiveSheet()->setCellValue('F5', 'Gender');
$this->excel->getActiveSheet()->setCellValue('G5', 'Date of Birth');
$this->excel->getActiveSheet()->setCellValue('H5', 'ContactNumber');
$this->excel->getActiveSheet()->setCellValue('I5', 'EmailId');
$this->excel->getActiveSheet()->setCellValue('J5', 'BloodGroup');
$this->excel->getActiveSheet()->setCellValue('K5', 'MartialStatus');
$this->excel->getActiveSheet()->setCellValue('L5', 'DateofJoining');
$this->excel->getActiveSheet()->setCellValue('M5', 'PreviousYearsOfExp');
$this->excel->getActiveSheet()->setCellValue('N5', 'Designation');
$this->excel->getActiveSheet()->setCellValue('O5', 'DepartmentName');
$this->excel->getActiveSheet()->setCellValue('P5', 'PresentAddress');
$this->excel->getActiveSheet()->setCellValue('Q5', 'PermanentAddress');
$this->excel->getActiveSheet()->setCellValue('R5', 'EmergencyContactName');
$this->excel->getActiveSheet()->setCellValue('S5', 'EmergencyContactNumber');
$this->excel->getActiveSheet()->setCellValue('T5', 'Edu_Qualification');
$this->excel->getActiveSheet()->setCellValue('U5', 'Additional_Qualification');
$this->excel->getActiveSheet()->setCellValue('V5', 'Reference_Name');
$this->excel->getActiveSheet()->setCellValue('W5', 'Reference_ContactNumber');
$this->excel->getActiveSheet()->setCellValue('X5', 'BankStatemant');
$this->excel->getActiveSheet()->setCellValue('Y5', 'AadharNo');
$this->excel->getActiveSheet()->setCellValue('Z5', 'PANNo');
$this->excel->getActiveSheet()->setCellValue('AA5', 'PassportNo');
$this->excel->getActiveSheet()->setCellValue('AB5', 'Passport_Valid_till');
$this->excel->getActiveSheet()->setCellValue('AC5', 'Voter ID');
$this->excel->getActiveSheet()->setCellValue('AD5', 'Driving License');
$this->excel->getActiveSheet()->setCellValue('AE5', 'Driving License Expiry Date');
$this->excel->getActiveSheet()->setCellValue('AF5', 'Official Email ID');
$this->excel->getActiveSheet()->setCellValue('AG5', 'IsActive');
$this->excel->getActiveSheet()->setCellValue('AH5', 'PFNO');
$this->excel->getActiveSheet()->setCellValue('AI5', 'ESI');
$this->excel->getActiveSheet()->setCellValue('AJ5', 'Nominee Details');
// $this->excel->getActiveSheet()->setCellValue('AI5', 'PF_Balance');
// $this->excel->getActiveSheet()->setCellValue('AJ5', 'PF_Bal_On');
$this->excel->getActiveSheet()->setCellValue('AI5', 'Remarks');
$this->excel->getActiveSheet()->setCellValue('AJ5', 'CreatedBy');
$this->excel->getActiveSheet()->setCellValue('AK5', 'UpdatedBY');
$this->excel->getActiveSheet()->setCellValue('AK5', 'Remarks');
$this->excel->getActiveSheet()->setCellValue('AL5', 'CreatedBy');
$this->excel->getActiveSheet()->setCellValue('AM5', 'UpdatedBY');
$this->excel->getActiveSheet()->getStyle('L3')->getFont()->setSize(14);
$this->excel->getActiveSheet()->getStyle('L3')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('A5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('A5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('B5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('B5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setSize(12);
@ -837,21 +825,21 @@ echo "<script>alert('Record Not Updated!');</script>"; redirect('employeeListin
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('R5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('R5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('S5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('R5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('S5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('T5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('S5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('T5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('U5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('T5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('U5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('V5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('U5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('V5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('W5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('V5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('W5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('W5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('X5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('X5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('Y5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('Y5')->getFont()->setBold(true);
@ -879,6 +867,10 @@ echo "<script>alert('Record Not Updated!');</script>"; redirect('employeeListin
$this->excel->getActiveSheet()->getStyle('AJ5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('AK5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('AK5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('AL5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('AL5')->getFont()->setBold(true);
$this->excel->getActiveSheet()->getStyle('AM5')->getFont()->setSize(12);
$this->excel->getActiveSheet()->getStyle('AM5')->getFont()->setBold(true);
// $this->excel->getActiveSheet()->getStyle('AL5')->getFont()->setSize(12);
// $this->excel->getActiveSheet()->getStyle('AL5')->getFont()->setBold(true);
// $this->excel->getActiveSheet()->getStyle('AM5')->getFont()->setSize(12);
@ -896,45 +888,45 @@ echo "<script>alert('Record Not Updated!');</script>"; redirect('employeeListin
foreach ($exportData as $data) {
$this->excel->getActiveSheet()->setCellValue('A'. $i,$data['EmpID']);
$this->excel->getActiveSheet()->setCellValue('B'. $i,$data['FirstName'].'-'.$data['LastName']);
$this->excel->getActiveSheet()->setCellValue('C'. $i,$data['FatherName']);
$this->excel->getActiveSheet()->setCellValue('D'. $i,$data['Gender']);
$this->excel->getActiveSheet()->setCellValue('E'. $i,$data['DateofBirth']);
$this->excel->getActiveSheet()->setCellValue('F'. $i,$data['ContactNumber']);
$this->excel->getActiveSheet()->setCellValue('G'. $i,$data['EmailId']);
$this->excel->getActiveSheet()->setCellValue('H'. $i,$data['BloodGroup']);
$this->excel->getActiveSheet()->setCellValue('I'. $i,$data['MartialStatus']);
$this->excel->getActiveSheet()->setCellValue('J'. $i,$data['DateofJoining']);
$this->excel->getActiveSheet()->setCellValue('K'. $i,$data['PreviousYearsOfExp']);
$this->excel->getActiveSheet()->setCellValue('L'. $i,$data['Designation']);
$this->excel->getActiveSheet()->setCellValue('M'. $i,$data['DepartmentName']);
$this->excel->getActiveSheet()->setCellValue('N'. $i,$data['PresentAddress']);
$this->excel->getActiveSheet()->setCellValue('O'. $i,$data['PermanentAddress']);
$this->excel->getActiveSheet()->setCellValue('P'. $i,$data['EmergencyContactName']);
$this->excel->getActiveSheet()->setCellValue('Q'. $i,$data['EmergencyContactNumber']);
$this->excel->getActiveSheet()->setCellValue('R'. $i,$data['Edu_Qualification']);
$this->excel->getActiveSheet()->setCellValue('S'. $i,$data['Additional_Qualification']);
$this->excel->getActiveSheet()->setCellValue('T'. $i,$data['Reference_Name']);
$this->excel->getActiveSheet()->setCellValue('U'. $i,$data['Reference_ContactNumber']);
$this->excel->getActiveSheet()->setCellValue('V'. $i,$data['BankAccountNo'].'-'.$data['IFSCCode'].'-'.$data['BankBranchName'].$data['BankAddress']);
$this->excel->getActiveSheet()->setCellValue('W'. $i,$data['AadharNo']);
$this->excel->getActiveSheet()->setCellValue('X'. $i,$data['PANNo']);
$this->excel->getActiveSheet()->setCellValue('Y'. $i,$data['PassportNo']);
$this->excel->getActiveSheet()->setCellValue('Z'. $i,$data['Passport_Valid_till']);
$this->excel->getActiveSheet()->setCellValue('AA'. $i,$data['VoterID']);
$this->excel->getActiveSheet()->setCellValue('AB'. $i,$data['DriverLicense']);
$this->excel->getActiveSheet()->setCellValue('AC'. $i,$data['LicenseValidtill']);
$this->excel->getActiveSheet()->setCellValue('AD'. $i,$data['personalEmailId']);
$this->excel->getActiveSheet()->setCellValue('AE'. $i,$data['IsActive']);
$this->excel->getActiveSheet()->setCellValue('AF'. $i,$data['PFNO']);
$this->excel->getActiveSheet()->setCellValue('AG'. $i,$data['ESI']);
$this->excel->getActiveSheet()->setCellValue('AH'. $i,$data['NomineeDetails']);
$this->excel->getActiveSheet()->setCellValue('C'. $i,$data['EmpID']);
$this->excel->getActiveSheet()->setCellValue('D'. $i,$data['FirstName'].'-'.$data['LastName']);
$this->excel->getActiveSheet()->setCellValue('E'. $i,$data['FatherName']);
$this->excel->getActiveSheet()->setCellValue('F'. $i,$data['Gender']);
$this->excel->getActiveSheet()->setCellValue('G'. $i,$data['DateofBirth']);
$this->excel->getActiveSheet()->setCellValue('H'. $i,$data['ContactNumber']);
$this->excel->getActiveSheet()->setCellValue('I'. $i,$data['EmailId']);
$this->excel->getActiveSheet()->setCellValue('J'. $i,$data['BloodGroup']);
$this->excel->getActiveSheet()->setCellValue('K'. $i,$data['MartialStatus']);
$this->excel->getActiveSheet()->setCellValue('L'. $i,$data['DateofJoining']);
$this->excel->getActiveSheet()->setCellValue('M'. $i,$data['PreviousYearsOfExp']);
$this->excel->getActiveSheet()->setCellValue('N'. $i,$data['Designation']);
$this->excel->getActiveSheet()->setCellValue('O'. $i,$data['DepartmentName']);
$this->excel->getActiveSheet()->setCellValue('P'. $i,$data['PresentAddress']);
$this->excel->getActiveSheet()->setCellValue('Q'. $i,$data['PermanentAddress']);
$this->excel->getActiveSheet()->setCellValue('R'. $i,$data['EmergencyContactName']);
$this->excel->getActiveSheet()->setCellValue('S'. $i,$data['EmergencyContactNumber']);
$this->excel->getActiveSheet()->setCellValue('T'. $i,$data['Edu_Qualification']);
$this->excel->getActiveSheet()->setCellValue('U'. $i,$data['Additional_Qualification']);
$this->excel->getActiveSheet()->setCellValue('V'. $i,$data['Reference_Name']);
$this->excel->getActiveSheet()->setCellValue('W'. $i,$data['Reference_ContactNumber']);
$this->excel->getActiveSheet()->setCellValue('X'. $i,$data['BankAccountNo'].'-'.$data['IFSCCode'].'-'.$data['BankBranchName'].$data['BankAddress']);
$this->excel->getActiveSheet()->setCellValue('Y'. $i,$data['AadharNo']);
$this->excel->getActiveSheet()->setCellValue('Z'. $i,$data['PANNo']);
$this->excel->getActiveSheet()->setCellValue('AA'. $i,$data['PassportNo']);
$this->excel->getActiveSheet()->setCellValue('AB'. $i,$data['Passport_Valid_till']);
$this->excel->getActiveSheet()->setCellValue('AC'. $i,$data['VoterID']);
$this->excel->getActiveSheet()->setCellValue('AD'. $i,$data['DriverLicense']);
$this->excel->getActiveSheet()->setCellValue('AE'. $i,$data['LicenseValidtill']);
$this->excel->getActiveSheet()->setCellValue('AF'. $i,$data['personalEmailId']);
$this->excel->getActiveSheet()->setCellValue('AG'. $i,$data['IsActive']);
$this->excel->getActiveSheet()->setCellValue('AH'. $i,$data['PFNO']);
$this->excel->getActiveSheet()->setCellValue('AI'. $i,$data['ESI']);
$this->excel->getActiveSheet()->setCellValue('AJ'. $i,$data['NomineeDetails']);
// $this->excel->getActiveSheet()->setCellValue('AI'. $i,$data['PF_Balance']);
// $this->excel->getActiveSheet()->setCellValue('AJ'. $i,$data['PF_Bal_On']);
$this->excel->getActiveSheet()->setCellValue('AI'. $i,$data['Remarks']);
$this->excel->getActiveSheet()->setCellValue('AJ'. $i,$data['CreatedByName']);
$this->excel->getActiveSheet()->setCellValue('AK'. $i,$data['UpdatedByName']);
$this->excel->getActiveSheet()->setCellValue('AK'. $i,$data['Remarks']);
$this->excel->getActiveSheet()->setCellValue('AL'. $i,$data['CreatedByName']);
$this->excel->getActiveSheet()->setCellValue('AM'. $i,$data['UpdatedByName']);

View File

@ -3,9 +3,9 @@
/**
* Class : Login (LoginController)
* Login class to control to authenticate user credentials and starts user's session.
* @author : Kishor Mali
* @author :Venba Info Tech -
* @version : 1.1
* @since : 15 November 2016
* @since : 18 November 2017
*/
class Error extends CI_Controller
{

View File

@ -3,9 +3,9 @@
/**
* Class : BaseController
* Base Class to control over all the classes
* @author :
* @author : Venba Info Tech
* @version : 1.1
* @since : 15 November 2016
* @since : 18 November 2017
*/
class BaseController extends CI_Controller {
protected $role = '';

View File

@ -63,13 +63,12 @@ if(!empty($PODetail))
<div>
<h4>
<h3> Resico Industries</h3><br/>
Survey NO: 168/1C3,<br/>
Pennalur Pet Road,
Goonipalyam village,<br/>
Uthukottai Taluk,
Tiruvallur Dist,<br/>
Tamilnadu,Pin code : 602026.<br/>
Email: customersupport@sidharthindustries.com
Factory: 196/4 B,<br/>
126, Mettupalayam Village,<br/>
Sriperumbudur Taluk,
kancheepuram Dist,<br/>
Tamilnadu,Pin code : 631604.<br/>
Email: customersupport@resicoindustries.com
</h4>
</div>

View File

@ -2,9 +2,9 @@
<footer class="main-footer">
<div class="pull-right hidden-xs">
<b>Siddharth Industries</b> Admin System | Version 1.0
<b>Resico Industries</b> Admin System | Version 1.0
</div>
<strong>Copyright &copy; 2016-2017 <a href="<?php echo base_url(); ?>">Siddharth Industries</a>.</strong> All rights reserved.
<strong>Copyright &copy; 2017-2018 <a href="<?php echo base_url(); ?>">Resico Industries</a>.</strong> All rights reserved.
</footer>
<!-- jQuery UI 1.11.2 -->

View File

@ -26,7 +26,7 @@
</td>
<td style="text-align: right;">
<p>For SIDDHARTH INDUSTRIES</p>
<p>For RESICO INDUSTRIES</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>