?
Current Path : /home1/savoy/public_html/savoyglobal.net/oscardraft/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/oscardraft/application/views/hr/edit_leave_application.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $this->load->view('commonfunctions'); $leave_type=$this->mastermodel->getdatas('leave_type','leave_type_id'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_leave_application','view_leave_application','<?=$_SESSION['pagenum'];?>')" alt="Back" /> </div> <div class="icons_caption"> <h4>Updating Leave Application</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('hr/addinhr/update_leave_application/view_leave_application/1',$attributes); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Employee Name</label> <div class="record_entry" style="margin-top: 6px;"> <?=$this->mastermodel->get_single_field_value('employee','employee_name','employee_id',$viewinfo->employee_id);?> </div> </div> <div class="section _100"> <label>Leave Type</label> <div> <select name="leave_type_id" id="leave_type_id" class="required chzn-done"> <option value="">Select</option> <?php foreach($leave_type as $list) { ?> <option value="<?=$list['leave_type_id'];?>" <?php if($viewinfo->leave_type_id == $list['leave_type_id']){ echo "selected" ;} ?> > <?=$list['leave_type_name'];?> </option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>From Date</label> <div> <input id="from_date" type="text" class="required calfocus" name="from_date" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->from_date);?>"> </div> </div> <div class="section _100"> <label>To Date</label> <div> <input id="to_date" type="text" class="required calfocus" name="to_date" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->to_date);?>"> </div> </div> <div class="section _100"> <label>Remarks</label> <div> <?php $data = array( 'name' => 'remarks', 'id' => 'remarks', 'value' => $viewinfo->remarks ); echo form_textarea($data).form_error($data); ?> </div> </div> <div class="actions"> <div class="actions-left"> <input type="hidden" name="leave_application_id" id="leave_application_id" value="<?= $viewinfo->leave_application_id;?>" /> <input type="reset"> </div> <div class="actions-right"> <button style="margin-left: 130px;" type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">save</button> </div> </div> </div> <?php echo form_close();?> </div> </div>