?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/application/views/report/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/sec/application/views/report/view_employee_report.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i></div> <div class="tools"> <a href="#" onclick="viewdata('report','viewinreportsearch','search_report','view_report','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); $department=$this->hrmodel->search_department(); $designation=$this->hrmodel->search_designation(); $grade=$this->hrmodel->search_grade(); $employee= $this->hrmodel->search_employee(); $status=$this->hrmodel->search_status(); echo form_open('report/generate_report/get_employee_details_report/xls_report/view', $attributes); ?> <div class="row-fluid"> <div class="span6"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i> Employee Report</div> </div> <div class="portlet-body"> <input type="hidden" name="report_name" value=" Employee Details Report" /> <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;"> <tr> <td> Employee Name </td> <td> <select name="employee_name" class="chosen" id="employee_name"> <option value="">All</option> <?php foreach ($employee['results']->result_array() as $list) { ?> <option value="<?= $list['employee_name'] ?>"><?= $list['employee_name'] ?></option> <?php } ?> </select> </td> </tr> <tr> <td> Designation </td> <td> <select name="employee_designation_id" id="employee_designation_id" class="chosen" > <option value="">All</option> <?php foreach($designation['results']->result_array() as $desg) { echo "<option value='". $desg['designation_id'] . "' >" . $desg['designation_name']. "</option>"; } ?> </select> </td> </tr> <tr> <td> Department </td> <td> <select name="employee_department_id" id="employee_department_id" class="chosen" > <option value="">All</option> <?php foreach($department['results']->result_array() as $depart) { echo "<option value='". $depart['department_id'] . "' >" . $depart['department_name']. "</option>"; } ?> </select> </td> </tr> <tr> <td> Grade </td> <td> <select name="employee_grade_id" id="employee_grade_id" class="chosen" > <option value="">All</option> <?php foreach($grade['results']->result_array() as $grad) { echo "<option value='". $grad['grade_id'] . "' >" . $grad['grade_name']. "</option>"; } ?> </select> </td> </tr> <tr> <td> Status </td> <td> <select name="employee_status" id="employee_status" class="chosen" > <option value="">All</option> <?php foreach ($status['results']->result_array() as $list) { echo "<option value='". $list['status_id'] . "' >" . $list['status_name']. "</option>"; } ?> </select> </td> </tr> </table> </div> </div> </div> <div class="span6"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i> Report Fields</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;"> <tr> <th style="text-align: center"><input type="checkbox" id="checkall" name="checkall" class="reportcheck" onchange="field_check_all()"/></th> <th style="text-align: center">Report Fields</th> </tr> <?php $i=1; ?> <tr> <td style="text-align: center"><input type="checkbox" value="employee_name~Employee_Name" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Employee Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_no~Code" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Code</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_gender~Gender" name="field_name_<?=$i++;?>" class="reportcheck" /></td> <td>Gender</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_dob~Date_of_Birth" name="field_name_<?=$i++;?>" checked class="reportcheck" /></td> <td>Date of Birth</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_nationality~Nationality" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Nationality</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="branch.branch_name~Branch" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Branch</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="designation.designation_name~Designation" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Designation</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="department.department_name~Department" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Department</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="grade.grade_name~Grade" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Grade</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="status.status_name~Status" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Status</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="date_of_join~Joining_Date" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Joining Date</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_local_address~Local_Address" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Local Address</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_permanent_address~Permanent_Address" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Permanent Address</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_contact_no~Contact_No" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Contact No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_email~Email_ID" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Email ID</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_passport_no~Passport_No" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Passport No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_visa_type~Visa_Type" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Visa Type</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_labour_card_no~Labor_Card_No" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Labor Card No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="device_no~Device_No" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Device No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="relieving_date~Relieving_Date" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Relieving Date</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="employee_qatar_id_no~Qatar_Id_No" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Qatar Id No</td> </tr> </table> </div> </div> </div> </div> <input type="hidden" name="field_count" value="<?=$i;?>"/> <div class="form-actions"> <button style="float: right;margin-left: 10px;" type="button" class="clickimage"onclick="generate_pdf('report/generate_report/get_employee_details_report/_report/view/')" >Generate</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_employee_details_report/_report/xls/')" >XLS</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_employee_details_report/_report/pdf/')" >PDF</button> </div> <?php echo form_close(); ?> <!-- END FORM--> <div id="loadresult"></div> <div id="report_div"></div> </div> </div> </div> </div>