<!-- $Id: bill_listhours.tpl,v 1.25 2004/06/01 10:38:39 lkneschke Exp $ -->

{app_header}

<center>
{message}
{pref_message}
<form method="POST" action="{actionurl}">
{hidden_vars}
<table border="0" cellspacing="2" cellpadding="2">
	<tr>
		<td>{lang_choose}</td>
		<td>{choose}</td>
	</tr>
	<tr>
		<td>{lang_invoice_num}&nbsp;:</td>
		<td><input type=text name="values[invoice_num]" value="{invoice_num}"></td>
	</tr>
	<tr>
		<td>{lang_customer}&nbsp;:</td>
		<td>{customer}</td>
	</tr>
	<tr>
		<td>{lang_project}&nbsp;:</td>
		<td>{project}</td>
	</tr>
	<tr>
		<td>{lang_invoice_date}&nbsp;:</td>
		<td>{date_select}</td>
	</tr>
</table>
<table width="100%" border="0" cellspacing="2" cellpadding="2">
	<tr bgcolor="{th_bg}">
		<td width="5%" bgcolor="{th_bg}" align="center">{lang_select}</td>
		<td width="20%" bgcolor="{th_bg}">{lang_activity}</td>
		<td width="20%" bgcolor="{th_bg}">{lang_hours}</td>
		<td width="5%" bgcolor="{th_bg}" align="center">{lang_status}</td>
		<td width="10%" bgcolor="{th_bg}" align="center">{lang_start_date}</td>
		<td width="10%" bgcolor="{th_bg}" align="right">{lang_workunits}</td>
		<td width="10%" bgcolor="{th_bg}" align="right">{currency}&nbsp;{lang_billperae}</td>
		<td width="10%" bgcolor="{th_bg}" align="right">{currency}&nbsp;{lang_sum}</td>
		<td width="10%" bgcolor="{th_bg}" align="center">{lang_edit}</td>
	</tr>

<!-- BEGIN hours_list -->

	<tr bgcolor="{tr_color}">
		<td align="center">{select}</td>
		<td>{activity}</td>
		<td>{hours_descr}</td>
		<td align="center">{status}</td>
		<td align="center">{start_date}</td>
		<td align="right">{aes}</td>
		<td align="right">{billperae}</td>
		<td align="right">{sum}</td>
		<td align="center"><a href="{edithour}">{lang_edit_entry}</a></td>
	</tr>

<!-- END hours_list -->

</table><br><br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr bgcolor="{tr_color}">
		<td width="5%">&nbsp;</td>
		<td width="20%">&nbsp;</td>
		<td width="20%">&nbsp;</td>
		<td width="5%">&nbsp;</td>
		<td width="10%" align="center"><font size="4"><b>{currency}&nbsp;{lang_netto}</b></font></td>
		<td width="10%" align="right"><font size="4"><b>{sum_aes}</b></font></td>
		<td width="10%">&nbsp;</td>
		<td width="10%" align="right"><font size="4"><b>{sum_sum}</b></font></td>
		<td width="10%">&nbsp;</td>
	</tr>
</table>
<br>
<table width="69%" border="0" cellpadding="2" cellspacing="2">
	<tr>
		<td align="center">{invoice}</td>
		</form>

<!-- url zum druck -->

		<td align="center"><a href={print_invoice} target=_blank>{lang_print_invoice}</a></td>
		<td align="center"><form method="POST" action="{doneurl}"> 
			<input type="submit" name="done" value="{lang_done}"></form></td>
	</tr>
</table>
</center>
