<? session_start();
if(strlen($brcode)<=0)
{
 print "<script> alert('Session timed out'); parent.document.location='../index.html'; </script>";
 return;
}
?>
<SCRIPT>
parent.main.document.location="../blank.html";
</script>
<style>
td{background-color:ivory;font-family:'arial narrow';letter-spacing:1;}
.mnu{margin-left:5}
a{text-decoration:none}
</style>

<body bgcolor='aliceblue'>

<base target=main>
<body topmargin="5" leftmargin="0" link=black vlink=black>
<center>
<font  size=4 face=sans-serif><b>SPARES REPORTS</font><hr>


<table bgcolor=brown cellspacing=1 cellpadding=1 width=97%>
<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="opstockrepo.php">Opening Stock</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="blank.html" onClick=funtr()><b>Transfer -></a></td></tr>


<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="blank.html" onClick=funinvo()><b>Invoice -></a></td></tr>
<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="blank.html" onClick=funmisc()><b>Miscellaneous -></a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="invreposum-br.php">Debtors Summary</a></td></tr>


<?
if($brcode=='ERA153')
{
?>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="invreposum-era.php">Debtors Summ(All Br)</a></td></tr>
<!-- 
<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="invrepostat-era.php">Invoice Receipt Status</a></td></tr>
-->
<?
}
else
{
?>
<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="invrepostat.php">Invoice Receipt Status</a></td></tr>
<?
}
?>
<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="invrepobr.php" target='m'>Telcon Daily Report</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="purrepo.php">Purchase</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="preturnrepo.php">Purchase Return</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="saleretrepo.php">Sales Return</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="stockrepo.php">Stock Report</a></td></tr>
<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="stockrepo1.php">Stock Report(lstprice)</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="stockrepodw.php" target='m'>Stock Report D/W</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="stkrepodwgr.php" target='m'>Stock Report GW D/W</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="stockrepo_br2.php" target='x'>Stock Report (All Br)</a></td></tr>
<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="stockreposum.php" target='x'>Stock Report (Summary)</a></td></tr>
<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="minstk.php" target='x'>Min.Stock</a></td></tr>

<?
if($brcode=='SER516')
{
?>
<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="report/stkrepotelcon.php" target='x'>Stock Report (<font color='darkbrown'>Telcon</font>)</a></td></tr>

<?
}
?>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="adjrepo.php" target='x'>Stock ADJ </a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="traceitem.php">Trace Item</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="stockled.php" target='stk'>Stock Ledger</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="warpending.php">Warranty Pending (BR)</a></td></tr>
<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="warpending_all.php" target='war'>Warranty Pending (At BR)</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="sparetrinwarph_allbr.php" target='war'>Warranty Pending From Telcon</a></td></tr>

<tr bgcolor=silver onMouseOver=bgColor='aliceblue'; onMouseOut=bgColor='silver'><td>&nbsp;&nbsp;<a href="../sparemnu.php" onClick=fun1()><- Back</a></td></tr>

</table>
<script>
function fun1()
{
 document.location='../sparemnu.php';
}
function funinvo()
{
 document.location='invrepomnu.php';
}

function funtr()
{
 document.location='trrepomnu.php';
}
function funmisc()
{
 document.location='miscrepomnu.php';
}
</script>
