<?php
     include('../include/session.php');
       
    
	 $_SESSION['job_no']="";
	 
	 $_SESSION['error1']="";
	 	 	 
	 $_SESSION['job_no']=$_GET['job_no'];
	 $_SESSION['name']="";
	 
	 $_SESSION['delivery_date']  = date('Y-m-d');
	 $_SESSION['delivery_note_no']="";
	 $_SESSION['delivery_address']="";
	 $_SESSION['driver']="";
	 $_SESSION['vehicle']="";
	 $_SESSION['hour']="";
	 $_SESSION['min']="";
	 	 
	 	 
	 $table_name = $_SESSION['db_prefix']."_cash_deliver_lines_temp";
	 $delete_query = "DELETE FROM $table_name WHERE job_no = '".$_SESSION['job_no']."' AND user_name = '".$_SESSION['username']."' "; 
	 execsql($delete_query);
	 
	  
	 
	 $_SESSION['print_option']=0;  
	 $_SESSION['p'] = 1;
	 $_SESSION['error']=0;
	 $_SESSION['error3']='no';
	 $_SESSION['error4']='no';
	 $_SESSION['error5']='no';
	 $_SESSION['error6']='no';
	 
	 	
	 
     
?>

<script language="javascript" type="text/javascript">
        <!--
		  window.location="deliver_cash_saleWizbase.php?error=0&p=1&s=0";
        -->
       </script>
