##=====================================================================================================
##================================== IP PRINTER =======================================================
##=====================================================================================================
#if($deviceClass=="IppPrinter")
#if (!$operation.sumResult.out.isEmpty())
<center><img src="file:///${app_path}/templates/logo/paypal.png"></center>
#end
<center/><b>NTS Pay</b>
<center/><b>SISTEM DE PLATI INTELIGENT</b>
#if ($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/>Numar terminal: <b>$point.id</b>
<left/>Data si ora: <b>$dateFormat.format($operation.date)</b>
<left/>Numar chitanta: <b>$operation.checkNumber</b>
<left/>Adresa: <b>$point.city, $point.address</b>

#if (!$operation.sumResult.out.isEmpty())
<left/>Serviciul: <b>$operation.service.name
<left/>Numar telefon Prepay: <b>$operation.views.get("id1").replaceAll("(\d{3})(\d{3})(\d{4})","$1.$2.$3")</b>
<left/>Incarcat: <b>$SumFormatter.format($operation.sumResult.income.sum) RON (TVA 19% inclus.) / $SumFormatter.format($operation.sumResult.outProv.sum) EUR</b>
#end
## ======================================================================================================
## =============================== SUCCESS AND REST =====================================================
#if (!$operation.sumResult.out.isEmpty())
#if ($operation.pinCode)
<left/>Incasat: $SumFormatter.format($operation.sumResult.income.sum) RON
#if ($operation.pincodeNominal)
<left/>Rest*: $SumFormatter.format($operation.pinCodeNominal) RON
#else
<left/>Rest*: $SumFormatter.format($operation.sumResult.change.sum) RON
#end
<left/>Cod PIN rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
<center/><div style="padding:3px 0 0 0;">*Pentru eliberarea restului va rugam sunati la:
<center/>Serviciul Clienti eAjutor:
<center/><b>073.702.8363, 021.269.0167</b>,
<center/>Luni-Vineri intre orele 9:00-18:00.
#end
## =============================== ONLY REST ============================================================
#elseif ($operation.sumResult.out.isEmpty())
#if ($operation.pincodeNominal)
<left/><font size="2">Rest: <b>$operation.pinCodeNominal RON</b></font>
#else
<left/><font size="2">Rest: <b>$operation.sumResult.change.sum RON</b></font>
#end
<left/><font size="2">Cod rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b></font>
#end
## =============================== END REST =============================================================
## ======================================================================================================
#if (!$operation.sumResult.out.isEmpty())
<center/><b>RELATII CLIENTI VODAFONE: *222</b>
<left/>Dupa cumparare, contravaloarea sa nu se poate restitui sub nici o forma. Vodafone si $dealer.name nu raspunde in nici un fel pentru pierderea sau deteriorarea acestui document. Cumparatorul este de acord cu toate conditiile de mai sus. Falsificarea acestui document se pedepseste conform legii penale.
<center/><b>RELATII CLIENTI VODAFONE: *222</b>
#end
<center/>----------------------------
<left/>Asigurati-va ca acest bon a fost tiparit in
prezenta dvs. Va rugam sa pastrati bonul.
<left/>Orice reclamatii se admit numai dupa
prezentarea bonului.

#if (!$operation.sumResult.out.isEmpty())
<center/><b>TRANZACTIE REUSITA</b>
<center/>----------------------------
<center/>Pentru orice intrebari legate de functionarea
acestui terminal de plata va rugam sa apelati:
#elseif ($operation.sumResult.out.isEmpty())
<center/><b>ATENTIE, TRANZACTIE NEREUSITA!</b>
<center/>----------------------------
<center/>Pentru eliberarea suma introdusa sunati la:
#end
<center/>Serviciul Clienti eAjutor:
<center/><b>073.702.8363, 021.269.0167</b>,
<center/>Luni-Vineri intre orele 9:00-18:00.

<center/><b>MULTUMIM CA ATI ALES NTS Pay!</b>

<center/>Serviciu oferit in parteneriat cu QIWI!
##=====================================================================================================
##================================== POS PRINTER ======================================================
##=====================================================================================================
#elseif ($deviceClass=="PosPrinter")
#if (!$operation.sumResult.out.isEmpty())
<center/><img src="vodafone_pos.png"/>
#end
<center/><b>NTS Pay</b>
<center/><b>SISTEM DE PLATI INTELIGENT</b>

#if ($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/>Numar Terminal: <b>$point.id</b>
<left/>Data Tranzactie: <b>$dateFormat.format($operation.date)</b>
<left/>Numar Tranzactie: <b>$operation.checkNumber</b>
<left/>Adresa Terminal: <b>$point.city, $point.address</b>

#if (!$operation.sumResult.out.isEmpty())
<left/>Serviciul: <b>$operation.service.name</b>
<left/>Numar telefon Prepay: <b>$operation.views.get("id1").replaceAll("(\d{3})(\d{3})(\d{4})","$1.$2.$3")</b>
<left/>Incarcat: <b>$SumFormatter.format($operation.sumResult.income.sum) RON (TVA 19% inclus.) / $SumFormatter.format($operation.sumResult.outProv.sum) EUR</b>
#end
## ======================================================================================================
## =============================== SUCCESS AND REST =====================================================
#if (!$operation.sumResult.out.isEmpty())
#if ($operation.pinCode)
<left/>Incasat: <b>$SumFormatter.format($operation.sumResult.income.sum) RON</b>
#if ($operation.pincodeNominal)
<left/>Rest*: <b>$SumFormatter.format($operation.pinCodeNominal) RON</b>
#else
<left/>Rest*: <b>$SumFormatter.format($operation.sumResult.change.sum) RON</b>
#end
<left/>Cod PIN rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
<center/>Pentru eliberarea sumei introduse sunati la:
<center/>Serviciul Clienti eAjutor:
<center/><b>073.702.8363, 021.269.0167</b>,
<center/>Luni-Vineri intre orele 9:00-18:00.
#end
## =============================== ONLY REST ============================================================
#elseif ($operation.sumResult.out.isEmpty())
#if ($operation.pincodeNominal)
<left/>Rest: <b>$operation.pinCodeNominal RON</b>
#else
<left/>Rest: <b>$operation.sumResult.change.sum RON</b>
#end
<left/>Cod PIN rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
#end
## =============================== END REST =============================================================
## ======================================================================================================
#if (!$operation.sumResult.out.isEmpty())
<center/><b>RELATII CLIENTI VODAFONE: *222</b>
<center/>----------------------------
<left/>Dupa cumparare contravaloarea sa nu se poate
restitui sub nici o forma. Vodafone si
$dealer.name nu raspunde in nici un
fel pentru pierderea sau deteriorarea acestui
document. Cumparatorul este de acord cu toate
conditiile de mai sus. Falsificarea acestui
document se pedepseste conform legii penale.
#end
<center/>----------------------------
<left/>Asigurati-va ca acest bon a fost tiparit in
prezenta dvs. Va rugam sa pastrati bonul.
<left/>Orice reclamatii se admit numai dupa
prezentarea bonului.

#if (!$operation.sumResult.out.isEmpty())
<center/><b>TRANZACTIE REUSITA</b>
<center/>----------------------------
<center/>Pentru orice intrebari legate de functionarea
acestui terminal de plata va rugam sa apelati:
#elseif ($operation.sumResult.out.isEmpty())
<center/><b>ATENTIE, TRANZACTIE NEREUSITA!</b>
<center/>----------------------------
Pentru eliberarea sumei introduse sunati la:
#end
<center/>Serviciul Clienti eAjutor:
<center/><b>073.702.8363, 021.269.0167</b>,
<center/>Luni-Vineri intre orele 9:00-18:00.

<b>MULTUMIM CA ATI ALES NTS Pay!</b>

<center/>Serviciu oferit in parteneriat cu QIWI!
#end
