?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/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/drafthr/system/application/views/HR/addallowdeduc.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Add New" onclick="loadallowdeduc('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25"/></label> </div> <fieldset> <legend>Add Allowance / Deduction</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('hr/addallowdeduc',$attributes); ?> <ul> <li> <?php $stf=$this->mastermodel->get_data_srow('allowdeduc',$norecords,'id'); if(isset($stf->allowdeduccode)) { $num=substr($stf->allowdeduccode, -3); $num++; } else $num=100; $options = array( 'Allowance' => 'Allowance', 'Deduction' => 'Deduction', ); ?> <input type="hidden" name="allowdeduccode" value="<?php echo "ALDE-".$num; ?>"> </li> <li> <?php $data = array( 'name' => 'allowdeducname', 'id' => 'allowdeducname', ); ?> <label for="country">Name</label> <?php echo form_input($data).form_error($data); ?><span id="allowdeducnameInfo" class="red_bold">*</span> </li> <li> <label for="country">Type</label> <?php echo form_dropdown('allowdeductype', $options, 'allowance'); ?> </li> <li> <label>Mode</label> <select name="mode" id="mode"> <option value="1" selected>Direct Amouont</option> <option value="0" >Percentage</option> </select> </li> <li><label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="return validateform('allowdeducname','chartgroup_name');">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>