?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/draft/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/sgms/draft/application/views/HR/add_allowdeduc.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="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_allowdeduc','view_allowdeduc','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Creating new Allowance-Deduction</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('hr/addinhr/addallowdeduc/view_allowdeduc/1',$attributes); ?> <ul> <li> <label for="data">Allowance-Deduction Name</label> <?php $data = array( 'name' => 'allowdeduc_name', 'id' => 'allowdeduc_name', 'class' =>'required' ); echo form_input($data).form_error($data); ?> </li> <label for="data">Allowance-Deduction Type</label> <!-- <li><input name="allowdeduc_type" id="employee_gender" type="radio" value="Allowance" checked />Allowance</li> <li><input name="allowdeduc_type" id="employee_gender" type="radio" value="Deduction" /> Deduction</li>--> <label for="data">Allowance</label> <?php $data = array( 'name' => 'allowdeduc_type', 'id' => 'allowdeduc_type', 'value' => '1', 'checked' => TRUE, 'style' => 'margin:10px', ); echo form_radio($data); ?> <label for="data">Deduction</label> <?php $data = array( 'name' => 'allowdeduc_type', 'id' => 'allowdeduc_type', 'value' => '0', 'checked' => FALSE, 'style' => 'margin:10px', ); echo form_radio($data); ?> <label for="data">Allowance-Deduction Mode</label> <!-- <li><input name="allowdeduc_mode" id="employee_gender" type="radio" value="Direct" checked />Direct</li> <li><input name="allowdeduc_mode" id="employee_gender" type="radio" value="Percentage" /> Percentage</li>--> <label for="data">Direct</label> <?php $data = array( 'name' => 'allowdeduc_mode', 'id' => 'allowdeduc_mode', 'value' => '1', 'checked' => TRUE, 'style' => 'margin:10px', ); echo form_radio($data); ?> <label for="data">Percentage</label> <?php $data = array( 'name' => 'allowdeduc_mode', 'id' => 'allowdeduc_mode', 'value' => '0', 'checked' => FALSE, 'style' => 'margin:10px', ); echo form_radio($data); ?> <input type="hidden" name="tab_name" value="allowdeduc"/> <input type="hidden" name="resfunction" value="search_allowdeduc"/> <li> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>