<?
session_start();
$brcode=$_SESSION['brcode'];
$user=$_SESSION['user'];
include("opendb.php");
include("test.php");
//ioi
?>
<link rel="stylesheet" href="style.css" type="text/css" />

<style>
	//tr1{background-color:white}
	th{background-color:steelblue;color:white}
</style>
<center>

<h3> Branch Stock and Ageing report</H3>
<form action='newstock1brnew.php' method='post'>
<table cellspacing=1 cellpadding=1 bgcolor='steelblue'>
<tr><td bgcolor='white' align=center>
<table class=noprint>
<tr><td>Date from </td><td>dd <input type=text name='d1' size=2 value='01'>
mm <input type=text name='m1' size=2 value='04'>
yy <input type=text name='y1' size=4 value='2018'></td></tr>

<tr><td align=right>to </td><td>dd <input type=text name='d2' size=2 value='<?print date("d")?>'>
mm <input type=text name='m2' size=2 value='<?print date("m")?>'>
yy <input type=text name='y2' size=4 value='<?print date("Y")?>'>
</td></tr>
<tr><td><h4>Ageing Parameters</H4></td></tr>
<tr><td align=right>A</td><td>Days <input type=text name='thirt' size=5 value='30'></td><td align=right><=A</td></tr>
<tr><td align=right>B</td><td>Days <input type=text name='sixt' size=5 value='60'></td><td align=right>A><=B</td></tr>
<tr><td align=right>C</td><td>Days <input type=text name='nint' size=5 value='90'></td><td align=right>B><=C</td></tr>
<tr><td align=right></td><td>Days <input type=text readonly name='nin' size=5 value='>C'></td><td align=right>>C</td></tr>
<tr><td colspan=2 align=center bgcolor='lightsteelblue'><input type=submit value='Show' name='show'></td></tr>
</table>
</td></tr>
</table>
</form>
<font color=red> New.........</font>
