
      <script type="text/javascript">
  
		
		 $(document).on("click", "#managebtndelete", function()
        {
          var itemid = $(this).data('id');
		  $("#itemid1").val(itemid); 
		  
		  
		   
        });
		
		
		
    </script> 


    	<!------CONTROL TABS END------>
        
	
         
 

 <div class="row">
	<div class="col-md-12">
		<div class="panel panel-primary" data-collapsed="0">
        	<div class="panel-heading">
            	<div class="panel-title" >
            		<i class="entypo-plus-circled"></i>
				Upload mpesa payment using correct format
				<br>
				
				            									 <a  href="<?php echo base_url(); ?>admin/viewpallmyplots">Click to go back Home </a>

            	</div>
            </div>
		


						





				<?PHP
			echo"Current Time:\t " .$new_date=date("Y-m-d H:i:s");
   

				echo $this->session->flashdata('msg'); $session_data = $this->session->userdata('logged_in');

   
 	$data['id'] = $session_data['id'];
        
		 $userid = $data['id'];

 $data['companyid'] = $session_data['companyid'];
	 $companyid = $data['companyid'];
		 $data['usertype'] = $session_data['usertype'];
	 $usertype = $data['usertype'];	
				
                 echo form_open('admin/uploadmpesa' , array('class' => 'form-horizontal form-groups-bordered validate', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>
					
  <div class="form-group">

    <label for="inputfile" class="col-sm-2 control-label">Upload file</label>
    <div class="col-sm-7">
		  		<input type="file" name="file" value="<?php echo set_value('file'); ?>"id="file" class="form-control" required placeholder="Enter Country Name">
     <span class="text-danger"><?php echo form_error('file'); ?></span>
   </div>
  </div>
   			
  	
             <?php 
   

	
  	//echo $plotno;
  	//echo  $houseno;
		 

             ?>
    
  
  
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-7">
     
	       <button type="submit" name="btn_uploadmpesa"value="mpesa" class="btn btn-primary">Upload Mpesa payments</button>

    </div>
  </div>
                    
                <?php echo form_close();?>
            </div>

   
   
   
   



</div>



</div>




			