| Current Path : /var/www/html/mmishra/irp/istore/ |
| Current File : /var/www/html/mmishra/irp/istore/ststockstatus.inc |
<h3>Stock Status</h3>
<center>
<table width='90%' border='1' style='border-collapse: collapse'>
<tr><th>No.</th><th>Item Description</th><th>Qty In</th><th>Qty Out</th><th>Dated</th></tr>
<?php
$rs = mysql_query("select * from st_items order by code");
while ($o = mysql_fetch_object($rs)) {
$i++;
echo "<tr><th>$i</th><td>".item_category($o->category).' ('.item_subcategory($o->subcategory).') '.item_detail($o->id)."</td>";
echo ($o->qty_in==0 ? "<th>$o->qty_in</th>" : "<td>$o->qty_in</td>")."<td>$o->qty_out</td><td nowrap>$o->dated</td></tr>";
}
?>
</table>
</center>