##=====================================================================================================
##================================== IP PRINTER =======================================================
##=====================================================================================================
#if($deviceClass=="IppPrinter")
<center/><b>Loteria Romana</b>

<center/>**************************************

<left/>QIWI Romania, CUI 25799133

#if ($operation.sumResult.out.isEmpty())

<center/><b>BON DE REST</b>

<center/>**************************************
#end

<left/>Chitanta: <b>$operation.checkNumber</b>
<left/>Terminal: <b>$point.id</b>
<left/>Adresa: <b>$point.city, $point.address</b>
<left/>Data: <b>$dateFormat.format($operation.date)</b>

<left/>Operator: Loteria Romana
<left/>Incasat: <b>$SumFormatter.format($operation.sumResult.income.sum) RON</b>
<left/>Numar de telefon: <b>$operation.views.get("id1")</b>
<left/>Cod tranzactie: <b>$operation.views.get("id_operation")</b>
<left/>Rest disponibil: $SumFormatter.format($operation.sumResult.change.sum) RON
<left/>Denumire joc: <b>$operation.views.get("game_name")</b>
<left/>Cod mijloc joc: <b>90002-8789427</b>
<left/>Cod operator: <b>0000000</b>
<left/>Numar tranzactie: <b>$operation.views.get("id_operation_nr")</b>
<left/>Cod de control: <b>$operation.views.get("crc")</b>
<left/>Cod joc: <b>$operation.views.get("game_code")</b>
<left/>Numar bilet: <b>$operation.views.get("coupon_no")</b>
<left/>Data tragere: <b>$operation.views.get("gameDate")</b>
<left/>Cod perioada: <b>$operation.views.get("game_period")</b>
<left/>Numar variante joc principal: <b>$operation.views.get("pvars")</b>
<left/>Data validare bilet: <b>$operation.views.get("payment_date")</b>
<left/>PRONOSTICURI:
<left/>**************************************
<left/><b>$operation.views.get("game_short")</b>
<left/>$operation.views.get("zonea_play")
#if($operation.views.get("zoneaj_play") && !$operation.views.get("zoneaj_play").isEmpty())
<left/>A01 $operation.views.get("zoneaj_play")
#end
#if($operation.views.get("zoneb_play") && !$operation.views.get("zoneb_play").isEmpty())
<left/>$operation.views.get("zoneb_play")
#end
#if($operation.views.get("zonebj_play") && !$operation.views.get("zonebj_play").isEmpty())
<left/>B01 $operation.views.get("zonebj_play")
#end
#if($operation.views.get("zonec_play") && !$operation.views.get("zonec_play").isEmpty())
<left/>$operation.views.get("zonec_play")
#end
#if($operation.views.get("zoned_play") && !$operation.views.get("zoned_play").isEmpty())
<left/>D05 $operation.views.get("zoned_play")
#end
#if($operation.views.get("noroc") && !$operation.views.get("noroc").isEmpty())
<left/>$operation.views.get("noroc")
#end
<left/>**************************************
Pret Total: <b>$operation.views.get("price") RON</b>
Cod bare: <b>$operation.views.get("barcode")</b>

## ======================================================================================================
## =============================== 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 rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
#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>TRANZACTIE REUSITA</b>

#elseif ($operation.sumResult.out.isEmpty())

<center/><b>ATENTIE, TRANZACTIE NEREUSITA!</b>
#end
<center/>**************************************

<center/>Telefon Relatii Clienti: 0310 050 624

<center/>WhatsApp Relatii Clienti: 0310 050 624

<center/>L-V 08:00-20:00 S-D 09:00-18:00

<center/>Indisponibil in zilele libere legale


<b>Multumim ca ati ales StartPay!</b>
##=====================================================================================================
##================================== POS PRINTER ======================================================
##=====================================================================================================
#elseif ($deviceClass=="PosPrinter")
<center/><b>Loteria Romana</b>

<center/>**************************************

<left/>QIWI Romania, CUI 25799133

#if ($operation.sumResult.out.isEmpty())

<center/><b>BON DE REST</b>

<center/>**************************************
#end

<left/>Chitanta: <b>$operation.checkNumber</b>
<left/>Terminal: <b>$point.id</b>
<left/>Adresa: <b>$point.city, $point.address</b>
<left/>Data: <b>$dateFormat.format($operation.date)</b>

<left/>Operator: Loteria Romana
<left/>Incasat: <b>$SumFormatter.format($operation.sumResult.income.sum) RON</b>
<left/>Numar de telefon: <b>$operation.views.get("id1")</b>
<left/>Cod tranzactie: <b>$operation.views.get("id_operation")</b>
<left/>Rest disponibil: $SumFormatter.format($operation.sumResult.change.sum) RON
<left/>Denumire joc: <b>$operation.views.get("game_name")</b>
<left/>Cod mijloc joc: <b>90002-8789427</b>
<left/>Cod operator: <b>0000000</b>
<left/>Numar tranzactie: <b>$operation.views.get("id_operation_nr")</b>
<left/>Cod de control: <b>$operation.views.get("crc")</b>
<left/>Cod joc: <b>$operation.views.get("game_code")</b>
<left/>Numar bilet: <b>$operation.views.get("coupon_no")</b>
<left/>Data tragere: <b>$operation.views.get("gameDate")</b>
<left/>Cod perioada: <b>$operation.views.get("game_period")</b>
<left/>Numar variante joc principal: <b>$operation.views.get("pvars")</b>
<left/>Data validare bilet: <b>$operation.views.get("payment_date")</b>
<left/>PRONOSTICURI:
<left/>**************************************
<left/><b>$operation.views.get("game_short")</b>
<left/>$operation.views.get("zonea_play")
#if($operation.views.get("zoneaj_play") && !$operation.views.get("zoneaj_play").isEmpty())
<left/>A01 $operation.views.get("zoneaj_play")
#end
#if($operation.views.get("zoneb_play") && !$operation.views.get("zoneb_play").isEmpty())
<left/>$operation.views.get("zoneb_play")
#end
#if($operation.views.get("zonebj_play") && !$operation.views.get("zonebj_play").isEmpty())
<left/>B01 $operation.views.get("zonebj_play")
#end
#if($operation.views.get("zonec_play") && !$operation.views.get("zonec_play").isEmpty())
<left/>$operation.views.get("zonec_play")
#end
#if($operation.views.get("zoned_play") && !$operation.views.get("zoned_play").isEmpty())
<left/>D05 $operation.views.get("zoned_play")
#end
#if($operation.views.get("noroc") && !$operation.views.get("noroc").isEmpty())
<left/>$operation.views.get("noroc")
#end
<left/>**************************************
Pret Total: <b>$operation.views.get("price") RON</b>
Cod bare: <b>$operation.views.get("barcode")</b>

## ======================================================================================================
## =============================== 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 rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
#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 rest: <b>$renderHelper.formatPinCode($operation.pinCode)</b>
#end
## =============================== END REST =============================================================
## ======================================================================================================
#if (!$operation.sumResult.out.isEmpty())

<center/><b>TRANZACTIE REUSITA</b>

#elseif ($operation.sumResult.out.isEmpty())

<center/><b>ATENTIE, TRANZACTIE NEREUSITA!</b>
#end
<center/>**************************************

<center/>Telefon Relatii Clienti: 0310 050 624

<center/>WhatsApp Relatii Clienti: 0310 050 624

<center/>L-V 08:00-20:00 S-D 09:00-18:00

<center/>Indisponibil in zilele libere legale


<b>Multumim ca ati ales StartPay!</b>
#end
