##=====================================================================================================
##================================== IP PRINTER =======================================================
##=====================================================================================================
#if($deviceClass=="IppPrinter")
#if (!$operation.sumResult.out.isEmpty())
<center><img src="file:///${app_path}/templates/logo/paysafe.png"></center>
#end
<center><b><font size="2">NTS Pay</font><br>SISTEM DE PLATI INTELIGENT</b></center>
#if ($operation.sumResult.out.isEmpty())
<center>BON DE REST</center>
#end
$dealer.name
CUI: $dealer.inn, J$dealer.ogrn
$dealer.address
<hr>Numar Terminal: $point.id
Data Tranzactie: $dateFormat.format($operation.date)
Numar Tranzactie: $operation.checkNumber
Adresa Terminal: $point.city, $point.address

#if (!$operation.sumResult.out.isEmpty())
Serviciul: $operation.service.name
<b>Preti: $SumFormatter.format($operation.sumResult.income.sum) RON</b>
#if ($operation.views.get("pincode"))
Serie e-Voucher: $operation.views.get("serial")
Valabilitate: $operation.views.get("pinCodeValidDate")
#end
#end
## ======================================================================================================
## =============================== SUCCESS AND REST =====================================================
#if (!$operation.sumResult.out.isEmpty())
#if ($operation.pinCode)
Ati introdus: $SumFormatter.format($operation.sumResult.income.sum) RON
#if ($operation.pincodeNominal)
Rest*: $SumFormatter.format($operation.pinCodeNominal) RON
#else
Rest*: $SumFormatter.format($operation.sumResult.change.sum) RON
#end
<b>Cod rest: $renderHelper.formatPinCode($operation.pinCode)</b>
<center><div style="padding:3px 0 0 0;">*Pentru eliberarea restului va rugam sunati la
Serviciu Clienti eAjutor: 073.702.8363, 021.269.0167, 
Luni-Vineri inte orele 9:00-18:00.</div></center>
#end
<center><b><font size="2">COD DE REINCARCARE:
$operation.views.get("pincode")</font></b></center>
## =============================== ONLY REST ============================================================
#elseif ($operation.sumResult.out.isEmpty())
#if ($operation.pincodeNominal)
<b><font size="2">Rest: $operation.pinCodeNominal RON</font></b>
#else
<b><font size="2">Rest: $operation.sumResult.change.sum RON</font></b>
#end
<b><font size="2">Cod rest: $renderHelper.formatPinCode($operation.pinCode)</font></b>
#end
## =============================== END REST =============================================================
## ======================================================================================================
#if (!$operation.sumResult.out.isEmpty())
<hr>Valoarea acestui produs este explrimata in RON, conform descrierii mentionate mai sus pe bon.
<p align="left">&nbsp;&nbsp;&nbsp;1. Selectati magazinul web si produsul.
&nbsp;&nbsp;&nbsp;2. Click pe optiunea Paysafecard pentru plata.
&nbsp;&nbsp;&nbsp;3. Tasati codul PIN!</p>
Hotline: 0800.896657
Email: info@paysafecard.com
Re-vanzarea produsului Paysafecard este interzisa! Termenii generali si conditiile le gasiti pe www.paysafecard.com
Paysafecard este in conformitate de licenta PrePaid Services Company Ltd.
#end
<hr><center>Asigurati-va ca acest bon a fost tiparit in prezenta dvs.
Va rugam sa pastrati bonul. Orice reclamatii se admint numai dupa prezentarea bonului.

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

<b>MULTUMIM CA ATI ALES NTS Pay!</b></center>
##=====================================================================================================
##================================== POS PRINTER ======================================================
##=====================================================================================================
#elseif ($deviceClass=="PosPrinter")
#if (!$operation.sumResult.out.isEmpty())
<center/><img src="paysafe_pos.png"/>
#end
<center/><b>NTS Pay<br>SISTEM DE PLATI INTELIGENT</b>

#if ($operation.sumResult.out.isEmpty())
BON DE REST

#end
<left/>$dealer.name
CUI: $dealer.inn, J$dealer.ogrn
$dealer.address
<center/>---------------------------------------------
<left/>Numar Terminal: $point.id
Data Tranzactie: $dateFormat.format($operation.date)
Numar Tranzactie: $operation.checkNumber
Adresa Terminal: $point.city, $point.address

#if (!$operation.sumResult.out.isEmpty())
Serviciul: $operation.service.name
<b>Preti: $SumFormatter.format($operation.sumResult.income.sum) RON</b>
#if ($operation.views.get("pincode"))
Serie e-Voucher: $operation.views.get("serial")
Valabilitate: $operation.views.get("pinCodeValidDate")
#end
#end
## ======================================================================================================
## =============================== SUCCESS AND REST =====================================================
#if (!$operation.sumResult.out.isEmpty())
#if ($operation.pinCode)
Ati introdus: $SumFormatter.format($operation.sumResult.income.sum) RON
#if ($operation.pincodeNominal)
Rest*: $SumFormatter.format($operation.pinCodeNominal) RON
#else
Rest*: $SumFormatter.format($operation.sumResult.change.sum) RON
#end
<b>Cod rest: $renderHelper.formatPinCode($operation.pinCode)</b>
*Pentru eliberarea restului va rugam sunati la
Serviciu Clienti eAjutor: 073.702.8363, 021.269.0167, 
Luni-Vineri inte orele 9:00-18:00.
#end
<center/><b>COD DE REINCARCARE: $operation.views.get("pincode")</b><left/>
## =============================== ONLY REST ============================================================
#elseif ($operation.sumResult.out.isEmpty())
#if ($operation.pincodeNominal)
<b>Rest: $operation.pinCodeNominal RON</b>
#else
<b>Rest: $operation.sumResult.change.sum RON</b>
#end
<b>Cod rest: $renderHelper.formatPinCode($operation.pinCode)</b>
#end
## =============================== END REST =============================================================
## ======================================================================================================
#if (!$operation.sumResult.out.isEmpty())
<center/>---------------------------------------------
<left/>Valoarea acestui produs este explrimata in 
RON, conform descrierii mentionate 
mai sus pe bon.
 1.Selectati magazinul web si produsul.
 2.Click pe optiunea Paysafecard pentru plata.
 3.Tasati codul PIN!
Hotline: 0800.896657
Email: info@paysafecard.com
Re-vanzarea produsului Paysafecard este 
interzisa! Termenii generali si conditiile 
le gasiti pe www.paysafecard.com 
Paysafecard este in conformitate de licenta 
PrePaid Services Company Ltd.
#end
<center/>---------------------------------------------
<left/>Asigurati-va ca acest bon a fost tiparit in 
prezenta dvs. Va rugam sa pastrati bonul.
Orice reclamatii se admint numai dupa
prezentarea bonului.
<center/>
#if (!$operation.sumResult.out.isEmpty())
<b>TRANZACTIE REUSITA</b>
---------------------------------------------
Pentru orice intrebari legate de functionarea acestui terminal de plata va rugam sa apelati 
#elseif ($operation.sumResult.out.isEmpty())
<b>ATENTIE, TRANZACTIE NEREUSITA!</b>
---------------------------------------------
Pentru eliberarea suma introdusa sunati la 
#end
<b>Serviciu Clienti eAjutor:
073.702.8363, 021.269.0167</b>
Luni-Vineri inte orele 9:00-18:00.

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