{include file="clearheader.html"} {$colspan = 5 + count($types)}

{$layout.pagetitle} {if $net}
{trans("Network:")} {$net}{/if} {if !empty($groups)}
{trans("Groups:")} {implode(', ', $groups)} {/if} {if $division}
{trans("Division")}: {$division}{/if} {if strlen($typetxt)}
{trans("Type:")} {$typetxt}{/if} {if $source}
{trans("Source:")} {$source}{/if}

LMS {$layout.lmsv} @ {$layout.hostname}
{t a=trans($smarty.now|date_format:"l") b=$smarty.now|date_format:"Y-m-d"}$a, $b{/t}
{t a=$layout.logname}Created by: $a{/t}

{if isset($types[1])} {/if} {if isset($types[2])} {/if} {if isset($types[3])} {/if} {cycle values="white,grey" print=false} {foreach $balancelist as $item} {if isset($types[1])} {/if} {if isset($types[2])} {/if} {if isset($types[3])} {/if} {foreachelse} {/foreach} {if isset($types[1])} {/if} {if isset($types[2])} {/if} {if isset($types[3])} {/if}
{trans("No.")} {trans("Date")} {trans("Liability")} {trans("Income")} {trans("Expense")} {trans("After")} {trans("Customer")} {trans("Description")}
{counter}. {$item.time|date_format:"d.m.Y"} {if $item.covenant}{moneyf($item.value*-1, $item.currency)}{else}-{/if} {if !$item.covenant && $item.value > 0}{moneyf($item.value, $item.currency)}{else}-{/if} {if !$item.covenant && $item.value < 0}{moneyf($item.value*-1, $item.currency)}{else}-{/if} {if $item.covenant} - {else} {moneyf($item.after)} {/if} {$item.customername} {if !$hideid}(#{$item.customerid}){/if} {if !$hideaddress}
{$item.address}, {if strlen($item.zip)}{$item.zip} {/if}{$item.city} {/if} {if !$hidessnten && ($item.ctype == $smarty.const.CTYPES_PRIVATE && strlen($item.ssn) || $item.ctype == $smarty.const.CTYPES_COMPANY && strlen($item.ten))}
{if $item.ctype == $smarty.const.CTYPES_PRIVATE} {t a=$item.ssn}SSN: $a{/t} {else} {t a=$item.ten}TEN: $a{/t} {/if} {/if}
{$item.comment|wordwrap:42:"
\n"}
{trans("No such cash operations.")}
{trans("Total:")} {$listdata.liability|money_format} {$listdata.income|money_format} {$listdata.expense|money_format} {trans("Balance:")} {$listdata.total|money_format}
{include file="clearfooter.html"}