?
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/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/public_html/savoyglobal.net/rms/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 single_icon"> <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_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','asc','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> Marital Status </label> <div class="single_page"> <?php echo $viewinfo->employee_marital_status;?> </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>Passport Expiry Date</label> <div class="single_page"> <?=$this->mastermodel->convertdatenormalformat($viewinfo->passport_expiry_date)?> </div> </div> <div class="section _100"> <label>Remind Before</label> <div class="single_page"> <?=$viewinfo->passport_remind_before?> </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>Remind Before</label> <div> <?=$viewinfo->visa_remind_before?> </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 class="section _100"> <label>Remind Before</label> <div> <?=$viewinfo->labor_card_remind_before?> </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="">--Select--</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="">--Select--</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="">--Select--</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"> <?=$viewinfo->employee_status;?> </div> </div> <div class="section _100"> <label>Joining Date</label> <div class="single_page"> <?=$this->mastermodel->convertdatenormalformat($viewinfo->employee_joining_date)?> </div> </div> <?php if($viewinfo->employee_watchman==1) { ?> <div class="section _100"> <label>Watchman</label> <div style="margin:10px 1px;"> <input name="employee_watchman" id="employee_watchman" disabled type="checkbox"<?php if($viewinfo->employee_watchman==1){?> checked <?php } ?>/> </div> </div> <?php } ?> <?php if($viewinfo->employee_supervisor==1) { ?> <div class="section _100"> <label>Supervisor</label> <div style="margin:10px 1px;"> <input name="employee_supervisor" id="employee_supervisor" disabled type="checkbox"<?php if($viewinfo->employee_supervisor==1){?> checked<?php } ?>/> </div> </div> <?php } ?> </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>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(); ?>