<?
session_start();
include("../opendb.php");
include("../test.php");

?>
<link rel="stylesheet" href="../style.css" type="text/css" />
<style>
	tr{background-color:white}
	th{background-color:steelblue;color:white}
</style>
<center>
<form name="f1" action="transout2.php" method=post>
<table border=0 cellspacing=1 cellpadding=3>
<th colspan=6><b>WTY Against Order</b></th>
<tr><td>Tax Type</td><td>
<select name='vatorcst'>
<option>VAT</option>
</select>
</td>

<td>Type</td><td>
<select name='taxtype'>
<option>8B</option>
</select></td>
<?
$sq=mysqli_query($db,"select distinct orderno from saleorder_sparetrfr where brcode='$brcode' and sqty>sup_qty order by orderno desc")or die (mysqli_error($db));
print "<td>Sale Order No</td><td>";
print "<select name='pono'>";
print "<option></option>";
while($pn=mysqli_fetch_array($sq))
{
print "<option>$pn[orderno]</option>";
}
print "</select></td></tr>";

?>
<th colspan=6><input type=submit value="Next->" name="sv">
</table>
</form>
