<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>
<table width=100% cellpadding=0 cellspacing=0>
<tr><td width=33%>Купюра</td><td width=22%>Кол</td><td width=45%>Cумма</td></tr>
#foreach($bn in $units)
#if ($mc.keeper.cashUnits.get($bn))
<tr><td>$bn.getNominal()</td><td>$mc.keeper.cashUnits.get($bn)</td><td>$bn.nominal.mul($mc.keeper.cashUnits.get($bn))</td></tr>
#else
<tr><td>$bn.getNominal()</td><td>0</td><td>0</td></tr>
#end #end</table>
Всего купюр: $total
Общая сумма: $mc.keeper.getSum()</br>

$barcode.genTagQR($total,"total")
</body>