<!-- $Id: listreceipt.tpl,v 1.5 2001/03/30 00:46:29 bettina Exp $ -->

<p><b>&nbsp;&nbsp;&nbsp;{lang_action}</b><br>
<hr noshade width="98%" align="center" size="1">
<center>
<table border="0" width="100%">
    <tr>
	<td width="30%" align="left">
	<form action="{filter_action}" method="POST">
	<select name="filter" onChange="this.form.submit();"><option value="">{lang_select_dist}</option>{dist_list}</select>
	<noscript>&nbsp;<input type="submit" name="submit" value="{lang_submit}"></noscript></form></td>
	<td width="30%" align="center">{search_message}</td>
	<td width="30%" align="right">
	<form method="POST" action="{search_action}">
	<input type="text" name="query">&nbsp;<input type="submit" name="search" value="{lang_search}">
    </form></td>
    </tr>
    <tr>
	<td colspan="7">
	    <table border="0" width="100%">
	    <tr>
	    {left}
	    <td>&nbsp;</td>
	    {right}
	    </tr>
	    </table>
	</td>
    </tr>
</table>

{error}<br><br>

<table border="0" width="100%" cellpadding="2" cellspacing="2">
  <tr bgcolor="{th_bg}">
   <td widht="13%">{sort_id}</td>
   <td widht="15%">{sort_serial}</td>
   <td width="15%">{sort_name}</td>
   <td width="15%">{sort_category}</td>
   <td align=center width="13%">{sort_date}</td>
   <td align=right width="13%">{currency}&nbsp;{sort_cost}</td>
   <td align=center width="6%">{sort_stock}</td>
   <td align=center width="6%">{lang_view}</td>
   <td align=center width="6%">{lang_edit}</td>
  </tr>

<!-- BEGIN listreceipt -->

  <tr bgcolor="{tr_color}">
   <td>{id}</td>
   <td>{serial}</td>
   <td>{name}</td>
   <td>{category}</td>
   <td align=center>{date}</td>
   <td align=right>{cost}</td>
   <td align=center>{stock}</td>
   <td align=center><a href="{view}">{lang_view}</a></td>
   <td align=center><a href="{edit}">{lang_edit_entry}</a></td>
  </tr>

<!-- END listreceipt -->

<!-- BEGINN add   -->

  <tr valign="bottom">
  <td height="50">{add}</td>
   </tr>

<!-- END add -->

</table>
</center>