?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec_old/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_old/application/views/report/view_employee_report.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('report','viewinreportsearch','search_report','view_report','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Employee Report</h4> </div> </div> <?php $department=$this->mastermodel->getdatas('department','department_id'); $designation=$this->mastermodel->getdatas('designation','designation_id'); $grade=$this->mastermodel->getdatas('grade','grade_id','asc','grade_id'); $employee=$this->mastermodel->getdatas('employee','employee_id'); $status=$this->mastermodel->getdatas('status','status_name'); $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('report/generate_report/get_employee_details_report/xls_report/view', $attributes); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header main no-icon"> Employee Details Report <span></span> </div> <div class="content no-padding"> <input type="hidden" name="report_name" value=" Employee Details Report" /> <div class="section _100"> <label>Employee Name</label> <div> <select name="employee_name" class="" id="employee_name"> <option value="">All</option> <?php foreach ($employee as $list) { ?> <option value="<?= $list['employee_name'] ?>"><?= $list['employee_name'] ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Designation</label> <div> <select name="employee_designation_id" id="employee_designation_id" class="chzn-done" > <option value="">All</option> <?php foreach($designation as $desg) { echo "<option value='". $desg['designation_id'] . "' >" . $desg['designation_name']. "</option>"; } ?> </select> </div> </div> <div class="section _100"> <label>Department</label> <div style="margin:10px 1px;"> <select name="employee_department_id" id="employee_department_id" class="chzn-done" > <option value="">All</option> <?php foreach($department as $depart) { echo "<option value='". $depart['department_id'] . "' >" . $depart['department_name']. "</option>"; } ?> </select> </div> </div> <div class="section _100"> <label>Grade</label> <div style="margin:10px 1px;"> <select name="employee_grade_id" id="employee_grade_id" class="chzn-done" > <option value="">All</option> <?php foreach($grade as $grad) { echo "<option value='". $grad['grade_id'] . "' >" . $grad['grade_name']. "</option>"; } ?> </select> </div> </div> <div class="section _100"> <label>Status</label> <div> <select name="employee_status" id="employee_status" class="chzn-done" > <option value="">All</option> <?php foreach ($status as $list) { echo "<option value='". $list['status_id'] . "' >" . $list['status_name']. "</option>"; } ?> </select> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main no-icon">Report Field <span></span> </div> <div class="content no-padding"> <table class="table"> <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> <input type="hidden" name="field_count" value="<?=$i;?>"/> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <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> </div> </div> </div> <?php echo form_close(); ?> <div id="report_div"></div>