<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:egonp="http://schemas.gov.sk/form/00304956.A0000410.000000317.VYST_410105_RozhodnutieOUlozeniPokuty/2.3" exclude-result-prefixes="egonp"><xsl:output method="html" doctype-system="http://www.w3.org/TR/html4/loose.dtd" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" indent="no" omit-xml-declaration="yes" /><xsl:template match="/"><html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><title>Rozhodnutie o uložení pokuty</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="language" content="sk-SK" /><style type="text/css">
					body { font-family: 'Times New Roman', Times; background : #ffffff !important ; text-align: justify; } .layoutMain { margin: 0px auto; padding: 5px 5px 5px 5px; width: 18cm; }

					#header { margin-top: 1em; border-bottom: #000000 1px solid; width: 100%; text-align: center; } .lessMargin { margin: 4px 0; } .noBorder { border-style: none; padding: 0; } .bold td { font-weight: bold; } .bold { font-weight: bold; }


				</style></head><body><div id="main" class="layoutMain"><xsl:apply-templates /></div></body></html></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105"><xsl:apply-templates select="./egonp:Obec" /><xsl:apply-templates select="./egonp:RozhodnutieHlavicka" /><xsl:apply-templates select="./egonp:Adresat" /><xsl:apply-templates select="./egonp:Rozhodnutie" /><xsl:apply-templates select="./egonp:RozhodnutieUdaje" /><xsl:apply-templates select="./egonp:PaymentData" /><xsl:apply-templates select="./egonp:Odovodnenie" /><xsl:apply-templates select="./egonp:Poucenie" /><xsl:apply-templates select="./egonp:Podpis" /><xsl:apply-templates select="./egonp:SekciaZakonEGovInfo" /></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105/egonp:Obec"><div id="header"><p class="lessMargin" style="font-weight:bold; font-size:15pt"><xsl:if test="./egonp:Obec_MsU"><xsl:variable name="resultMesto"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:Obec_MsU" /><xsl:with-param name="separator" select="':'" /></xsl:call-template></xsl:variable><xsl:variable name="upper" select="translate($resultMesto, 'abcdefghijklmnopqrstuvwxyzáäéěíĺóôŕúůýčďľňřšťž', 'ABCDEFGHIJKLMNOPQRSTUVWXYZÁÄÉĚÍĹÓÔŔÚŮÝČĎĽŇŘŠŤŽ')" /><xsl:value-of select="$upper" /></xsl:if></p><p class="lessMargin"><xsl:call-template name="getLast"><xsl:with-param name="text" select="./egonp:Obec_MsU" /><xsl:with-param name="separator" select="':'" /></xsl:call-template></p></div></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105/egonp:RozhodnutieHlavicka"><table style="width:100%; text-align: left; margin-top:1em" class="noBorder"><xsl:choose><xsl:when test="./egonp:RozhodnutieHlavicka_SpravcaDane/text()"><tr style="width:100%" class="noBorder"><td style="width:20%" class="noBorder bold">Správca dane:</td><td style="width:50%" class="noBorder"><xsl:value-of select="./egonp:RozhodnutieHlavicka_SpravcaDane" /></td><td style="width:6%" class="noBorder bold"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_VMeste" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td><td class="noBorder"><xsl:call-template name="getLast"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_VMeste" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td></tr><tr class="noBorder"><td class="noBorder bold">Vybavuje:</td><td class="noBorder"><xsl:value-of select="./egonp:RozhodnutieHlavicka_Vybavuje_iss_gatl6" /></td><td class="noBorder bold"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_Datum_iss_date" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td><td class="noBorder"><xsl:call-template name="getLast"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_Datum_iss_date" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td></tr><tr class="noBorder"><td class="noBorder bold">Číslo telefónu:</td><td class="noBorder"><xsl:value-of select="./egonp:RozhodnutieHlavicka_Telefon_iss_gatl7" /></td><td class="noBorder" /><td class="noBorder" /></tr></xsl:when><xsl:otherwise><tr style="width:100%" class="noBorder"><td class="noBorder bold">Vybavuje:</td><td class="noBorder"><xsl:value-of select="./egonp:RozhodnutieHlavicka_Vybavuje_iss_gatl6" /></td><td style="width:6%" class="noBorder bold"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_VMeste" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td><td class="noBorder"><xsl:call-template name="getLast"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_VMeste" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td></tr><tr class="noBorder"><td style="width:20%" class="noBorder bold">Číslo telefónu:</td><td style="width:50%" class="noBorder"><xsl:value-of select="./egonp:RozhodnutieHlavicka_Telefon_iss_gatl7" /></td><td class="noBorder bold"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_Datum_iss_date" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td><td class="noBorder"><xsl:call-template name="getLast"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_Datum_iss_date" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td></tr></xsl:otherwise></xsl:choose><tr class="noBorder"><td class="noBorder bold">Číslo konania:</td><td class="noBorder"><xsl:value-of select="./egonp:RozhodnutieHlavicka_CisloKonania_iss_tl_c_kon_pi" /></td><td class="noBorder" /><td class="noBorder" /></tr></table></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105/egonp:Adresat"><table style="width:100%;margin-top:-3px;"><tr><td style="width:20%" class="noBorder bold"><xsl:value-of select="./egonp:Adresat_Osoba_popis" /></td><td class="noBorder"><xsl:value-of select="./egonp:Adresat_Osoba_iss_mpf" /></td></tr><tr><td class="noBorder bold"><xsl:value-of select="./egonp:Adresat_Adresa_popis" /></td><td class="noBorder"><xsl:value-of select="./egonp:Adresat_Adresa" /></td></tr></table></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105/egonp:Rozhodnutie"><div style="text-align:center;font-weight:bold;font-size:15pt;margin:1em 0 1em 0;"><xsl:value-of select="./egonp:Rozhodnutie_Text" /></div></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105/egonp:RozhodnutieUdaje"><p style="text-indent:1cm"><xsl:value-of select="egonp:RozhodnutieUdaje_Text01" /></p><p style="font-weight:bold;text-align:center"><xsl:value-of select="egonp:RozhodnutieUdaje_Text02" /></p><xsl:apply-templates select="./egonp:RozhodnutieUdaje_Subjekt" /><p style="font-weight:bold;text-align:center"><xsl:value-of select="egonp:RozhodnutieUdaje_Text03" /></p><p style="text-indent:1cm"><xsl:value-of select="egonp:RozhodnutieUdaje_Text04" /></p></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105/egonp:RozhodnutieUdaje/egonp:RozhodnutieUdaje_Subjekt"><div><xsl:value-of select="egonp:RozhodnutieUdaje_Subjekt_text" /></div><table style="width:100%" class="noBorder"><tr><td style="width:35%;font-weight:bold"><xsl:value-of select="egonp:RozhodnutieUdaje_Subjekt_Meno_popis" /></td><td><xsl:value-of select="egonp:RozhodnutieUdaje_Subjekt_Meno" /></td></tr><tr><td style="font-weight:bold"><xsl:value-of select="egonp:RozhodnutieUdaje_Subjekt_ICORC_popis" /></td><td><xsl:value-of select="egonp:RozhodnutieUdaje_Subjekt_ICORC" /></td></tr><tr><td style="font-weight:bold"><xsl:value-of select="egonp:RozhodnutieUdaje_Subjekt_Adresa_popis" /></td><td><xsl:value-of select="egonp:RozhodnutieUdaje_Subjekt_Adresa" /></td></tr></table></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105/egonp:PaymentData"><table class="noBorder alignleft" style="width:100%; margin:15px 0"><tr class="noBorder"><td class="noBorder bold" colspan="2">
					Platobné údaje
				</td><td class="noBorder" rowspan="8" style="width:32%"><xsl:if test="./egonp:Payment_qrcode/text()"><xsl:variable name="qr_data" select="./egonp:Payment_qrcode" /><xsl:variable name="qr" select="concat('data:image/png;base64, ',$qr_data)" /><img src="{$qr}" height="150px" class="center" /></xsl:if></td></tr><tr class="noBorder"><td class="noBorder bold" style="width:20%">
					Suma:
				</td><td class="noBorder"><xsl:value-of select="./egonp:Payment_suma" /></td></tr><tr class="noBorder"><td class="noBorder bold">
					Mena:
				</td><td class="noBorder"><xsl:value-of select="./egonp:Payment_mena" /></td></tr><tr class="noBorder"><td class="noBorder bold">
					Číslo účtu:
				</td><td class="noBorder"><xsl:value-of select="./egonp:Payment_ucet" /></td></tr><tr class="noBorder"><td class="noBorder bold">
					SWIFT-BIC:
				</td><td class="noBorder"><xsl:value-of select="./egonp:Payment_swift" /></td></tr><tr class="noBorder"><td class="noBorder bold">
					Variabilný symbol:
				</td><td class="noBorder"><xsl:value-of select="./egonp:Payment_VS" /></td></tr><tr class="noBorder"><td class="noBorder bold">
					Špecifický symbol:
				</td><td class="noBorder"><xsl:value-of select="./egonp:Payment_SS" /></td></tr><tr class="noBorder"><td class="noBorder bold">
					Konštantný symbol:
				</td><td class="noBorder"><xsl:value-of select="./egonp:Payment_KS" /></td></tr><tr class="noBorder"><td class="noBorder bold" colspan="2" /><td class="noBorder" style="text-align:center"><xsl:value-of select="./egonp:Payment_text" /></td></tr><tr class="noBorder"><td class="noBorder" colspan="3"><xsl:if test="./egonp:Payment_barcode/text()"><xsl:variable name="barcode_data" select="./egonp:Payment_barcode" /><xsl:variable name="barcode" select="concat('data:image/png;base64, ',$barcode_data)" /><img src="{$barcode}" height="80px" /></xsl:if></td></tr></table></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105/egonp:Odovodnenie"><p style="font-weight:bold;font-size:13pt;margin-bottom:0">Odôvodnenie</p><p style="text-indent:1cm;margin-top:0"><xsl:value-of select="egonp:Odovodnenie_Text01_iss_tl_hl_txt_r4" /></p></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105/egonp:Poucenie"><p style="font-weight:bold;font-size:13pt;margin-bottom:0">Poučenie</p><p style="text-indent:1cm;margin-top:0"><xsl:value-of select="egonp:Poucenie_Text01_iss_tl_hl_txt_r5" /></p></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105/egonp:Podpis"><xsl:if test="./egonp:Podpis_Meno_iss_gatl3/text()"><table style="width:100%; text-align:center; margin-top:10px;"><tr><td style="width:60%;" /><td style="width:40%;"><xsl:value-of select="./egonp:Podpis_Meno_iss_gatl3" /></td></tr><tr><td /><td><xsl:value-of select="./egonp:Podpis_ZaMsU_iss_gatl10" /></td></tr></table></xsl:if></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_410105/egonp:SekciaZakonEGovInfo"><p style="font-style:italic"><xsl:value-of select="egonp:Info_text" /></p></xsl:template><xsl:template name="Footer"><table class="noBorder aligncenter" style="width:100%; margin-top:25px; border-top:solid 1px black"><tr class="noBorder" style="font-size:9pt"><td style="width:25%;" class="noBorder">Telefón</td><td style="width:25%;" class="noBorder">Email</td><td style="width:25%;" class="noBorder">Web</td><td style="width:25%;" class="noBorder">IČO</td></tr><tr class="noBorder" style="font-size:8pt"><td class="noBorder"><xsl:value-of select="/egonp:eForm_eGov_vystup_410173/egonp:Obec/egonp:Obec_Telefon__TelephoneAddress" /></td><td class="noBorder"><xsl:value-of select="/egonp:eForm_eGov_vystup_410173/egonp:Obec/egonp:Obec_Email" /></td><td class="noBorder"><xsl:value-of select="/egonp:eForm_eGov_vystup_410173/egonp:Obec/egonp:Obec_WEB" /></td><td class="noBorder"><xsl:value-of select="/egonp:eForm_eGov_vystup_410173/egonp:Obec/egonp:Obec_ICO" /></td></tr></table></xsl:template><xsl:template name="getFirst"><xsl:param name="text" /><xsl:param name="separator" /><xsl:choose><xsl:when test="contains($text, $separator)"><xsl:value-of select="substring-before($text,$separator)" /></xsl:when><xsl:otherwise><xsl:value-of select="$text" /></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="getLast"><xsl:param name="text" /><xsl:param name="separator" /><xsl:choose><xsl:when test="contains($text, $separator)"><xsl:value-of select="substring-after($text,$separator)" /></xsl:when><xsl:otherwise><xsl:value-of select="$text" /></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="string-replace-all"><xsl:param name="text" /><xsl:param name="replace" /><xsl:param name="by" /><xsl:choose><xsl:when test="contains($text, $replace)"><xsl:value-of select="substring-before($text,$replace)" /><xsl:value-of select="$by" /><xsl:call-template name="string-replace-all"><xsl:with-param name="text" select="substring-after($text,$replace)" /><xsl:with-param name="replace" select="$replace" /><xsl:with-param name="by" select="$by" /></xsl:call-template></xsl:when><xsl:otherwise><xsl:value-of select="$text" /></xsl:otherwise></xsl:choose></xsl:template></xsl:stylesheet>