?
Current Path : /home1/savoy/public_html/savoyglobal.net/horeitia/application/views/Exits/ |
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/horeitia/application/views/Exits/edit_exit.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $salary = $this->mastermodel->get_employee_current_salary($viewinfo->employee_id); $camp = $this->mastermodel->get_employee_current_camp($viewinfo->employee_id); $site = $this->mastermodel->get_employee_current_site($viewinfo->employee_id); $leave_list=$this->mastermodel->getdatas('leave_type','leave_type_name'); $salary_id = $this->mastermodel->get_employee_current_salary_id($viewinfo->employee_id); $allowance_list = $this->administrationmodel->get_data_salary_allowance_info($salary_id); $deduction_list = $this->administrationmodel->get_data_salary_deduction_info($salary_id); $exit = $this->mastermodel->get_data_srow('exit',$viewinfo->leave_id,'leave_id'); ?> <link href="<?=base_url()?>assets/css/tablesortnew.css" rel="stylesheet" type="text/css"> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('exits','viewinexitssearch','search_exit','view_exit','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Employee Exit Details</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('exits/addinexits/update_exit/view_exit/1',$attributes); $employee = $this->administrationmodel->get_emp_info($viewinfo->employee_id); if($employee->emp_non_no[0]==',') { $employee->emp_non_no=substr($employee->emp_non_no, 1); } $emp_non_no = str_replace(',',', ', $employee->emp_non_no); ?> <ul> <li> <input type="hidden" name="tab_name" id="tab_name" value="exit"/> <input type="hidden" name="leave_id" id="leave_id" value="<?=$viewinfo->leave_id;?>"/> </li> <li> <table class="sortnew"> <caption>Employee Personal Details</caption> <tr> <td>Employee Name</td> <td> <?php echo $employee->emp_non_full_name; ?> </td> </tr> <tr> <td>Employee No</td> <td> <?php echo $emp_non_no; ?> </td> </tr> <tr> <td>Joining Date</td> <td> <?php echo $employee->emp_non_date_joining; ?> </td> </tr> <tr> <td>Trade</td> <td> <?php echo $employee->trade_name; ?> </td> </tr> <tr> <td>Camp</td> <td> <?php echo $camp; ?> </td> </tr> <tr> <td>Site</td> <td> <?php echo $site; ?> </td> </tr> </table> <table class="sortnew"> <caption>Employee Leave Details</caption> <tr> <td>Leave Type</td> <td> <?php echo $this->mastermodel->getSingleFieldValue('leave_type','leave_type_name','leave_type_id',$viewinfo->leave_type_id); ?> </td> </tr> <tr> <td>Reason of leave</td> <td> <?php echo $viewinfo->leave_reason ;?> </td> </tr> <tr> <td>Remarks</td> <td> <?php echo $viewinfo->remarks; ?> </td> </tr> <tr> <td>Leave Start Date</td> <td> <?=$this->mastermodel->convertdatenormalformat($viewinfo->leave_starting_date);?> </td> </tr> <tr> <td>Leave End Date</td> <td> <?=$this->mastermodel->convertdatenormalformat($viewinfo->leave_ending_date);?> </td> </tr> <tr> <td>Tickets</td> <td> <select name="leave_ticket" id="leave_ticket" class="required" disabled> <option value="">Select</option> <option value="Company provided" <?php if($viewinfo->leave_ticket == "Company provided" ) {echo "selected";} ?> >Company provided</option> <option value="Self Arrangement" <?php if($viewinfo->leave_ticket == "Self Arrangement" ) {echo "selected";} ?> >Self Arrangement</option> </select> </td> </tr> <tr> <td>From</td> <td> <?=$viewinfo->leave_from;?> </td> </tr> <tr> <td>To</td> <td> <?=$viewinfo->leave_to;?> </td> </tr> </table> </li> <li> <label for="data">Exit Date</label> <div id="multi"> <input type="text" name="exit_date" id="exit_date" value="<?=$this->mastermodel->convertdatenormalformat($exit->exit_date);?>" /> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </li> <li> <label for="data">Exit Permit</label> <select class="required" name="exit_permit"> <option value="">Select</option> <option value="Issued" <?php if($exit->exit_permit == "Issued" ) {echo "selected";} ?> >Issued</option> <option value="Not Issued" <?php if($exit->exit_permit == "Not Issued" ) {echo "selected";} ?> >Not Issued</option> </select> </li> <input type="hidden" name="exit_id" id="exit_id" value="<?=$exit->exit_id;?>" > <li> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>