?
Current Path : /home1/savoy/www/savoyglobal.net/cocorico/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/cocorico/application/views/hr/add_allowdeduc.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Creating Allowance & Deductions</div> <div class="tools"> <a href="#" onclick="viewdata('hr','viewinhrsearch','search_allowdeduc','view_allowdeduc','<?=$_SESSION['pagenum'];?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('hr/addinhr/insert_allowdeduc/view_allowdeduc/1',$attributes); ?> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label"> Name</label> <div class="controls"> <?php $data = array( 'name' => 'allowdeduc_name', 'id' => 'allowdeduc_name', 'class' =>'required span6' ); echo form_input($data).form_error($data); ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label"> Type</label> <div class="controls"> <select name="allowdeduc_type" class="required chosen span6" > <option value="">--Select--</option> <option value="0">Deduction</option> <option value="1">Allowance</option> </select> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label"> Mode</label> <div class="controls"> <select name="allowdeduc_mode" class="required chosen span6" > <option value="">--Select--</option> <option value="1">Direct Amount</option> <option value="0">Percentage</option> </select> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="tab_name" value="allowdeduc"/> <input type="hidden" name="resfunction" value="search_allowdeduc"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('hr','viewinhrsearch','search_allowdeduc','view_allowdeduc','<?=$_SESSION['pagenum'];?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>