?
Current Path : /home1/savoy/www/savoyglobal.net/sgms/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/sgms/application/views/HR/edit_offer_letter.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_offer_letter','view_offer_letter','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Updating Offer Letter</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('hr/addinhr/update_offer_letter/view_offer_letter/1',$attributes); $designation=$this->mastermodel->getdatas('designation','designation_id'); ?> <ul> <li> <label for="data">Name</label> <?php $data = array( 'name' => 'candidate_name', 'id' => 'candidate_name', 'class' => 'required', 'value' => $viewinfo->candidate_name ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Email</label> <?php $data = array( 'name' => 'candidate_email', 'id' => 'candidate_email', 'value' => $viewinfo->candidate_email ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Interview Date</label> <?php $data = array( 'name' => 'interview_date', 'id' => 'interview_date', 'class' =>'required calfocus', 'value' => $this->mastermodel->convertdatenormalformat($viewinfo->interview_date) ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Contact No</label> <?php $data = array( 'name' => 'contact_no', 'id' => 'contact_no', 'class' => 'required', 'value' => $viewinfo->contact_no ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Designation Name</label> <select name="designation_id" id="designation_id" class="required"> <option value="">Select</option> <?php foreach($designation as $list) { ?> <option value="<?=$list['designation_id'];?>" <?php if($list['designation_id']==$viewinfo->designation_id){echo "selected";} ?>><?=$list['designation_name'];?></option> <?php } ?> </select> </li> <li> <label for="data">Joining Date</label> <?php $data = array( 'name' => 'joining_date', 'id' => 'joining_date', 'class' => 'calfocus', 'value' => $this->mastermodel->convertdatenormalformat($viewinfo->joining_date) ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Offer Letter</label> <?php $data = array( 'name' => 'filename', 'id' => 'filename' ); echo form_upload($data).form_error($data); ?> <?php if($viewinfo->filename != "") { ?> <a href="<?=base_url()?>assets/uploads/<?=$viewinfo->filename;?>">Download</a> <?php } ?> </li> <input type="hidden" name="offer_letter_id" value="<?=$viewinfo->offer_letter_id;?>"/> <input type="hidden" name="tab_name" value="offer_letter"/> <li> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>