?
Current Path : /home1/savoy/www/savoyglobal.net/sec_old/application/views/hr/ |
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/www/savoyglobal.net/sec_old/application/views/hr/single_employee.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('hr','viewinhrsearch','search_employee','view_employee','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons" style=" margin: 6px 0 0 14px;"> <img src="<?= base_url() ?>assets/images/edit-icon.gif" title="Edit" width="25" height="25" alt="Edit" align = "center" class="clickimage" onclick="editformdata('hr','edit_page','<?= $viewinfo->employee_id; ?>','employee','employee_id','edit_employee')" alt="" /> </div> <div class="icons" style="float: right;'"> <?php $employee_sal_id = $this->hrmodel->get_employee_salary_id($viewinfo->employee_id, date('d-m-Y')) ?> <style> #tabs li{ display: block;float: left; border-bottom: 1px solid black; } #tabs li a{ width: 80px; background: #2B5177; color: white; padding: 5px; height: auto; margin: 0 1px 0 0; text-align: center } </style> <ul style="list-style: none;padding: 0px" id="tabs"> <li> <a href="#" onclick="displayformdata('hr','single_page','<?= $viewinfo->employee_id; ?>','employee','employee_id','single_employee')">Personal</a> </li> <li> <?php if ($employee_sal_id == "") { ?> <a href="#" onclick="alert('Salary not Set')">Salary</a> <?php } else { ?> <a href="#" onclick="gotopage('hr','single_salary_setting','<?= $employee_sal_id; ?>','employee_salary','employee_salary_id','single_salary_setting','single_employee')">Salary</a> <?php } ?> </li> <li> <a href="#" onclick="displayformdata('hr','single_leave_page','<?= $viewinfo->employee_id; ?>','employee','employee_id','single_leave_page')">Leave</a> </li> </ul> </div> <div class="icons_caption"> <h4>Employee Details</h4> </div> </div> <?php $department = $this->mastermodel->getdatas('department', 'department_id', 'asc', 'department_id'); $designation = $this->mastermodel->getdatas('designation', 'designation_id', 'asc', 'designation_id'); $grade = $this->mastermodel->getdatas('grade', 'grade_id', 'asc', 'grade_id'); $status = $this->mastermodel->getdatas('status', 'status_id'); $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('', $attributes); ?> <div class="grid_6"> <div class="box"> <div class="header main"> Personal Details </div> <div class="content no-padding"> <div class="section _100"> <label> Employee name</label> <div class="single_page"> <?= $viewinfo->employee_name ?> </div> </div> <div class="section _100"> <label>Employee NO</label> <div class="single_page"> <?= $viewinfo->employee_no ?> </div> </div> <div class="section _100"> <label>Gender</label> <div class="single_page"> <?php echo $viewinfo->employee_gender; ?> </div> </div> <div class="section _100"> <label>Date of Birth </label> <div class="single_page"> <?= $this->mastermodel->convertdatenormalformat($viewinfo->employee_dob); ?> </div> </div> <div class="section _100"> <label>Teacher</label> <div> <input disabled id="employee_teacher"<?php if ($viewinfo->employee_teacher == "1") { echo "checked"; } ?> type="checkbox" class="" name="employee_teacher"> </div> </div> <div class="section _100"> <label>Nationality</label> <div class="single_page"> <?= $viewinfo->employee_nationality ?> </div> </div> <div class="section _100"> <label>Passport No</label> <div class="single_page"> <?= $viewinfo->employee_passport_no ?> </div> </div> <div class="section _100"> <label>Visa Type</label> <div class="single_page"> <?= $viewinfo->employee_visa_type ?> </div> </div> <div class="section _100"> <label>Visa Expiry Date</label> <div class="single_page"> <?= $viewinfo->employee_visa_expiry_date ?> </div> </div> <div class="section _100"> <label>Labor Card No:</label> <div class="single_page"> <?= $viewinfo->employee_labour_card_no ?> </div> </div> <div class="section _100"> <label>Labor Card Expiry Date</label> <div class="single_page"> <?= $viewinfo->employee_labour_card_expiry_date ?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main">Employee Details</div> <div class="content no-padding"> <div class="section _100"> <label>Designation</label> <div> <select disabled nameemployee_designation_id" id="employee_designation_id" class="required chzn-done" > <option value=""></option> <?php foreach ($designation as $list) { ?> <option value="<?= $list['designation_id']; ?>"<?php if ($list['designation_id'] == $viewinfo->employee_designation_id) { echo "selected"; } ?>><?= $list['designation_name']; ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Department</label> <div> <select disabled name="employee_department_id" id="employee_department_id" class="required chzn-done" > <option value=""></option> <?php foreach ($department as $list) { ?> <option value="<?= $list['department_id']; ?>"<?php if ($list['department_id'] == $viewinfo->employee_department_id) { echo "selected"; } ?>><?= $list['department_name']; ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Grade</label> <div> <select disabled name="employee_grade_id" id="employee_grade_id" class="required chzn-done" > <option value=""></option> <?php foreach ($grade as $list) { ?> <option value="<?= $list['grade_id']; ?>" <?php if ($list['grade_id'] == $viewinfo->employee_grade_id) { echo "selected"; } ?> ><?= $list['grade_name']; ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Status</label> <div class="single_page"> <select name="employee_status" id="employee_status" class="required chzn-done" > <option value="">--Select--</option> <?php foreach ($status as $list) { ?> <option value="<?= $list['status_id']; ?>" <?php if ($list['status_id'] == $viewinfo->employee_status_id) { echo "selected"; } ?> ><?= $list['status_name']; ?></option> <?php } ?> </select> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main">Address Details</div> <div class="content no-padding"> <div class="section _100"> <label>Contact No</label> <div class="single_page"> <?= $viewinfo->employee_contact_no ?> </div> </div> <div class="section _100"> <label>Mobile No</label> <div class="single_page"> <?= $viewinfo->employee_mobile_no ?> </div> </div> <div class="section _100"> <label>Email ID</label> <div class="single_page"> <?= $viewinfo->employee_email ?> </div> </div> <div class="section _100"> <label>Local Address</label> <div class="single_page"> <?= $viewinfo->employee_local_address ?> </div> </div> <div class="section _100"> <label>Permanent Address:</label> <div class="single_page"> <?= $viewinfo->employee_permanent_address ?> </div> </div> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="header main"> Professional Experience</div> <table class="table"> <tr> <th>Employer</th> <th>Designation</th> <th>Period</th> </tr> <?php $professional = $this->mastermodel->get_data('employee_professional_experience', $viewinfo->employee_id, 'employee_id'); foreach ($professional as $list) { ?> <tr> <td><?= $list['employer']; ?></td> <td><?= $list['designation']; ?></td> <td><?= $list['period']; ?></td> </tr> <?php } ?> </table> </div> </div> <div class="grid_12"> <div class="box"> <div class="header main"> Educational Qualification</div> <table class="table"> <tr> <th>Course</th> <th>University</th> <th>Year of Passing</th> </tr> <?php $professional = $this->mastermodel->get_data('employee_educational_qualification', $viewinfo->employee_id, 'employee_id'); foreach ($professional as $list) { ?> <tr> <td><?= $list['course']; ?></td> <td><?= $list['university']; ?></td> <td><?= $list['yearofpassing']; ?></td> </tr> <?php } ?> </table> </div> </div> <div class="grid_12"> <div class="box"> <div class="header main">Additional Certification</div> <table class="table"> <tr> <th>Course</th> <th>Institute</th> <th>Year of Passing</th> </tr> <?php $i = 1; $professional = $this->mastermodel->get_data('employee_additional_certification', $viewinfo->employee_id, 'employee_id'); foreach ($professional as $list) { ?> <tr> <td><?= $list['course']; ?></td> <td><?= $list['institute']; ?></td> <td><?= $list['yearofpassing']; ?></td> </tr> <?php } ?> </table> </div> </div> <?php echo form_close(); ?> <?php $data['master_id'] = $viewinfo->employee_id; $data['controller'] = 'hr'; $data['controller_function'] = 'viewinhrsearch'; $data['page'] = 'view_employee'; $data['model_function'] = 'search_employee'; $this->load->view('master/uploaded_files', $data); echo form_close(); ?>