<head>
<meta charset="UTF-8">
<style>
table {
border-collapse:collapse;border: 1px solid black;
}
th,td {
border:1px solid black;
font-family: Cuprum;
font-size: 9px;

}
body {
font-family: Cuprum;
font-size: 9px;
}

</style>
</head>
<body style="margin:0px;padding:0px;">
<div style='border-bottom:1px solid;' align=center >ИНКАССАЦИЯ ТЕРМИНАЛА</div>
ИНН: $dealer.inn
Адрес: $dealer.address
Точка: $point.id, $point.address
<div style='border-bottom:1px solid;' align=center> </div>
Номер инкассации: $mc.id
Дата инкассации: $df.format($mc.date)
#if ($mc.lastDate)
Предыдущая инкассация: $df.format($mc.lastDate)
#end
<div style='border-bottom:1px solid;' align=center> </div>

#if (!$empty) 
#foreach($curr in $currencies)
<div style='border-bottom:1px solid;' align=center> </div>
Валюта: <b>$curr</b>

<table width=100% cellpadding=0 cellspacing=0>
<tr><td width=33%>Купюра</td><td width=22%>Кол</td><td width=45%>Cумма</td></tr>
#foreach($line in $lines.get($curr))
<tr><td>&nbsp;$line.nominalFmt</td><td>&nbsp;$line.count</td><td>&nbsp;$line.sumFmt</td></tr>
#end</table>
<div style='border-bottom:1px solid;' align=center> </div>
#set($tot = $totals.get($curr))
<b>ИТОГО: $tot.count шт., СУММА: $tot.sumFmt</b>
#end
#else
<div style='border-bottom:1px solid;' align=center> </div>
<center/><r>НАЛИЧНОСТЬ ОТСУТСТВУЕТ</r>
#end
<div style='border-bottom:1px solid;' align=center> </div>

