<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  
<script language="JavaScript" src="../jscript/gen_validatorv4.js"  type="text/javascript" xml:space="preserve"></script>

<?php

//include('../include/db.php');
include('../include/session.php');	

$quote_no=$_GET['quote_no'];
$status=$_GET['status'];
$p=$_GET['p'];

?>

<script language="JavaScript" src="../jscript/go_to_url.js"  type="text/javascript"></script> 

<link rel="stylesheet" type="text/css" href="../css/pop_up.css" />

</head>
<body >
<form action="save_undo_quote.php" method="get" name="form1" target="_top" id="form1">

<table width="449" border="0" align="center" cellpadding="0" cellspacing="0" class="list2">
  <tr>
  <?php if ($status=='undo') { ?>
    <td width="212" align="center"><label class="label_std">Do you want to undo the acceptance of Quotation no Q<?php echo $quote_no ?>?<br /><br />

If you select "Yes", the status of this quotation will be reversed to "Pending"</label>
	  <input name="quote_no_text" type="hidden" value="<?php echo $quote_no ?>" />
      </td>
  <?php } ?> 
  <?php if ($status=='cancel') { ?>
    <td width="222" align="center"><label class="label_std">Do you want to cancel this wizard for creating a job from quote Q<?php echo $quote_no ?>?<br />
<br />
If you select "Yes", the status of this quotation will be reversed to "Pending"</label>
	<input name="quote_no_text" type="hidden" value="<?php echo $quote_no ?>" />
      </td>
  <?php } ?>  
  </tr>
  <tr>
    <td height="45" align="center"><br />
      <input name="input" type="submit" value="Yes" class="imagebutton"  />
      <input name="button" type="button" class="imagebutton" id="button" onclick="MM_goToURL('parent','../sales/acceptanceWizbase.php?p=<?php echo $p ?>&s=');return document.MM_returnValue"  value="Cancel" />      
    </td>
  </tr>
</table>
</form>

</body>
</html>