<?php include ("header1.php");
 $querylogin = "select * from  mst_users where user_name = '". $_SESSION["LOGIN_NAME"]."' AND password = '".$_SESSION["EMPLOYEE_PASSWORD"]."'";
$resultlogin = mysqli_query($conn,$querylogin);
while($row=mysqli_fetch_array($resultlogin))
{
$user_name = $row['user_name'];
$user_id = $row['user_id'];
$first_name = $row['first_name'];
 $login_type_admin=$row['login_type'];
}
 

?>
  <div class="content-page">
    <div class="content">
      <div class="container">
        <div class="row">
          <div class="col-sm-12">
            <div class="page-header-title">
			<button type="button" class="btn btn-dark  waves-effect waves-light" onclick="location.href='customer_po.php'">BACK</button>
			
              <div class="clearfix"></div>
            </div>
          </div>
        </div>
     <form name="chkForm" id="chkForm" action="view_all_delivery_detalils1.php"  method="post" >
<div class="col-sm-6">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Search</h3>
</div>
<div class="panel-body">
<div class="row">
<div class="col-sm-12 col-xs-12">
<div class="form-group">
<label>From Date</label>
<div class="input-group">
<input type="text" class="form-control" placeholder="yyyy-mm-dd" id="datepicker" name="datepicker" value="<?php echo $_REQUEST['datepicker']; ?>">
<span class="input-group-addon bg-custom b-0"><i class="mdi mdi-calendar text-white"></i></span></div>
</div>
</div>
<div class="col-sm-12 col-xs-12">
<div class="form-group">
<label>To Date</label>
<div class="input-group">
<input type="text" class="form-control" placeholder="yyyy-mm-dd" id="datepicker-autoclose" name="datepicker1"value="<?php echo $_REQUEST['datepicker1']; ?>" >
<span class="input-group-addon bg-custom b-0"><i class="mdi mdi-calendar text-white"></i></span></div>
</div>
</div>

 <div class="col-sm-12 col-xs-12"><div class="form-group">
                                                        <label>Customer Name </label>
   <select name="customer_id" class="form-control">
<option value="" >Select Customer</option>
<?php 
$qry97 = "select * from mst_customer ORDER BY customer_id  ASC";
$re97 = mysqli_query($conn,$qry97);
while($row=mysqli_fetch_array($re97))
{
$customer_id = $row['customer_id'];

$customer_name = $row['customer_name'];
?>
<option value="<?php echo $customer_id?>"><?php echo $customer_name?></option>
<?php }?>
</select>	
                                                    </div>
													</div>
													

<div class="col-sm-12 col-xs-12">
<div class="m-t-20">
<div class="form-group">
<div>
<button type="submit" class="btn btn-primary waves-effect waves-light"> Submit </button>
<input type="reset" class="btn btn-primary " value="Reset" onClick="window.location='index.php'">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
        
        
        
      </div>
    </div>
	<?php include 'footer1a.php';?>