{include file="clearheader.html"}
<!--// $Id$ //-->
<TABLE WIDTH="100%" CELLPADDING="3" ALIGN="CENTER">
	<TR>
		<TD WIDTH="535" VALIGN="TOP">
			<H1>{$layout.pagetitle}</H1>
		</TD>
		<TD WIDTH="180" ALIGN="RIGHT" NOWRAP>
			LMS {$layout.lmsv} @ {$layout.hostname}<BR>
			{t a=trans($smarty.now|date_format:"l") b=$smarty.now|date_format:"Y-m-d"}<!date-format>$a, $b{/t}
			<br>
			{t a=$layout.logname}Created by: $a{/t}
		</TD>
	</TR>
</TABLE>
<BR>
<TABLE WIDTH="100%" CELLPADDING="3" BORDER="1" ALIGN="CENTER">
	<TR>
		<TD WIDTH="15" CLASS="HEAD" ALIGN="CENTER">
			{trans("No.")}
		</TD>
		<TD WIDTH="50" CLASS="HEAD" ALIGN="CENTER">
			{trans("Date")}
		</TD>
		<TD WIDTH="150" CLASS="HEAD" ALIGN="CENTER">
			{trans("Value")}
		</TD>
	</TR>
	{cycle values="white,grey" print=false}
	{section name=incomelist loop=$incomelist}
	<TR class="{cycle}">
		<TD ALIGN="CENTER">
			{counter}.
		</TD>
		<TD ALIGN="CENTER" NOWRAP>
			{$incomelist[incomelist].date|date_format:"d.m.Y"}
		</TD>
		<TD ALIGN="RIGHT" NOWRAP>
			{moneyf($incomelist[incomelist].value)}
		</TD>
	</TR>
	{sectionelse}
	<tr>
		<td colspan="3" class="empty-table">
			{trans("No such cash operations.")}
		</td>
	</tr>
	{/section}
	<TR>
		<TD CLASS="HEADGREY" ALIGN="CENTER"></TD>
		<TD CLASS="HEADGREY" ALIGN="CENTER" NOWRAP>
			<B>{trans("Total:")}</B>
		</TD>
		<TD CLASS="HEADGREY" ALIGN="RIGHT" NOWRAP>
			<B>{sum column=value array=$incomelist assign="total_value"}{moneyf($total_value)}</B>
		</TD>
	</TR>
</TABLE>
{include file="clearfooter.html"}
