<?php
	include('common/header.php');
?>
<div id="messages" style="color: red;"><h5><?php echo $this->session->flashdata('msg'); ?></h5></div>
	<div class="">
		<div class="col-xm-12">
			<div class="widget-box light-border">
				<div class="widget-header header-color-grey">
					<h4 class="smaller">
						 <?php echo $lable_refill_tracking;?>
					</h4>
				</div>
				<div class="widget-body">
					<div class="widget-main">
						<div class="row">
							<div class="col-sm-12">
								<form class="form-horizontal" role="form" name="module_form" id="module_form" onsubmit="return validateForm()" method="post" action="<?php echo base_url()?>index.php/<?php echo REFILL_TRACK;?>list_refill_track">
								<div class="">
									<!-- PAGE CONTENT BEGINS -->

																								
									<div class="form-group">  
										<label class="col-sm-5 control-label" for="form-field-2" ><?php echo $lable_refill_tracking;?><font style="color:red">*</font></label>
										<div class="col-sm-7">	
											<?php	
												$admin_type_name_data=array('name'=>'refill_tracking_number',
																		'id'=>'refill_tracking_number',
																		'placeholder'=>'Enter Tracking Number ',
																		'value'=> '',
																		'style' => 'width:262px;'
																		);
												echo form_input($admin_type_name_data,'');
												echo form_error('refill_tracking_number');
											?>
											<span id="refill_tracking_number1" class="text-danger font-weight-bold"></span>
											<?php $this->session->userdata('msg');?>
										</div>
									</div>								
								</div>
								
							</div>
						</div>
					</div>	
				</div>
			</div>
		</div>
		<!-- /.col -->
	</div>
	<div class="clearfix form-actions">
		<div class="col-md-offset-5 col-md-5">
		
			<button class="btn btn-info" type="submit">
				 Search
			</button>
		</div>
	</div>
	</form>	
	<div class="space-4"></div>
		<!-- /.page-row -->
        <!-- /.page-content --> 
    </div>
    <!-- /.main-content --> 
	</div>
    <!-- /#ace-settings-container --> 
	</div>
	<!-- /.main-container-inner --> 
<?php
	include('common/footer.php');
?>
<script>
function hide()
{
	document.getElementById("admin_type_code").style.display="none";
}
function show()
{
	document.getElementById("admin_type_code").style.display="";
}
</script>

<script type="text/javascript">
    function validateForm(){

      var refill_tracking_number = document.getElementById('refill_tracking_number').value;                               
       if(refill_tracking_number == ""){
        document.getElementById('refill_tracking_number1').innerHTML =" ** Please fill the  Refill Tracking field";
        return false;
      }
    }
</script>