<?php
     include('../include/session.php');
         
	 $_SESSION['job_card_no']="";
	 $_SESSION['job_card_no']=$_GET['job_card_no'];
	 $_SESSION['name']="";
	 $_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['invoice_amount']='';
		$_SESSION['invoice_no']='';
		$_SESSION['invoiced_by']='';
		$_SESSION['invoice_date']=date("Y-m-d");
		$_SESSION['invoice_notes']='';
			 
$_SESSION['error']=0;
     
?>
<script language="javascript" type="text/javascript">
        <!--
		  window.location="invoiceJobWizbase.php?error=0&p=1&s=0";
        -->
       </script>