<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        <center>Employee Monthly payment</center>
        
      </h1>
             
    </section>
    
    <section class="content">
    <div style="text-align:right;">
    <a href="<?php echo base_url() ?>" class="btn btn-info" value="Back">Back</a>
    </div>
    <br>
    
        <div class="row">
            <!-- left column -->
            <div class="col-md-12">
 
                               
                <div class="box box-primary">
                     
                    <!-- form start -->
                   <form role="form" id="addemployee" action="<?php echo base_url() ?>monthlypay/AddNewmonthly" method="post"  enctype="multipart/form-data"> 
                    
                    
                        <div class="box-body">
                            <div class="row">
                                
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label for="month_year">Month Year:</label><font color="Red">*</font>
                                         
                                        <div class="form-group">
                                                <?php
                                         $data = array('name' => 'month_year','value' => set_value('month_year'), 'class' => 'form-control' ,'required' => 'true');
       
                                        echo form_input($data);
										
									
                                        ?>   
                                    </div>
                                    </div>
                                </div>
                            
                     
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label for="emp_id">Employee ID</label><font color="Red">*</font>
                                         
										<div class="form-group">
										 <?php
								  
							 $options = array("-1"=>'Select Employee');
										//print_r(  $options);
										
										if(!empty($emp_id))
										{
									    foreach ($Approver as $SID):
                                          
									   
										  $options[$SID->EmpID] =  $SID->EmpID . " - " . $SID->FirstName . " - " .  $SID->Designation;

										endforeach;
										}
										
									echo form_dropdown('emp_id',$options,set_value('emp_id'),'id="emp_id"', 'class = "form-control "');	?>	
												
										   
									</div>
                                    </div>
                                </div>
                                
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label for="LOP_days">LOP Days</label><font color="Red">*</font>
                                        <div class="form-group">
                                                <?php
                                         $data = array('name' => 'LOP_days','value' => set_value('LOP_days'), 'class' => 'form-control' ,'required' => 'true');
                                        echo form_input($data);
                                        ?>   
                                    </div>
                                    </div>
                                
                                </div>

                                  
                                
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label for="OT_Hrs_Worked">OT Hrs Worked:</label><font color="Red">*</font>
                                         
                                        <div class="form-group">
                                                <?php
                                         $data = array('name' => 'OT_Hrs_Worked','value' => set_value('OT_Hrs_Worked'), 'class' => 'form-control' ,'required' => 'true');
                                        echo form_input($data);
                                        ?>   
                                    </div>
                                    </div>
                                </div>
                                </div>
                                <div class="row">
                           
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label for="Loan_Recovered">Loan Recovered:</label> 
                                        <div class="form-group">
                                                <?php
                                         $data = array('name' => 'Loan_Recovered','value' => set_value('Loan_Recovered'), 'class' => 'form-control' );
                                        echo form_input($data);
                                        ?>   
                                    </div>
                                    </div>
                                </div>
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label for="Loan_Balance">Loan Balance:</label> 
                                        <div class="form-group">
                                                <?php
                                         $data = array('name' => 'Loan_Balance','value' => set_value('Loan_Balance'), 'class' => 'form-control');
                                        echo form_input($data);
                                        ?>   
                                    </div>
                                    </div>
                                </div>
                                </div>
            

                                <div class="row">
                                
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label for="Incentives">Incentives:</label><font color="Red">*</font>
                                         
                                        <div class="form-group">
                                                <?php
                                         $data = array('name' => 'Incentives','value' => set_value('Incentives'), 'class' => 'form-control' ,'required' => 'true');
                                        echo form_input($data);
                                        ?>   
                                    </div>
                                    </div>
                                </div>
                            
                           
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label for="Other_Deductions">Other Deductions:</label><font color="Red">*</font>
                                        <div class="form-group">
                                                <?php
                                         $data = array('name' => 'Other_Deductions','value' => set_value('Other_Deductions'), 'class' => 'form-control' ,'required' => 'true');
                                        echo form_input($data);
                                        ?>   
                                    </div>
                                    </div>
                                </div>
                                
                                </div>
                                
            

                            
        <div id="content">
			    <div class="box-footer" style="text-align:right">
			    
			   
                            <input type="submit" class="btn btn-info" value="Submit" />
                            <input type="reset" class="btn btn-info"  value="Cancel" />
                </div>
                
					
                    
                
                </div>
            
            
                                </section>
                                </div>
