<?php

     include('../include/session.php');
	 
	 $_SESSION['company_name'] ="";
	 $_SESSION['name'] ="";
	 $_SESSION['id'] = "";
     $_SESSION['type'] ="";
	 $_SESSION['sort'] ="";
     $_SESSION['contact'] = "";
	 $_SESSION['cell'] = "";
	 $_SESSION['bag_box'] = "";
	 $_SESSION['box_number'] = "";
	 $_SESSION['post_place'] = "";
	 $_SESSION['phone'] = "";
	 $_SESSION['fax'] = "";
	 $_SESSION['email'] = "";
	 $_SESSION['reference'] = "";
	 $_SESSION['comp_contact'] = "";
	 $_SESSION['contact_phone'] = "";
	 $_SESSION['project_no'] = "";
	 $_SESSION['project_place'] = "";
	 $_SESSION['description'] = "";
	 $_SESSION['seller'] = "";
	 $_SESSION['quote_type']  = "";
	 $_SESSION['transport']  = "0.00";
	 $_SESSION['discount'] = "0";
	 $_SESSION['quote_date'] = date('Y-m-d');
	 $_SESSION['check_date'] = date('Y-m-d');
	  
	 	 
	 $_SESSION['sub_total'] = '';
	 $_SESSION['discount_amount'] = '';
	 $_SESSION['sub_total2'] = '';
	 $_SESSION['vat_amount'] = '';
	 $_SESSION['all_total'] = '';
	 
	 $table_name = $_SESSION['db_prefix']."_presets";
	 $preset_query = "SELECT  preset_value  FROM $table_name WHERE preset_name = 'VAT' ";
	 $preset_result = mySQL_query($preset_query);
	 $_SESSION['vat'] = mysql_result($preset_result, 0, "preset_value");
	  
	 $_SESSION['p'] = 1;
	 $_SESSION['error']=0;
	 
	$table_name = $_SESSION['db_prefix']."_cash_quotation_lines_temp";
	$delete_query = "DELETE FROM $table_name WHERE user_name = '".$_SESSION['username']."'   "; 
	execsql($delete_query);
     
?>
<script language="javascript" type="text/javascript">
        <!--
		  window.location="newQuoteWizbase.php?error=0&p=1&s=0";
        -->
       </script>