<?php
	 echo"<div class='modal fade' id='Modaldis' tabindex='-1' role='dialog' aria-labelledby='exampleModalLabel' aria-hidden='true'>
  <div class='modal-dialog' role='document'><div class='modal-content'><div class='modal-header text-left'>
        <h5 class='modal-title' id='exampleModalLabel'>Z-REPORT
        <button class='pull-right close' data-dismiss='modal' type='button'>&times;</button></h5>

      </div><form action='' method='post'>
      <div class='modal-body text-left'><div class='row'>
			 	
		 <div class='form-group'>	 
			  <div class='col-md-5' align='right'>
			  <label class='control-label' style='padding-top:10px;'>Sales Date</label></div>	

	 <div class='col-md-6'>
	    <div class='input-group date' data-provide='datepicker'>
          <input name='dati' class='form-control text-center' type='text' value='$Date' onkeypress='return isNumberKey(event)' required>
	  <span class='input-group-addon'><i class='lnr lnr-calendar-full'></i></span></div></div>
		</div><div class='row'> </div>
		
			<div class='form-group'>	 
	    <div class='col-md-5' align='right'>
	<label class='control-label'> &nbsp; </label></div>	

	 <div class='col-md-6'> &nbsp; </div>
		</div><div class='row'> </div>

        <div class='form-group'>
			<div class='col-md-5' align='right'> 
    <label class='control-label' style='padding-top:10px;'>Sales Point</label>
        </div>
            <div class='col-md-6'>
<select class='form-control' name='sp' style='font-size:16px; height:34px;' required><option value=''> </option>";
        
        include'sales.php';
    $sso=mysqli_query($cons, "SELECT `Branch` FROM `datatable` WHERE `Status`='0' ORDER BY `Number` ASC");
		while($rro=mysqli_fetch_assoc($sso)){
			$pla=$rro['Branch'];
		echo"<option value='$pla'> $pla </option>";
		}
		include'connection.php';
		echo"<option value='TRANSPORT'> TRANSPORT </option></select>
            </div></div>
		<div class='row'> </div>
		
			<div class='form-group'>	 
			  <div class='col-md-5' align='right'>
			  <label class='control-label'> &nbsp; </label></div>	

	 <div class='col-md-6'> &nbsp; </div>
		</div>
		<div class='row'> </div>
			 	
		 <div class='form-group'>	 
			  <div class='col-md-5' align='right'>
		<label class='control-label' style='padding-top:10px;'>Sales / Vat </label></div>	

	 <div class='col-md-3'>
          <input name='sales' class='form-control text-center' type='text' onkeyup='format(this);' onkeypress='return isNumberKey(event)' placeholder='SALES' required>
            </div><div class='col-sm-3 col-xs-5' style='padding-left:0px; margin-left:0px;'>
	    
	    
          <input name='vat' class='form-control text-center' type='text' onkeyup='format(this);' onkeypress='return isNumberKey(event)' placeholder='VAT' required></div>
		</div>

		
	</div></div>
	
	<div class='modal-header text-right' style='height:50px; padding-top:15px;'>	
		<button type='button' class='btn btn-xs btn-danger' data-dismiss='modal' style='width:80px; height:26px;'> CANCEL </button>
        <button type='submit' name='addo' class='btn btn-xs btn-success' style='width:80px; height:26px;'> ADD </button></div>
      </form>
  </div></div>
</div>";
?>