#if($deviceClass=="IppPrinter")
#if (!$operation.sumResult.out.isEmpty())
<center/><img src="file:///${app_path}/templates/logo/lyca.png">
#else
<center/>BON DE REST
#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/>-------------------------------------
#if(!$operation.sumResult.out.isEmpty())
<left/>Operator: <b>Lycamobile Romania</b>
<left/>Website: <b>www.lycamobile.ro</b>
<left/>Produs: <b>$operation.views.get("id1")</b>
#set($sumSent=$operation.sumResult.out.sum + $operation.sumResult.commission.sum)
<left/>Incarcat: <b>$SumFormatter.format($sumSent) RON (TVA 19% inclus) / $SumFormatter.format($operation.sumResult.outProv.sum) €</b>
<left/>Codul de reincarcare: <b>$operation.views.get("attr2")</b>
<left/>Seria: <b>$operation.views.get("attr1")</b>
#end
<center/>-------------------------------------
#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 rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
#end
#elseif ($operation.sumResult.out.isEmpty())
#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 rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
<center/>-------------------------------------
#end
#if (!$operation.sumResult.out.isEmpty())
<center/>Valabil 90 de zile inclusiv data eliberarii.

<center/>-------- <b>Pentru a reincarca</b> ---------
<center/>Tastati <b>*131*Codul de reincarcare#</b> ori
<center/>apelati <b>555</b> de pe telefon si urmati instructiunile.

<center/>--------- <b>Serviciul clienti</b> ---------
<center/>Apelati <b>151</b> de pe telefonul dvs. Lycamobile sa
<center/>sau <b>0377 881276</b> de pe un alt telefon.
<center/>Trimiteti-ne un email la: <b>cs@lycamobile.ro</b>

<center/>-------- <b>Termeni si conditii</b> --------
<center/>Codul de reincarcare poate fi folosit o
<center/>singura data. Creditul nu se returneaza.
<center/>Se aplica termeni si conditii. TVA se aplica
<center/>la valoarea de reincarcare. Asigurati-va ca
<center/>acest bon a fost tiparit in prezenta dvs.
<center/>Va rugam sa pastrati bonul. Orice reclamatii
<center/>se admit numai dupa prezentarea bonului.
<center/>-------------------------------------
<center/>Intotdeauna cele mai bune tarife pentru
<center/>convorbiri internationale si nationale
<center/>prin Lycamobile
#else
<center/>-------------------------------------
<center/><b/>ATENTIE, TRANZACTIE NEREUSITA!
<center/>Pentru eliberarea sumei introduse sunati la:
<center/>-------------------------------------
<center/>Serviciul Clienti eAjutor:
<center/><b>$dealer.support</b>
<center/>$dealer.supportWorkTime
#end
#elseif ($deviceClass=="PosPrinter")
#if (!$operation.sumResult.out.isEmpty())
<center/><img src="lyca_pos.png"/>
#else
<center/>BON DE REST
#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/>-------------------------------------
#if(!$operation.sumResult.out.isEmpty())
<left/>Operator: <b>Lycamobile Romania</b>
<left/>Website: <b>www.lycamobile.ro</b>
<left/>Produs: <b>$operation.views.get("id1")</b>
#set($sumSent=$operation.sumResult.out.sum + $operation.sumResult.commission.sum)
<left/>Incarcat: <b>$SumFormatter.format($sumSent) RON (TVA 19% inclus) / $SumFormatter.format($operation.sumResult.outProv.sum) €</b>
<left/>Codul de reincarcare: <b>$operation.views.get("attr2")</b>
<left/>Seria: <b>$operation.views.get("attr1")</b>
#end
<center/>-------------------------------------
#if (!$operation.sumResult.out.isEmpty())
#if ($operation.pinCode)
<left/>Incasat: <b>$SumFormatter.format($operation.sumResult.income.sum) RON</b>
<left/>Incarcat: <b>$SumFormatter.format($sumSent) 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 rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
<center/>-------------------------------------

#end
#elseif ($operation.sumResult.out.isEmpty())
#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 rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
#end
#if (!$operation.sumResult.out.isEmpty())
<center/>Valabil 90 de zile inclusiv data eliberarii.

<center/>-------- <b>Pentru a reincarca</b> ---------
<center/>Tastati <b>*131*Codul de reincarcare#</b> ori
<center/>apelati <b>555</b> si urmati instructiunile.

<center/>--------- <b>Serviciul clienti</b> ---------
<center/>Apelati <b>151</b> de pe telefonul dvs. Lycamobile
<center/>sau <b>0377 881276</b> de pe un alt telefon.
<center/>Trimiteti-ne un email la: <b>cs@lycamobile.ro</b>

<center/>-------- <b>Termeni si conditii</b> --------
<center/>Codul de reincarcare poate fi folosit o
<center/>singura data. Creditul nu se returneaza.
<center/>Se aplica termeni si conditii. TVA se aplica
<center/>la valoarea de reincarcare. Asigurati-va ca
<center/>acest bon a fost tiparit in prezenta dvs.
<center/>Va rugam sa pastrati bonul. Orice reclamatii
<center/>se admit numai dupa prezentarea bonului.
<center/>-------------------------------------
<center/>Intotdeauna cele mai bune tarife pentru
<center/>convorbiri internationale si nationale
<center/>prin Lycamobile
#else
<center/>-------------------------------------
<center/><b/>ATENTIE, TRANZACTIE NEREUSITA!
<center/>Pentru eliberarea sumei introduse sunati la:
<center/>-------------------------------------
<center/>Serviciul Clienti eAjutor:
<center/><b>$dealer.support</b>
<center/>$dealer.supportWorkTime
#end

#end