#if ($operation.checkNumber=="-1")
#set($sumSent=$operation.sumResult.out.sum - 3)
#set($sumAdded=$SumFormatter.format($operation.sumResult.out.sum))
#else
#set($sumSent=$operation.sumResult.income.sum - 3)
#set($sumAdded=$SumFormatter.format($operation.sumResult.income.sum))
#end
#if ($deviceClass=="IppPrinter")
#if (!$operation.sumResult.out.isEmpty())
<left/>Qiwi - Agent Smith & Smith
<left/>IP-RO-0006-A-RO-008
<left/>Serviciu: Plata factura $operation.service.name
<left/>Suma transferata: <b>$SumFormatter.format($sumSent) LEI</b>
<left/>Comision: <b>3.00 LEI</b>
#else
<center>BON DE REST</center>
#end
<center/>------------------------------------
<left/>Chitanta: <b>$operation.checkNumber</b>
<left/>Terminal: <b>$point.id</b>
<left/>Data: <b>$dateFormat.format($operation.date)</b>
<left/>Adresa: <b>$point.address, $point.city</b>
<center/>------------------------------------
#if (!$operation.sumResult.out.isEmpty())
#if (!$operation.views.get("disp3").isEmpty())
<left/>Operator: <b>$operation.service.name</b>
#else
<left/>Operator: <b>$operation.views.get("disp3")</b>
#end
<left/>Incasat: <b>$sumAdded LEI</b>
#if ($operation.service.id == 15)
<left/>Cod Eneltel: <b>$operation.views.get("id1")</b>
#else
<left/>Cod client: <b>$operation.views.get("id1")</b>
#end
<left/>Numar factura: <b>$operation.views.get("id2")</b>
#elseif ($operation.sumResult.out.isEmpty())
#if ($operation.pinCode)		
<left/>Ati introdus: <b>$SumFormatter.format($operation.sumResult.income.sum) LEI</b>
#if ($operation.pincodeNominal)
<left/>Rest: <b>$SumFormatter.format($operation.pinCodeNominal) LEI</b>
#else
<left/>Rest: <b>$SumFormatter.format($operation.sumResult.change.sum) LEI</b>
#end
<left/>Cod rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
#end
#end
<center/>------------------------------------
<center/>Asigurati-va ca acest bon a fost tiparit
<center/>in prezenta dvs. Reclamatiile se admit numai
<center/>dupa prezentarea bonului.
<center/>Va rugam sa pastrati bonul!
<center/>------------------------------------
#if ($operation.sumResult.out.isEmpty())
<center/><b>Pentru eliberarea restului va rugam sunati la</b>
#end
<center/>Serviciul Clienti eAjutor:
<center/><b>$dealer.support</b>
<center/>$dealer.supportWorkTime
#elseif ($deviceClass=="PosPrinter")
#if (!$operation.sumResult.out.isEmpty())
<left/>Qiwi - Agent Smith & Smith
<left/>IP-RO-0006-A-RO-008
<left/>Serviciu: Plata factura $operation.service.name
<left/>Suma transferata: <b>$SumFormatter.format($sumSent) LEI</b>
<left/>Comision: <b>3.00 LEI</b>
#else
<center>BON DE REST</center>
#end
<center/>------------------------------------
<left/>Chitanta: <b>$operation.checkNumber</b>
<left/>Terminal: <b>$point.id</b>
<left/>Data: <b>$dateFormat.format($operation.date)</b>
<left/>Adresa: <b>$point.address, $point.city</b>
<center/>------------------------------------
#if (!$operation.sumResult.out.isEmpty())
#if (!$operation.views.get("disp3"))
<left/>Operator: <b>$operation.service.name</b>
#else
<left/>Operator: <b>$operation.views.get("disp3")</b>
#end
<left/>Incasat: <b>$sumAdded LEI</b>
#if ($operation.service.id == 15)
<left/>Cod Eneltel: <b>$operation.views.get("id1")</b>
#else
<left/>Cod client: <b>$operation.views.get("id1")</b>
#end
<left/>Numar factura: <b>$operation.views.get("id2")</b>
#elseif ($operation.sumResult.out.isEmpty())
#if ($operation.pinCode)		
<left/>Ati introdus: <b>$SumFormatter.format($operation.sumResult.income.sum) LEI</b>
#if ($operation.pincodeNominal)
<left/>Rest: <b>$SumFormatter.format($operation.pinCodeNominal) LEI</b>
#else
<left/>Rest: <b>$SumFormatter.format($operation.sumResult.change.sum) LEI</b>
#end
<left/>Cod rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
#end
#end
<center/>------------------------------------
<center/>Asigurati-va ca acest bon a fost tiparit
<center/>in prezenta dvs. Reclamatiile se admit numai
<center/>dupa prezentarea bonului.
<center/>Va rugam sa pastrati bonul!
<center/>------------------------------------
#if ($operation.sumResult.out.isEmpty())
<center/><b>Pentru eliberarea restului va rugam sunati la</b>
#end
<center/>Serviciul Clienti eAjutor:
<center/><b>$dealer.support</b>
<center/>$dealer.supportWorkTime
#end