?
Current Path : /home1/savoy/www/savoyglobal.net/sgms/application/views/Sales/ |
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/Sales/edit_employee_target.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('sales','viewinsalessearch','search_employee_target','view_employee_target','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Updating employee target</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('sales/addinsales/update_employee_target/view_employee_target/1',$attributes); ?> <ul> <li> <label for="data">Employee Name</label> <div class="record_entry"><?=$this->mastermodel->getSingleFieldValue('employee','employee_name','employee_id',$viewinfo->employee_id);?></div> </li> <li> <label for="Name">Target Period</label> <div class="record_entry"><?=$viewinfo->target_type?></div> </li> <li> <label>Start Date</label> <input class ="required calfocus" name="start_date" id="startdate" type="text" value = "<?=$this->mastermodel->convertdatenormalformat($viewinfo->start_date);?>"> </li> <li id="enddatewer"> <label>End Date</label> <input class ="calfocus" name="end_date" type="text" id="enddate" value = "<?=$this->mastermodel->convertdatenormalformat($viewinfo->end_date);?>" > </li> <li> <label for="Name">Target Amount</label> <input class ="required auto" name="target" id="target" value = "<?=$viewinfo->target?>" type="text"> </li> <li> <label for="data">Remarks</label> <?php $data = array( 'name' => 'remarks', 'id' => 'remarks', 'value' => $viewinfo->remarks ); echo form_textarea($data).form_error($data); ?> <input type="hidden" name="tab_name" value="employee_target"/> <input type="hidden" name="resfunction" value="search_employee_target"/> <input type="hidden" name="employee_target_id" value="<?=$viewinfo->employee_target_id;?>"/> </li> <li> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>