<?php
     include('../include/session.php');
         
	 $_SESSION['job_card_no']="";
	 $_SESSION['mworks']="";	 
	 $_SESSION['job_card_no']=$_GET['job_card_no'];
	 $_SESSION['name']="";
	 $_SESSION['inspection_date']=date("Y-m-d");
	 $_SESSION['cust_id']='';
	 
	 	//$table_name = $_SESSION['db_prefix']."_compiled_jobs";
//	 	$job_query = "SELECT * FROM $table_name WHERE job_card_no = '".$_SESSION['job_card_no']."' ";
//	 	$job_result = mySQL_query($job_query);
//	 	$_SESSION['quote_note'] = mysql_result($job_result, 0, "quote_note");
		
		$_SESSION['line_num'] = '0';
		$i=0;
		while ($i<10) {
			$_SESSION['component'.$i] = '';
			$_SESSION['new_produced'.$i] = '';
			$i++;
		}	

       		
		
		$_SESSION['approved']='';
		$_SESSION['inspect']='';
		$_SESSION['inspection_notes']='';		
	 
$_SESSION['error']=0;
     
?>
<script language="javascript" type="text/javascript">
        <!--
		  window.location="producedJobWizbase.php?error=0&p=1&s=0";
        -->
       </script>