

 
 <div class="row">
  
   	

   	<div class="col-md-12">

  
		

			
	<div class="widget-content nopadding table_holder table-responsive" >				
			
		

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Update  Your company details </h4>
		 <a href="<?php echo base_url();?>user/backup" class="btn btn-success"> Backup  Database</a>	 

      </div>
      <div class="modal-body">
      
	  	

				<?PHP
//$session_data = $this->session->userdata('logged_in');

 $mydate=date("Y-m-d H:59:59");
				echo $this->session->flashdata('msg'); 
		
                 echo form_open('user/updatebusisinessconfiguration' , 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;?>
<input type="hidden" name="companyid" value="<?php echo $companyid; ?>"  id="companyid" class="form-control" required placeholder="Enter status">

<input type="hidden" name="myid" value="<?php echo $userid; ?>"  id="myid" class="form-control" required placeholder="Enter status">



  
  
  
	<div class="form-group">
    <label for="inputdeadlinedetails" class="col-sm-2 control-label"> Sales agreement</label>
    <div class="col-sm-10">

				<textarea name="deadlinedetails" value="<?php echo set_value('deadlinedetails',$configuration[0]['deadlinedetails']); ?>"   class="form-control"  placeholder="Enter description"><?php echo set_value('deadlinedetails',$configuration[0]['deadlinedetails']); ?></textarea>
			
		<span class="text-danger"> <?php echo form_error('deadlinedetails'); ?>
		
		</span>
	</div>
  </div>
	
	 	<div class="form-group">
    <label for="inputdeadline" class="col-sm-2 control-label">Renewal Date </label>
    <div class="col-sm-10">
	
		  		<input type="text" name="deadline" value="<?php echo set_value('deadline',$configuration[0]['deadline']); ?>" class="form-control"  placeholder="Enter deadline date">
		 
				
		<span class="text-danger"> <?php echo form_error('deadline'); ?>
		
		</span>
	</div>
  </div>
	
	 	<div class="form-group">
    <label for="inputdeadline" class="col-sm-2 control-label">Linces Key </label>
    <div class="col-sm-10">
	
		  		<input type="text" name="businesskey" value="<?php echo set_value('businesskey',$configuration[0]['businesskey']); ?>" class="form-control"  placeholder="Enter businesskey ">
		 
				
		<span class="text-danger"> <?php echo form_error('deadline'); ?>
		
		</span>
	</div>
  </div>
	
	 <div class="form-group">

    <div class="col-sm-offset-2 col-sm-10">
     
	         <button type="submit"  value="updatebusinessconfig" name="btn_updabusinessteconfig" class="btn btn-primary"> Update Cofiguration   </button>

    </div>
  </div>
  
  
  
  
  
  					<?php echo form_close();?>
			</div>							   
				
									
							
								
			<div class="modal-footer">

    

				</div>

		</div>
	  						
									
									
									
									
							</div>
						</div>
				

			
			</div>



















