<? session_start();
$brcode=$_SESSION['brcode'];
$user=$_SESSION['user'];
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>

<link rel="stylesheet" href="../css/left.css" type="text/css" />
<base target=main>
<body topmargin="5" leftmargin="0" link=black vlink=black>
<center>
<font  size=4 face=sans-serif color='#fff'><b>SPARES REPORTS</font><hr>


<table  cellspacing=1 cellpadding=1 width=97%>
<tr ><td>&nbsp;&nbsp;<a href="opstockrepo.php">Opening Stock</a></td></tr>

<tr ><td>&nbsp;&nbsp;<a href="blank.html" onClick=funtr()><b>Transfer -></a></td></tr>


<tr ><td>&nbsp;&nbsp;<a href="blank.html" onClick=funinvo()><b>Invoice -></a></td></tr>
<tr ><td>&nbsp;&nbsp;<a href="blank.html" onClick=funmisc()><b>Miscellaneous -></a></td></tr>

<tr ><td>&nbsp;&nbsp;<a href="invreposum-br.php">Debtors Summary</a></td></tr>


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

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

<tr ><td>&nbsp;&nbsp;<a href="purrepo.php">Purchase</a></td></tr>

<tr ><td>&nbsp;&nbsp;<a href="preturnrepo.php">Purchase Return</a></td></tr>

<tr ><td>&nbsp;&nbsp;<a href="saleretrepo.php">Sales Return</a></td></tr>
<?

//<tr ><td>&nbsp;&nbsp;<a href="stockrepo.php">Stock Report</a></td></tr>
//<tr ><td>&nbsp;&nbsp;<a href="stockrepo1.php">Stock Report(lstprice)</a></td></tr>
?>
<tr ><td>&nbsp;&nbsp;<a href="stockrepo_br2.php" target='m'>Stock (All Branch)</a></td></tr>
<tr ><td>&nbsp;&nbsp;<a href="stockrepodw.php" target='m'>Stock Report D/W</a></td></tr>
<?
//<tr ><td>&nbsp;&nbsp;<a href="stkrepodwgr.php" target='m'>Stock Report GW D/W</a></td></tr>
?>
<tr ><td>&nbsp;&nbsp;<a href="stockaging3.php" target="m">Stock Ageing Report </a></td></tr>
<tr ><td>&nbsp;&nbsp;<a href="minstk.php" target='x'>Min.Stock</a></td></tr>

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

<?
}
?>

<tr ><td>&nbsp;&nbsp;<a href="adjrepo.php" target='x'>Stock ADJ </a></td></tr>

<tr ><td>&nbsp;&nbsp;<a href="traceitem.php">Trace Item</a></td></tr>

<tr ><td>&nbsp;&nbsp;<a href="stockled.php" target='stk'>Stock Ledger</a></td></tr>

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

<tr ><td>&nbsp;&nbsp;<a href="sparetrinwarph_allbr.php" target='war'>Warranty Pending From Telcon</a></td></tr>

<tr ><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>
