##=====================================================================================================
##================================== IP PRINTER =======================================================
##=====================================================================================================
#if($deviceClass=="IppPrinter")
<center/><b>StartPay </b>
<center/>Aproape de tine!

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

<left/>StartPay Services SRL CIF:25799133

<left/>Serviciu: D.R.P.C.I.V.

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

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

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

<left/>Numar terminal: <b>$point.id</b>
<left/>Adresa: <b>$point.city, $point.address</b>
#if (!$operation.sumResult.out.isEmpty())
<left/>ID tranzactie: <b>$operation.inputElements.processing-transaction.value</b>

<left/>Institutie: <b>RAAPPS - CUI 2351555</b>
<left/>Numar chitanta: <b>$operation.checkNumber</b>
<left/>Data si ora platii: <b>$dateFormat.format($operation.date)</b>
<left/>Incasat: <b>$SumFormatter.format($operation.sumResult.income.sum) RON</b>
<left/>Platit catre institutie: <b>$operation.sumResult.out.sum RON</b>
<left/>Contribuabil: <b>$operation.views.get("id3") $operation.views.get("id4")</b>
<left/>CNP/CUI: <b>$operation.views.get("id1")</b>
<left/>Detalii plata: <b>$service.printName</b>
<left/>Taxa OP: <b>$operation.sumResult.commission.sum RON</b>
#else
<left/>CNP/CUI: <b>$operation.views.get("id1")</b>

<left/><b>INFO:</b>Instructiuni utilizare BON DE REST

<left/>1. Selectati serviciul si introduceti datele solicitate
<left/>2. In sectiunea PLATA apasati PLATESTE CU BON DE REST
<left/>3. Introduceti  CODUL PIN de rest si apasati ACTIVEAZA
<left/>4. Verificati suma si apasati pe butonul PLATESTE
#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>
#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/>-Relatii Clienti StartPay-

<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>StartPay </b>
<center/>Aproape de tine!

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

<left/>StartPay Services SRL CIF:25799133

<left/>Serviciu: D.R.P.C.I.V.

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

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

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

<left/>Numar terminal: <b>$point.id</b>
<left/>Adresa: <b>$point.city, $point.address</b>
#if (!$operation.sumResult.out.isEmpty())
<left/>ID tranzactie: <b>$operation.inputElements.processing-transaction.value</b>

<left/>Institutie: <b>RAAPPS - CUI 2351555</b>
<left/>Numar chitanta: <b>$operation.checkNumber</b>
<left/>Data si ora platii: <b>$dateFormat.format($operation.date)</b>
<left/>Incasat: <b>$SumFormatter.format($operation.sumResult.income.sum) RON</b>
<left/>Platit catre institutie: <b>$operation.sumResult.out.sum RON</b>
<left/>Contribuabil: <b>$operation.views.get("id3") $operation.views.get("id4")</b>
<left/>CNP/CUI: <b>$operation.views.get("id1")</b>
<left/>Detalii plata: <b>$service.printName</b>
<left/>Taxa OP: <b>$operation.sumResult.commission.sum RON</b>
#else
<left/>CNP/CUI: <b>$operation.views.get("id1")</b>

<left/><b>INFO:</b>Instructiuni utilizare BON DE REST

<left/>1. Selectati serviciul si introduceti datele solicitate
<left/>2. In sectiunea PLATA apasati PLATESTE CU BON DE REST
<left/>3. Introduceti  CODUL PIN de rest si apasati ACTIVEAZA
<left/>4. Verificati suma si apasati pe butonul PLATESTE
#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>
#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>TRANZACTIE REUSITA</b>
#elseif ($operation.sumResult.out.isEmpty())

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

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

<center/>-Relatii Clienti StartPay-

<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
