#if ($deviceClass=="IppPrinter")
#if (!$operation.sumResult.out.isEmpty())
<center><img src="file:///${app_path}/templates/logo/paysafecard.png"></center>
<center/><b>NTS Pay<br>SISTEM DE PLATI INTELIGENT</b>
#elseif ($operation.sumResult.out.isEmpty())
<center/><b>BON DE REST</b>
#end

<left/><b>$dealer.name</b>
<left/>CUI: <b>$dealer.inn, J$dealer.ogrn</b>
<left/><b>$dealer.address</b>
<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/>------------------------------------
<left/>Operator: <b>$operation.service.name</b>
<left/>Incasat: <b>$SumFormatter.format($operation.sumResult.income.sum) LEI</b>
<left/>Cod client: <b>$operation.views.get("id1")</b>
<left/>Numar factura: <b>$operation.views.get("id2")</b>
#if ($operation.sumResult.out.isEmpty())
<center/>------------------------------------
<left/>Rest: <b>$SumFormatter.format($operation.sumResult.change.sum) LEI</b>
<left/>Cod rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
#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/>Pentru orice intrebari legate de functionarea acestui aparat va rugam sa apelati
#else
<center/><b>Pentru eliberarea restului va rugam sunati la</b>
#end
<center/>Serviciul Clienti eAjutor:
<center/><b>$dealer.support</b>
<center/>$dealer.supportWorkTime

#if (!$operation.sumResult.out.isEmpty())
<center/><b>MULTUMIM CA ATI ALES NTS Pay!</b>
<center/>Serviciu oferit in parteneriat cu QIWI!
#end
#elseif ($deviceClass=="PosPrinter")
#if (!$operation.sumResult.out.isEmpty())
<center/><img src="rcsrds_pos.png"/>
<center/><b>NTS Pay<br>SISTEM DE PLATI INTELIGENT</b>
#elseif ($operation.sumResult.out.isEmpty())
<center/><b>BON DE REST</b>
#end

<left/><b>$dealer.name</b>
<left/>CUI: <b>$dealer.inn, J$dealer.ogrn</b>
<left/><b>$dealer.address</b>
<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/>------------------------------------
<left/>Operator: <b>$operation.service.name</b>
<left/>Incasat: <b>$SumFormatter.format($operation.sumResult.income.sum) LEI</b>
<left/>Cod client: <b>$operation.views.get("id1")</b>
<left/>Numar factura: <b>$operation.views.get("id2")</b>
#if ($operation.sumResult.out.isEmpty())
<center/>------------------------------------
<left/>Rest: <b>$SumFormatter.format($operation.sumResult.change.sum) LEI</b>
<left/>Cod rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
#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/>Pentru orice intrebari legate de functionarea acestui aparat va rugam sa apelati
#else
<center/><b>Pentru eliberarea restului va rugam sunati la</b>
#end
<center/>Serviciul Clienti eAjutor:
<center/><b>$dealer.support</b>
<center/>$dealer.supportWorkTime

#if (!$operation.sumResult.out.isEmpty())
<center/><b>MULTUMIM CA ATI ALES NTS Pay!</b>
<center/>Serviciu oferit in parteneriat cu QIWI!
#end
#end