5074

ID5074
Data2018-02-20
Symbol2018/02/20/5074
InstytucjaUrząd Miasta i Gminy w Wieliczce
NazwaInformacja o gruntach
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2017/1892/6a/12/1
  • Ustawa z dnia 15 listopada 1984 r. o podatku rolnym

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:wnio="http://crd.gov.pl/wzor/2018/02/20/5074/" version="1.0">
        <xsl:output version="4.0" method="html" indent="yes" encoding="UTF-8"/>
    
        <xsl:template match="/">
            <xsl:for-each select="*">
                <html xmlns="http://www.w3.org/1999/xhtml">
                <head>
                    <title>Informacja o gruntach</title>
                            <style>
                                .tresc-formularza,.tresc-formularza div,.tresc-formularza td{font-size:12px;font-family:Arial}
    .form-name{padding:10px;text-align:center;font-size:17px;font-weight:bolder}
    .form-name div{font-size:17px}
    .form-sign{text-align:left}
    .editable{background-color:#FFF}
    .darker,.darker .xforms-repeat-selected-item-1,.xforms-repeat-selected-item-1 .darker,.darker.xforms-repeat-selected-item-1,.darker .xforms-repeat-selected-item-2,.xforms-repeat-selected-item-2 .darker,.darker.xforms-repeat-selected-item-2,.darker .xforms-repeat-selected-item-3,.xforms-repeat-selected-item-3 .darker,.darker.xforms-repeat-selected-item-3,.darker .xforms-repeat-selected-item-4,.xforms-repeat-selected-item-4 .darker,.darker.xforms-repeat-selected-item-4{background-color:#F0F0F0}
    .text-center{text-align:center}
    .text-left{text-align:left}
    .text-right{text-align:right}
    .text-top{vertical-align:top}
    .text-middle{vertical-align:middle}
    .text-bottom{vertical-align:bottom}
    .text-justify{text-align:justify}
    .legal-basis{border:thin solid black;background:#f1f1f1}
    .legal-basis td{padding:5px}
    .legal-basis tr td:first-child{font-weight:bolder}
    .legal-basis tr:first-child td{padding-top:0}
    .legal-basis td{padding-top:2mm}
    .legal-basis td,.legal-basis div,.legal-basis span{font-size:12px;text-align:justify}
    .table-with-borders table tr td,table.table-with-borders tr td{border:thin solid black;border-style:solid none none solid}
    .table-with-borders table tr td * td,table.table-with-borders tr td * td{border-style:none}
    .table-with-borders table:first-of-type tr:first-of-type td,table.table-with-borders tr:first-of-type td{border-top-style:none}
    .table-with-borders.forced-top-border table:first-of-type tr:first-of-type td,.table-with-borders table:first-of-type tr:first-of-type td.forced-top-border,table.table-with-borders tr:first-of-type td.forced-top-border{border-top-style:solid}
    .table-with-borders.forced-top-border table:first-of-type tr:first-of-type td * td,.table-with-borders table:first-of-type tr:first-of-type td.forced-top-border * td,table.table-with-borders tr:first-of-type td.forced-top-border * td{border-top-style:none}
    .table-with-borders table tr td:first-of-type,table.table-with-borders tr td:first-of-type{border-left-style:none}
    .table-with-borders.forced-left-border table tr td,.table-with-borders table tr td.forced-left-border,table.table-with-borders tr td.forced-left-border{border-left-style:solid}
    .table-with-borders.forced-left-border table tr td * td,.table-with-borders table tr td.forced-left-border * td,table.table-with-borders tr td.forced-left-border * td{border-left-style:none}
    .full-width,.full-width input,.full-width textarea,.full-width select{width:100%}
    .xforms-repeat-selected-item-1,.xforms-repeat-selected-item-2,.xforms-repeat-selected-item-3,.xforms-repeat-selected-item-4{background:0}
    .signature-bold{font-size:7pt;font-weight:bold;text-align:center}
    div .signature-description{text-align:center;font-size:10px;font-family:Verdana}
    div .signature-date{text-align:center;font-size:10pt;font-family:Verdana}
    td.xforms-disabled{display:none!important}
    .miesiace-list span select{width:100px}
    .miesiacekr-list span select{width:30px}
    .hidden{display:none}
    .min-height20{min-height:20px}
    .min-height30{min-height:30px}
    .min-height30 div{min-height:30px}
    .min-height50{min-height:50px}
    .min-height50 div{min-height:50px}
    .min-height10{min-height:10px}
    .min-height10 div{min-height:10px}
    .text-output-bolder{font-size:14px;white-space:normal;font-weight:bold;font-style:normal}
    .text-output-bolder div{font-size:14px;white-space:normal;font-weight:bold;font-style:normal}
    .text-output-bolder div span{font-size:14px;white-space:normal;font-weight:bold;font-style:normal}
    .objasnienie-text{text-align:justify}
    .objasnienie-row{padding-bottom:10px;text-align:justify}
    .row-title{padding:3px}
    .row-subtitle{padding:5px}
    .padding-top5{padding-top:5px}
    .padding-bottom5{padding-bottom:5px}
    .padding-left5{padding-left:5px}
    .padding-right5{padding-right:5px}
    .page{width:22cm}
    .page.break-after{page-break-after:always}
    .page.break-before{page-break-before:always}
    .section{border:thin solid black;background:#f1f1f1}
    .section .title,.section .title td,.section .title div,.section .title span{font-weight:bold;text-align:left;font-size:medium;border:0;padding-top:5px;padding-bottom:5px;padding-left:2px}
    .section .title.text-center,.section .title td.text-center,.section .title div.text-center,.section .title span.text-center{font-weight:bold;text-align:center;font-size:medium;border:0;padding:2px}
    .section .subtitle1,.section .subtitle1 td,.section .subtitle1 div,.section .subtitle1 span{font-weight:bold;text-align:left;font-size:small;border:0;padding:5px}
    .section .subtitle2,.section .subtitle2 td,.section .subtitle2 div,.section .subtitle2 span{font-weight:normal;text-align:left;font-size:small;border:0;padding:5px}
    .section .subtitle3,.section .subtitle3 td,.section .subtitle3 div,.section .subtitle3 span{font-weight:normal;font-style:italic;text-align:left;font-size:small;border:0;padding:5px}
    .section-indent{margin-left:1cm;border:1px solid black;border-style:solid none none solid;border-bottom:0}
    .subtitle1-center{font-weight:bold;text-align:center;font-size:small;border:0;padding:5px}
    .radioChecker{font-size:6pt;font-weight:bold;display:inline-block;border:1px solid black;width:12px;height:13px;text-align:center;vertical-align:middle}
    .radio-item{margin-bottom:2px;display:inline-block}
    .dotted-bottom-border{border-bottom:1px dotted black}
    .field-label{margin:2px;font-weight:bold;font-size:8pt!important}
    .field-label .lp-value{margin:0;font-weight:bold}
    .field-value{margin-left:5px;margin-right:5px}
    .field-post-label{text-align:center;border-top:1px dotted black;display:block}
    .input-very-long input{width:20cm}
    .input-long input{width:12cm}
    .input-medium input{width:8cm}
    .input-medium-center input{width:8cm;text-align:center}
    .input-medium-center-bold input{width:8cm;text-align:center;font-weight:bold}
    .input-medium-short input{width:5cm}
    .input-medium-short input{width:5cm}
    .input-medium-short-center input{width:5cm;text-align:center}
    .input-medium-short-center-bold input{width:5cm;text-align:center;font-weight:bold}
    .input-short input{width:2cm}
    .input-very-short input{width:1cm}
    .input-very-short-center input{width:1cm;text-align:center}
    .input-very-short input{width:1cm}
    .input-short-center input{width:2cm;text-align:center}
    .input-short-center-bold input{width:2cm;text-align:center;font-weight:bold}
    .bolder{font-weight:bold}
    .no-bolder{font-weight:normal}
    .underline{text-decoration:underline}
    .italic{font-style:italic}
    .min-height{min-height:50px}
    .field-text span{font-style:italic;font-size:16px}
    .padding5{padding-left:5px;padding-top:5px;padding-bottom:5px;padding-right:5px}
    .text-area{width:20cm}
    .field-text{font-style:italic;font-size:16px}
    .field-text-small span{font-style:italic;font-size:12px}
    /*.field-value.separate-lines .field-items span{display:block;white-space:normal}
    .separate-lines .field-value .field-items span{display:block;white-space:normal}
    .field-value.separate-lines .field-items span div{display:inline;white-space:normal}
    .separate-lines .field-value .field-items span div{display:inline;white-space:normal}
    */.field-value.separate-lines .field-items span{display:block;white-space:normal}
    .separate-lines .field-value .field-items span{display:block;white-space:normal}
    .field-value.separate-lines .field-items span span{display:inline;white-space:normal}
    .separate-lines .field-value .field-items span span{display:inline;white-space:normal}
    .field-value.separate-lines .field-items span div{white-space:normal}
    .separate-lines .field-value .field-items span div{white-space:normal}
    .field-value.separate-lines .field-items span span div{white-space:normal}
    .separate-lines .field-value .field-items span span div{white-space:normal}
    .big-field-items .field-items span{margin-bottom:10px}
    /*.field-items&gt;span{white-space:nowrap;display:inline-block}
    */.lp-value{font-weight:bold;margin:2px;display:inline-block;font-size:8pt!important}
    .global-form{border:0}
    .row_dark{background-color:#DDD}
    .noborder-bottom{border-bottom:0}
    .hidden{display:none} 
                            </style>
    
                </head>
                <body class="tresc-formularza">
                <div class="page  break-after" style="width:22cm;">
        <xsl:variable name="lp_start_0" select="1"/>
    
    <table style="border:1px solid black;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="darker bolder text-center text-middle title" style="border-right:1px solid black;width:20%;"><div style="width:100%;">
        IPR-1
    </div></td><td style="border-right:1px solid black;width:40%;"><div style="width:100%;">
        <div>
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_1">
    						<xsl:with-param name="lp_start" select="$lp_start_0"/>
    					</xsl:call-template>
    </div>Identyfikator podatkowy NIP / numer PESEL podatnika<sup>
        1)
    </sup>
    </div><xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:TypPodatnika)='1'">
    			<table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div class="field" style="width:100%;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:IdOsoby/oso:PESEL) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:IdOsoby/oso:PESEL"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div></td><td><div class="field" style="width:100%;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:IdOsoby/oso:NIP) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:IdOsoby/oso:NIP"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div></td>					
    		</tr>
    </table>
    		</xsl:if><xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:TypPodatnika)!='1'">
    			<table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div class="field" style="width:100%;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:IdInstytucji/inst:NIP) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:IdInstytucji/inst:NIP"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div></td>					
    		</tr>
    </table>
    		</xsl:if>
    </div></td><td class="darker" style="border-right:1px solid black;width:20%;"><div style="width:100%;">
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div class="lp-value" style="width:100%;">					<xsl:call-template name="lp_tamplate_2">
    						<xsl:with-param name="lp_start" select="$lp_start_0"/>
    					</xsl:call-template>
    </div></td><td>Nr ewidencyjny</td>					
    		</tr>
    </table>
    </div></td><td class="darker" style="width:20%;"><div style="width:100%;">
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div class="lp-value" style="width:100%;">					<xsl:call-template name="lp_tamplate_3">
    						<xsl:with-param name="lp_start" select="$lp_start_0"/>
    					</xsl:call-template>
    </div></td><td>Nr dokumentu</td>					
    		</tr>
    </table>
    </div></td>					
    		</tr>
    </table><div>
        <table class="form-name text-center" style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        INFORMACJA O GRUNTACH
    </div></td>					
    		</tr>
    </table>
    </div><table class="darker table-with-borders" cellpadding="0" cellspacing="0">
    		
    <tr style="vertical-align: top;">		
    			<td class="bolder" style="border-top:1px solid black;border-left:1px solid black;width:20%;"><div style="width:100%;">
        Podstawa prawna:
    </div></td><td style="border-top:1px solid black;border-right:1px solid black;"><div style="width:100%;">
        Ustawa z dnia 15 listopada 1984 roku o podatku rolnym (jedn. tekst Dz.U. z 2013 r., poz. 1381 z późn. zm.), zwana dalej „ustawą”.
    </div></td>					
    		</tr><tr style="vertical-align: top;">		
    			<td class="bolder" style="border-left:1px solid black;"><div style="width:100%;">
        Składający:
    </div></td><td style="border-right:1px solid black;"><div style="width:100%;">
        Formularz przeznaczony dla<span class="bolder">
        osób fizycznych 
    </span>
    </div></td>					
    		</tr><tr style="vertical-align: top;">		
    			<td class="bolder" style="border-left:1px solid black;"><div style="width:100%;">
        Termin składania:
    </div></td><td style="border-right:1px solid black;"><div style="width:100%;">
        Zgodnie z art. 6a ust. 5 ustawy - w terminie 14 dni od dnia wystąpienia okoliczności uzasadniających powstanie albo wygaśnięcie obowiązku podatkowego w
    zakresie podatku o nieruchomości lub od dnia zaistnienia zdarzenia mającego wpływ na wysokość opodatkowania.
    </div></td>					
    		</tr><xsl:for-each select="wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja">		<tr style="vertical-align: top;">		
    			<td class="bolder" style="border-left:1px solid black;"><div style="width:100%;">
        Organ podatkowy / Miejsce składania:
    </div></td><td class="text-LEFT" style="border-right:1px solid black;"><div style="width:100%;">
        <strong>
        <span>
        <xsl:choose>
            <xsl:when test="string(inst:Pracownik/inst:Funkcja) != ''">
                <xsl:value-of select="inst:Pracownik/inst:Funkcja"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>/<span> </span><span>
        <xsl:choose>
            <xsl:when test="string(inst:NazwaInstytucji) != ''">
                <xsl:value-of select="inst:NazwaInstytucji"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>,<span> </span><span>
        <xsl:choose>
            <xsl:when test="string(adr:Adres/adr:Ulica) != ''">
                <xsl:value-of select="adr:Adres/adr:Ulica"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span><span> </span><span>
        <xsl:choose>
            <xsl:when test="string(adr:Adres/adr:Budynek) != ''">
                <xsl:value-of select="adr:Adres/adr:Budynek"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>,<span> </span><span>
        <xsl:choose>
            <xsl:when test="string(adr:Adres/adr:KodPocztowy) != ''">
                <xsl:value-of select="adr:Adres/adr:KodPocztowy"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span><span> </span><span>
        <xsl:choose>
            <xsl:when test="string(adr:Adres/adr:Miejscowosc) != ''">
                <xsl:value-of select="adr:Adres/adr:Miejscowosc"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </strong>
    </div></td>					
    		</tr>
    </xsl:for-each>
    	</table><div class="section" style="border-bottom:none;">
        <div class="title">
        A. CEL ZŁOŻENIA FORMULARZA
    </div><div class="editable section-indent">
        <xsl:variable name="lp_start_4" select="4"/>
    
    <div>
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_5">
    						<xsl:with-param name="lp_start" select="$lp_start_4"/>
    					</xsl:call-template>
    </div>
    </div></td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div class="field" style="width:100%;">
                <div class="field-value">
                            <span class="field-items">
    <span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek/wnio:ObowiazekZlozenia='P'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                złożenie informacji   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek/wnio:ObowiazekZlozenia='K'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                korekta informacji 2)   
            </span>
                            </span>
    
                </div>
    
    </div></td>					
    		</tr>
    </table>
    </div>
    </div>
    </div><div class="section" style="border-bottom:none;">
        <div class="title">
        B. DANE PODATNIKA SKŁADAJĄCEGO INFORMACJĘ
    </div>
    </div><div class="section" style="border-bottom:none;">
        <div class="subtitle1">
        B.1 DANE IDENTYFIKACYJNE
    </div><div class="editable section-indent">
        <xsl:variable name="lp_start_6" select="5"/>
    
    <div>
        <xsl:for-each select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba">
    <div>
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="border-right:1px solid black;border-bottom:1px solid black;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_7">
    						<xsl:with-param name="lp_start" select="$lp_start_6"/>
    					</xsl:call-template>
    </div>Nazwisko
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(oso:Nazwisko) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="oso:Nazwisko"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td style="border-bottom:1px solid black;width:50%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_8">
    						<xsl:with-param name="lp_start" select="$lp_start_6"/>
    					</xsl:call-template>
    </div>Pierwsze imię
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(oso:Imie) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="oso:Imie"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="width:33%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_9">
    						<xsl:with-param name="lp_start" select="$lp_start_6"/>
    					</xsl:call-template>
    </div>Imię ojca
    </div><div class="text-center text-middle field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(../../../../wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/oso:ImieOjca) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="../../../../wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/oso:ImieOjca"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td style="border-left:1px solid black;width:33%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_10">
    						<xsl:with-param name="lp_start" select="$lp_start_6"/>
    					</xsl:call-template>
    </div>Imię matki
    </div><div class="text-center text-middle field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(../../../../wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/oso:ImieMatki) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="../../../../wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/oso:ImieMatki"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td style="border-left:1px solid black;width:34%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_11">
    						<xsl:with-param name="lp_start" select="$lp_start_6"/>
    					</xsl:call-template>
    </div>PKD (wiodąca działalność gospod.)<sup>
        3)
    </sup>
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(oso:IdOsoby/oso:InnyIdentyfikator/oso:TypIdentyfikatora['PKD']/../oso:WartoscIdentyfikatora) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="oso:IdOsoby/oso:InnyIdentyfikator/oso:TypIdentyfikatora['PKD']/../oso:WartoscIdentyfikatora"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table>
    </div>
    </xsl:for-each>
    </div>
    </div>
    </div><div class="section" style="border-bottom:none;">
        <div class="subtitle1">
        B.2 ADRES ZAMIESZKANIA (zgodnie z art. 25 Kodeksu cywilnego, miejscem zamieszkania osoby fizycznej jest miejscowość, w której osoba ta przebywa z zamiarem stałego pobytu)
    </div><div class="editable section-indent">
        <xsl:variable name="lp_start_12" select="10"/>
    
    <xsl:for-each select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres">
    <div class="table-with-borders">
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="full-width" style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_13">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Kraj</div>
                <div class="field-value">
                            <span class="field-text">
    					        <xsl:choose>
    <xsl:when test="adr:Kraj='PL'">POLSKA</xsl:when>
    								<xsl:otherwise>☐</xsl:otherwise>
    							</xsl:choose>
    
    				</span>
    
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_14">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Województwo</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Wojewodztwo) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Wojewodztwo"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_15">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Powiat</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Powiat) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Powiat"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_16">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Gmina</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Gmina) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Gmina"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_17">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Miejscowość</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Miejscowosc) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Miejscowosc"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_18">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Ulica</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Ulica) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Ulica"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_19">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Nr domu</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Budynek) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Budynek"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_20">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Nr lokalu</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Lokal) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Lokal"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_21">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Kod pocztowy</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:KodPocztowy) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:KodPocztowy"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_22">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Poczta</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Poczta) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Poczta"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_23">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Telefon<sup>
        4)
    </sup></div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(../adr:Kontakt/adr:Telefon) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="../adr:Kontakt/adr:Telefon"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_24">
    						<xsl:with-param name="lp_start" select="$lp_start_12"/>
    					</xsl:call-template>
    </div>Faks / Adres e-mail<sup>
        4)
    </sup></div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(../adr:Kontakt/adr:Email) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="../adr:Kontakt/adr:Email"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="border:none;width:100%;"/>					
    		</tr>
    </table>
    </div>
    </xsl:for-each>
    </div><div class="subtitle1" style="border-top:1px solid black;">
        B.3 WSPÓŁWŁASNOŚĆ / WSPÓŁPOSIADANIE (zaznaczyć właściwy kwadrat):
    </div><div class="editable section-indent">
        <xsl:variable name="lp_start_25" select="22"/>
    
    <table class="table-with-borders" style="width:100%;" cellpadding="0" cellspacing="0">
    		
    <tr style="vertical-align: top;">		
    			<td class="text-left text-middle" style="width:50%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_26">
    						<xsl:with-param name="lp_start" select="$lp_start_25"/>
    					</xsl:call-template>
    </div>
    </div><div class="text-center bolder">
        <div class="field">
                <div class="field-value">
                            <span class="field-items">
    <span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:RodzajPodmiotu='2'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                TAK (należy wypełnić IP1a)   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:RodzajPodmiotu='0'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                NIE   
            </span>
                            </span>
    
                </div>
    
    </div>
    </div>
    </div></td><td class="text-top text-left"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_27">
    						<xsl:with-param name="lp_start" select="$lp_start_25"/>
    					</xsl:call-template>
    </div>Ilość załączników IP1a o współwłaścicielach/współposiadaczach
    </div><div class="text-center bolder">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:IloscZalacznikowWspolwlasciciele) != ''">
                <xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:IloscZalacznikowWspolwlasciciele"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div>
    </div></td>					
    		</tr>
    	</table>
    </div>
    </div><div class="section" style="border-bottom:none;">
        <div class="title">
        C. DANE DOTYCZĄCE PRZEDMIOTÓW OPODATKOWANIA
    </div><div class="subtitle1" style="border-top:1px solid black;">
        C.1 MIEJSCE POŁOŻENIA GRUNTÓW
    </div><div class="editable section-indent">
        <xsl:variable name="lp_start_28" select="24"/>
    
    <xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:DaneDodatkowe"><table style="width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="border-right:1px solid black;width:50%;"><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_29">
    						<xsl:with-param name="lp_start" select="$lp_start_28"/>
    					</xsl:call-template>
    </div><span> </span>Miejscowość i/lub ulica, nr domu
    </div><div class="full-width field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(adr:Adres/adr:Miejscowosc) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Adres/adr:Miejscowosc"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td style="width:50%;"><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_30">
    						<xsl:with-param name="lp_start" select="$lp_start_28"/>
    					</xsl:call-template>
    </div><span> </span>Numer działki / numery działek
    </div><div class="full-width field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Dzialki/wnio:Dzialka/wnio:NrDzialki) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Dzialki/wnio:Dzialka/wnio:NrDzialki"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table></xsl:for-each>
    </div><div class="subtitle1" style="border-top:1px solid black;">
        C.2 UWAGI (np. data obowiązywania zmiany, inne)
    </div><div class="editable section-indent">
        <xsl:variable name="lp_start_31" select="26"/>
    
    <xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:DaneDodatkowe"><table style="width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="text-left" style="width:100%;"><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_32">
    						<xsl:with-param name="lp_start" select="$lp_start_31"/>
    					</xsl:call-template>
    </div><span> </span>
    </div><div class="full-width field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(.) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="."/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table></xsl:for-each>
    </div>
    </div><div class="section" style="border-bottom:none;">
        <div class="editable">
        <xsl:variable name="lp_start_33" select="27"/>
    
    <div style="border-top:none;">
        <table class="table-with-borders" style="border-top:none;width:100%;" cellpadding="0" cellspacing="0">
    		
    <tr style="vertical-align: top;">		
    			<td class="text-center bolder darker  text-middle" style="width:25%;" rowspan="2"><div style="width:100%;">
        PRZEDMIOTY OPODATKOWANIA
    NIE ZWOLNIONE OD PODATKU
    </div></td><td class="text-center bolder darker text-middle" style="width:75%;" colspan="3"><div style="width:100%;">
        Powierzchnia użytków rolnych
    </div></td>					
    		</tr><tr style="vertical-align: top;">		
    			<td class="text-center bolder darker text-middle" style="border-left:1px solid black;width:25%;"><div style="width:100%;">
        Grunty orne (R),
    Sady na gruntach ornych (S-R)
    </div></td><td class="text-center bolder darker text-middle" style="width:25%;"><div style="width:100%;">
        Łąki (Ł)
    Sady na łąkach (S-Ł)
    </div></td><td class="text-center bolder darker text-middle" style="width:25%;"><div style="width:100%;">
        Pastwiska (Ps)
    Sady na pastwiskach (S-Ps)
    </div></td>					
    		</tr><tr style="vertical-align: top;">		
    			<td class="subtitle1 darker" style="border-top:1px solid black;" colspan="4"><div style="width:100%;">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:InformacjaRolna/wnio:Grupa/wnio:Nazwa) != ''">
                <xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:InformacjaRolna/wnio:Grupa/wnio:Nazwa"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td>					
    		</tr><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:InformacjaRolna">		<tr style="vertical-align: top;">		
    			<td class="text-center bolder darker text-middle"><div style="width:100%;">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa I']/wnio:Klasa) != ''">
                <xsl:value-of select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa I']/wnio:Klasa"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><xsl:for-each select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa I']">
    
        <xsl:variable name="lp_start_34" select="$lp_start_33+(count(./preceding-sibling::wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa I'])*4)"/>
    
    <td><div style="width:100%;">
        <div class="text-left field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_35">
    						<xsl:with-param name="lp_start" select="$lp_start_34"/>
    					</xsl:call-template>
    </div>
    </div><div class="text-right bolder text-middle">
        ha
    </div><div class="input-short-center text-middle text-center field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:PowOgolem) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:PowOgolem"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>
    </xsl:for-each>					
    		</tr>
    </xsl:for-each><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:InformacjaRolna">		<tr style="vertical-align: top;">		
    			<td class="text-center bolder darker text-middle"><div style="width:100%;">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa II']/wnio:Klasa) != ''">
                <xsl:value-of select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa II']/wnio:Klasa"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><xsl:for-each select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa II']">
    
        <td><div style="width:100%;">
        <div class="text-right bolder text-middle">
        ha
    </div><div class="input-short-center text-middle text-center field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:PowOgolem) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:PowOgolem"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>
    </xsl:for-each>					
    		</tr>
    </xsl:for-each><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:InformacjaRolna">		<tr style="vertical-align: top;">		
    			<td class="text-center bolder darker text-middle"><div style="width:100%;">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa III']/wnio:Klasa) != ''">
                <xsl:value-of select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa III']/wnio:Klasa"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><xsl:for-each select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa III']">
    
        <xsl:if test="string(wnio:NieDotyczy) = 'T'">
    			<td class="darker"><div style="width:100%;">
        
    </div></td>
    		</xsl:if><xsl:if test="not(string(wnio:NieDotyczy) = 'T')">
    			<td><div style="width:100%;">
        <div class="text-right bolder text-middle">
        ha
    </div><div class="input-short-center text-middle text-center field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:PowOgolem) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:PowOgolem"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>
    		</xsl:if>
    </xsl:for-each>					
    		</tr>
    </xsl:for-each><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:InformacjaRolna">		<tr style="vertical-align: top;">		
    			<td class="text-center bolder darker text-middle"><div style="width:100%;">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IIIa']/wnio:Klasa) != ''">
                <xsl:value-of select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IIIa']/wnio:Klasa"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><xsl:for-each select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IIIa']">
    
        <xsl:if test="string(wnio:NieDotyczy) = 'T'">
    			<td class="darker"><div style="width:100%;">
        
    </div></td>
    		</xsl:if><xsl:if test="not(string(wnio:NieDotyczy) = 'T')">
    			<td><div style="width:100%;">
        <div class="text-right bolder text-middle">
        ha
    </div><div class="input-short-center text-middle text-center field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:PowOgolem) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:PowOgolem"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>
    		</xsl:if>
    </xsl:for-each>					
    		</tr>
    </xsl:for-each><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:InformacjaRolna">		<tr style="vertical-align: top;">		
    			<td class="text-center bolder darker text-middle"><div style="width:100%;">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IIIb']/wnio:Klasa) != ''">
                <xsl:value-of select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IIIb']/wnio:Klasa"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><xsl:for-each select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IIIb']">
    
        <xsl:if test="string(wnio:NieDotyczy) = 'T'">
    			<td class="darker"><div style="width:100%;">
        
    </div></td>
    		</xsl:if><xsl:if test="not(string(wnio:NieDotyczy) = 'T')">
    			<td><div style="width:100%;">
        <div class="text-right bolder text-middle">
        ha
    </div><div class="input-short-center text-middle text-center field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:PowOgolem) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:PowOgolem"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>
    		</xsl:if>
    </xsl:for-each>					
    		</tr>
    </xsl:for-each><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:InformacjaRolna">		<tr style="vertical-align: top;">		
    			<td class="text-center bolder darker text-middle"><div style="width:100%;">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IV']/wnio:Klasa) != ''">
                <xsl:value-of select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IV']/wnio:Klasa"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><xsl:for-each select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IV']">
    
        <xsl:if test="string(wnio:NieDotyczy) = 'T'">
    			<td class="darker"><div style="width:100%;">
        
    </div></td>
    		</xsl:if><xsl:if test="not(string(wnio:NieDotyczy) = 'T')">
    			<td><div style="width:100%;">
        <div class="text-right bolder text-middle">
        ha
    </div><div class="input-short-center text-middle text-center field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:PowOgolem) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:PowOgolem"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>
    		</xsl:if>
    </xsl:for-each>					
    		</tr>
    </xsl:for-each><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:InformacjaRolna">		<tr style="vertical-align: top;">		
    			<td class="text-center bolder darker text-middle"><div style="width:100%;">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IVa']/wnio:Klasa) != ''">
                <xsl:value-of select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IVa']/wnio:Klasa"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><xsl:for-each select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IVa']">
    
        <xsl:if test="string(wnio:NieDotyczy) = 'T'">
    			<td class="darker"><div style="width:100%;">
        
    </div></td>
    		</xsl:if><xsl:if test="not(string(wnio:NieDotyczy) = 'T')">
    			<td><div style="width:100%;">
        <div class="text-right bolder text-middle">
        ha
    </div><div class="input-short-center text-middle text-center field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:PowOgolem) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:PowOgolem"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>
    		</xsl:if>
    </xsl:for-each>					
    		</tr>
    </xsl:for-each><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:InformacjaRolna">		<tr style="vertical-align: top;">		
    			<td class="text-center bolder darker text-middle"><div style="width:100%;">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IVb']/wnio:Klasa) != ''">
                <xsl:value-of select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IVb']/wnio:Klasa"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><xsl:for-each select="wnio:Grupa/wnio:PrzedmiotOpodatkowania[wnio:Klasa='Klasa IVb']">
    
        <xsl:if test="string(wnio:NieDotyczy) = 'T'">
    			<td class="darker"><div style="width:100%;">
        
    </div></td>
    		</xsl:if><xsl:if test="not(string(wnio:NieDotyczy) = 'T')">
    			<td><div style="width:100%;">
        <div class="text-right bolder text-middle">
        ha
    </div><div class="input-short-center text-middle text-center field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:PowOgolem) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:PowOgolem"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>
    		</xsl:if>
    </xsl:for-each>					
    		</tr>
    </xsl:for-each>
    	</table>
    </div><xsl:variable name="lp_start_36" select="44"/>
    
    <xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja">	<table class="table-with-borders" style="width:100%;" cellpadding="0" cellspacing="0">
    		
    <xsl:for-each select="wnio:PrzedmiotyOpodatkowania/wnio:Grupa">
    
        <xsl:if test="(contains(string(wnio:Nazwa),'C.4'))  or       (contains(string(wnio:Nazwa),'C.4 POZOSTAŁE'))">
    			<tr style="vertical-align: top;">		
    			<td class="subtitle1 darker" style="border-top:1px solid black;border-bottom:1px solid black;" colspan="3"><div style="width:100%;">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:Nazwa) != ''">
                <xsl:value-of select="wnio:Nazwa"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td>					
    		</tr><xsl:for-each select="wnio:PrzedmiotOpodatkowania">
    
        <tr style="vertical-align: top;">		
    			<td class="text-center text-middle bolder darker" style="border-top:none;border-bottom:thin solid black;width:75%;"><div style="width:100%;">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:Klasa) != ''">
                <xsl:value-of select="wnio:Klasa"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><td class="text-center text-middle" style="border-top:none;border-bottom:thin solid black;width:25%;"><div style="width:100%;">
        <div class="text-left field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_37">
    						<xsl:with-param name="lp_start" select="$lp_start_36"/>
    					</xsl:call-template>
    </div>
    </div><div class="text-right bolder text-middle">
        ha
    </div><div class="input-short-center field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:PowOgolem) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:PowOgolem"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </xsl:for-each>
    		</xsl:if>
    </xsl:for-each>
    	</table>
    </xsl:for-each>
    </div>
    </div><div class="section" style="border-top:none;border-bottom:none;">
        <div class="title" style="display:inline-block;">
        D. ZWOLNIENIA I ULGI PODATKOWE
    </div><div class="editable">
        <xsl:variable name="lp_start_38" select="44"/>
    
    <xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:ZalacznikUlgi/wnio:Ulgi">
    <div>
        <table style="width:100%;" cellpadding="0" cellspacing="0">
    		
    <tr style="vertical-align: top;">		
    			<td class="darker text-center bolder min-height30" style="border-top:1px solid black;width:75%;" colspan="2"><div style="width:100%;">
        Podstawa prawna zwolnienia
    </div></td><td class="darker text-center bolder" style="border-top:1px solid black;border-left:1px solid black;width:25%;"><div style="width:100%;">
        Przedmiot zwolnienia
    (powierzchnia w ha fizycznych)
    </div></td>					
    		</tr><xsl:for-each select="wnio:Ulga">
    
        <xsl:variable name="lp_start_39" select="$lp_start_38+(count(./preceding-sibling::*))"/>
    
    <xsl:if test="current()[@typ='const']">
    			<tr style="vertical-align: top;">		
    			<td class="text-left text-top darker" style="border-top:1px solid black;border-right:1px solid black;width:75%;" colspan="2"><div style="width:100%;">
        <span class="input-long text-left">
        <xsl:choose>
            <xsl:when test="string(wnio:Opis) != ''">
                <xsl:value-of select="wnio:Opis"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><td class="text-center text-middle" style="border-top:1px solid black;width:25%;"><div style="width:100%;">
        <div class="text-left text-middle">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_40">
    						<xsl:with-param name="lp_start" select="$lp_start_39"/>
    					</xsl:call-template>
    </div>
    </div><xsl:if test="string(wnio:Powierzchnia) != ''">
    			<div class="input-short-center text-center text-middle field" style="width:50%;display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Powierzchnia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Powierzchnia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div><span> </span><div class="text-right">
        <xsl:for-each select="wnio:Jednostka">
    <div class="text-right bolder" style="display:inline-block;">
        <xsl:if test=".='m2'">
    			m<sup>
        2
    </sup>
    		</xsl:if><xsl:if test="not(.='m2')">
    			<span>
        <xsl:choose>
            <xsl:when test="string(.) != ''">
                <xsl:value-of select="."/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    		</xsl:if>
    </div>
    </xsl:for-each>
    </div><div>
        <xsl:for-each select="wnio:Skladniki/wnio:Skladnik">
    
        <table class="text-center" style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="text-center" style="border-top:thin solid black;width:45%;"><div style="width:100%;">
        Od:<div class="miesiace-list field" style="display:inline-block;">
                <div class="field-value">
                            <span class="field-text">
    					        <xsl:choose>
    <xsl:when test="wnio:MiesiacOd='1'">styczeń</xsl:when><xsl:when test="wnio:MiesiacOd='2'">luty</xsl:when><xsl:when test="wnio:MiesiacOd='3'">marzec</xsl:when><xsl:when test="wnio:MiesiacOd='4'">kwiecień</xsl:when><xsl:when test="wnio:MiesiacOd='5'">maj</xsl:when><xsl:when test="wnio:MiesiacOd='6'">czerwiec</xsl:when><xsl:when test="wnio:MiesiacOd='7'">lipiec</xsl:when><xsl:when test="wnio:MiesiacOd='8'">sierpień</xsl:when><xsl:when test="wnio:MiesiacOd='9'">wrzesień</xsl:when><xsl:when test="wnio:MiesiacOd='10'">październik</xsl:when><xsl:when test="wnio:MiesiacOd='11'">listopad</xsl:when><xsl:when test="wnio:MiesiacOd='12'">grudzień</xsl:when>
    								<xsl:otherwise>☐</xsl:otherwise>
    							</xsl:choose>
    
    				</span>
    
                </div>
    
    </div><br/>Do:<div class="miesiace-list field" style="display:inline-block;">
                <div class="field-value">
                            <span class="field-text">
    					        <xsl:choose>
    <xsl:when test="wnio:MiesiacDo='1'">styczeń</xsl:when><xsl:when test="wnio:MiesiacDo='2'">luty</xsl:when><xsl:when test="wnio:MiesiacDo='3'">marzec</xsl:when><xsl:when test="wnio:MiesiacDo='4'">kwiecień</xsl:when><xsl:when test="wnio:MiesiacDo='5'">maj</xsl:when><xsl:when test="wnio:MiesiacDo='6'">czerwiec</xsl:when><xsl:when test="wnio:MiesiacDo='7'">lipiec</xsl:when><xsl:when test="wnio:MiesiacDo='8'">sierpień</xsl:when><xsl:when test="wnio:MiesiacDo='9'">wrzesień</xsl:when><xsl:when test="wnio:MiesiacDo='10'">październik</xsl:when><xsl:when test="wnio:MiesiacDo='11'">listopad</xsl:when><xsl:when test="wnio:MiesiacDo='12'">grudzień</xsl:when>
    								<xsl:otherwise>☐</xsl:otherwise>
    							</xsl:choose>
    
    				</span>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle" style="border-top:thin solid black;border-left:thin solid black;width:50%;"><div style="width:100%;">
        <table class="text-center" style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="input-short-center text-center" style="width:50px;"><div class="field" style="width:100%;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Powierzchnia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Powierzchnia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div></td><td class="text-right"><xsl:for-each select="../../wnio:Jednostka">
    <div style="width:100%;">
        <xsl:if test=".='m2'">
    			m<sup>
        2
    </sup>
    		</xsl:if><xsl:if test="not(.='m2')">
    			<span>
        <xsl:choose>
            <xsl:when test="string(.) != ''">
                <xsl:value-of select="."/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    		</xsl:if>
    </div>
    </xsl:for-each></td>					
    		</tr>
    </table>
    </div></td><td style="border-top:thin solid black;width:5%;"/>					
    		</tr>
    </table>
    </xsl:for-each>
    </div>
    		</xsl:if>
    </div></td>					
    		</tr>
    		</xsl:if><xsl:if test="current()[@typ='7550']">
    			<tr style="vertical-align: top;">		
    			<td class="text-left text-top darker" style="border-top:none;width:30%;"><div style="width:100%;">
        
    </div></td><td class="text-center text-top darker" style="border-top:1px solid black;border-right:1px solid black;border-left:1px solid black;width:45%;"><div style="width:100%;">
        W przypadku korzystania z ulgi, po upływie okresu zwolnienia
    </div></td><td class="text-center text-center darker" style="border-top:1px solid black;width:25%;"><div style="width:100%;">
        <div class="text-left text-top">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_41">
    						<xsl:with-param name="lp_start" select="$lp_start_39"/>
    					</xsl:call-template>
    </div>
    </div><div class="field">
                <div class="text-center field-label"><span class="text-center">Ulga</span></div>
                <div class="field-value">
                            <span class="field-items">
    <span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Procent='75' or contains(wnio:Procent,' 75 ') or starts-with(wnio:Procent,'75 ') or (' 75' = substring(wnio:Procent, string-length(wnio:Procent)- string-length(' 75') +1))">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                75%   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Procent='50' or contains(wnio:Procent,' 50 ') or starts-with(wnio:Procent,'50 ') or (' 50' = substring(wnio:Procent, string-length(wnio:Procent)- string-length(' 50') +1))">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                50%   
            </span>
                            </span>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    		</xsl:if>
    </xsl:for-each>
    	</table>
    </div>
    </xsl:for-each>
    </div><div style="border-top:1px solid black;">
        <xsl:variable name="lp_start_42" select="55"/>
    
    <xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:ZalacznikUlgi/wnio:Ulgi2">
    <div>
        <table style="width:100%;" cellpadding="0" cellspacing="0">
    		
    <xsl:for-each select="wnio:Ulga">
    
        <xsl:variable name="lp_start_43" select="$lp_start_42+(count(./preceding-sibling::*))"/>
    
    <xsl:if test="current()[@typ ='tn']">
    			<tr style="vertical-align: top;">		
    			<td class="text-left text-top darker" style="border-right:1px solid black;border-bottom:1px solid black;width:75%;"><div style="width:100%;">
        <span class="input-long text-left">
        <xsl:choose>
            <xsl:when test="string(wnio:Opis) != ''">
                <xsl:value-of select="wnio:Opis"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><td class="text-center text-top" style="border-bottom:1px solid black;width:25%;"><div style="width:100%;">
        <div class="text-left text-top">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_44">
    						<xsl:with-param name="lp_start" select="$lp_start_43"/>
    					</xsl:call-template>
    </div>
    </div><div class="field">
                <div class="field-value">
                            <span class="field-items">
    <span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Jest='T' or contains(wnio:Jest,' T ') or starts-with(wnio:Jest,'T ') or (' T' = substring(wnio:Jest, string-length(wnio:Jest)- string-length(' T') +1))">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                TAK   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Jest='N' or contains(wnio:Jest,' N ') or starts-with(wnio:Jest,'N ') or (' N' = substring(wnio:Jest, string-length(wnio:Jest)- string-length(' N') +1))">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                NIE   
            </span>
                            </span>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    		</xsl:if><xsl:if test="current()[@typ ='6030']">
    			<tr style="vertical-align: top;">		
    			<td class="text-left text-top darker" style="border-right:1px solid black;border-bottom:1px solid black;width:75%;"><div style="width:100%;">
        <span class="input-long text-left">
        <xsl:choose>
            <xsl:when test="string(wnio:Opis) != ''">
                <xsl:value-of select="wnio:Opis"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td><td class="text-center text-middle" style="border-bottom:1px solid black;width:25%;"><div style="width:100%;">
        <div class="text-left field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_45">
    						<xsl:with-param name="lp_start" select="$lp_start_43"/>
    					</xsl:call-template>
    </div>
    </div><div class="field">
                <div class="field-value">
                            <span class="field-items">
    <span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Procent='60' or contains(wnio:Procent,' 60 ') or starts-with(wnio:Procent,'60 ') or (' 60' = substring(wnio:Procent, string-length(wnio:Procent)- string-length(' 60') +1))">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                60%   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Procent='30' or contains(wnio:Procent,' 30 ') or starts-with(wnio:Procent,'30 ') or (' 30' = substring(wnio:Procent, string-length(wnio:Procent)- string-length(' 30') +1))">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                30%   
            </span>
                            </span>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    		</xsl:if>
    </xsl:for-each><xsl:for-each select="wnio:Ulga[@typ='add']">
    
        <tr style="vertical-align: top;">		
    			<td class="text-left text-top darker" style="border-bottom:1px solid black;width:75%;"><div style="width:100%;">
        <span class="input-long text-left">
        <xsl:choose>
            <xsl:when test="string(wnio:Opis) != ''">
                <xsl:value-of select="wnio:Opis"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span><div class="input-long text-left full-width field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Opis2) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Opis2"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle" style="border-bottom:1px solid black;border-left:1px solid black;width:25%;"><xsl:for-each select="wnio:Skladniki">
    <div style="width:100%;">
        <div class="input-short-center text-right text-middle field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(../wnio:Powierzchnia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="../wnio:Powierzchnia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div><div>
        <xsl:for-each select="wnio:Skladnik">
    
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="text-left" style="border-top:thin solid black;border-left:none;width:46%;"><div style="width:100%;">
        Od:<div class="miesiace-list field" style="display:inline-block;">
                <div class="field-value">
                            <span class="field-text">
    					        <xsl:choose>
    <xsl:when test="wnio:MiesiacOd='1'">styczeń</xsl:when><xsl:when test="wnio:MiesiacOd='2'">luty</xsl:when><xsl:when test="wnio:MiesiacOd='3'">marzec</xsl:when><xsl:when test="wnio:MiesiacOd='4'">kwiecień</xsl:when><xsl:when test="wnio:MiesiacOd='5'">maj</xsl:when><xsl:when test="wnio:MiesiacOd='6'">czerwiec</xsl:when><xsl:when test="wnio:MiesiacOd='7'">lipiec</xsl:when><xsl:when test="wnio:MiesiacOd='8'">sierpień</xsl:when><xsl:when test="wnio:MiesiacOd='9'">wrzesień</xsl:when><xsl:when test="wnio:MiesiacOd='10'">październik</xsl:when><xsl:when test="wnio:MiesiacOd='11'">listopad</xsl:when><xsl:when test="wnio:MiesiacOd='12'">grudzień</xsl:when>
    								<xsl:otherwise>☐</xsl:otherwise>
    							</xsl:choose>
    
    				</span>
    
                </div>
    
    </div><br/>Do:<div class="miesiace-list field" style="display:inline-block;">
                <div class="field-value">
                            <span class="field-text">
    					        <xsl:choose>
    <xsl:when test="wnio:MiesiacDo='1'">styczeń</xsl:when><xsl:when test="wnio:MiesiacDo='2'">luty</xsl:when><xsl:when test="wnio:MiesiacDo='3'">marzec</xsl:when><xsl:when test="wnio:MiesiacDo='4'">kwiecień</xsl:when><xsl:when test="wnio:MiesiacDo='5'">maj</xsl:when><xsl:when test="wnio:MiesiacDo='6'">czerwiec</xsl:when><xsl:when test="wnio:MiesiacDo='7'">lipiec</xsl:when><xsl:when test="wnio:MiesiacDo='8'">sierpień</xsl:when><xsl:when test="wnio:MiesiacDo='9'">wrzesień</xsl:when><xsl:when test="wnio:MiesiacDo='10'">październik</xsl:when><xsl:when test="wnio:MiesiacDo='11'">listopad</xsl:when><xsl:when test="wnio:MiesiacDo='12'">grudzień</xsl:when>
    								<xsl:otherwise>☐</xsl:otherwise>
    							</xsl:choose>
    
    				</span>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle" style="border-top:thin solid black;border-left:thin solid black;"><div style="width:100%;">
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="input-short-center text-center"><div class="field" style="width:100%;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Powierzchnia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Powierzchnia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div></td>					
    		</tr>
    </table>
    </div></td><td style="border-top:thin solid black;width:5%;"/>					
    		</tr>
    </table>
    </xsl:for-each>
    </div>
    </div>
    </xsl:for-each></td>					
    		</tr>
    </xsl:for-each><xsl:for-each select="wnio:Ulga[@typ='addRada']">
    
        <tr style="vertical-align: top;">		
    			<td class="text-left text-top darker" style="border-bottom:1px solid black;width:75%;"><div style="width:100%;">
        <span style="display:inline-block;">
        <xsl:choose>
            <xsl:when test="string(wnio:Opis) != ''">
                <xsl:value-of select="wnio:Opis"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span><br/>Nr<span> </span><div class="input-short field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Numer) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Numer"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div><span> </span>z dnia<span> </span><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:ZDnia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:ZDnia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div><br/>§<span> </span><div class="input-short field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Paragraf) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Paragraf"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div><span> </span>pkt<span> </span><div class="input-short field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Punkt) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Punkt"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle" style="border-bottom:1px solid black;border-left:1px solid black;width:25%;"><div style="width:100%;">
        <div class="input-short-center text-right text-middle field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Powierzchnia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Powierzchnia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div><div>
        <xsl:for-each select="wnio:Skladniki/wnio:Skladnik">
    
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="text-left" style="border-top:thin solid black;width:46%;"><div style="width:100%;">
        Od:<div class="miesiace-list field" style="display:inline-block;">
                <div class="field-value">
                            <span class="field-text">
    					        <xsl:choose>
    <xsl:when test="wnio:MiesiacOd='1'">styczeń</xsl:when><xsl:when test="wnio:MiesiacOd='2'">luty</xsl:when><xsl:when test="wnio:MiesiacOd='3'">marzec</xsl:when><xsl:when test="wnio:MiesiacOd='4'">kwiecień</xsl:when><xsl:when test="wnio:MiesiacOd='5'">maj</xsl:when><xsl:when test="wnio:MiesiacOd='6'">czerwiec</xsl:when><xsl:when test="wnio:MiesiacOd='7'">lipiec</xsl:when><xsl:when test="wnio:MiesiacOd='8'">sierpień</xsl:when><xsl:when test="wnio:MiesiacOd='9'">wrzesień</xsl:when><xsl:when test="wnio:MiesiacOd='10'">październik</xsl:when><xsl:when test="wnio:MiesiacOd='11'">listopad</xsl:when><xsl:when test="wnio:MiesiacOd='12'">grudzień</xsl:when>
    								<xsl:otherwise>☐</xsl:otherwise>
    							</xsl:choose>
    
    				</span>
    
                </div>
    
    </div><br/>Do:<div class="miesiace-list field" style="display:inline-block;">
                <div class="field-value">
                            <span class="field-text">
    					        <xsl:choose>
    <xsl:when test="wnio:MiesiacDo='1'">styczeń</xsl:when><xsl:when test="wnio:MiesiacDo='2'">luty</xsl:when><xsl:when test="wnio:MiesiacDo='3'">marzec</xsl:when><xsl:when test="wnio:MiesiacDo='4'">kwiecień</xsl:when><xsl:when test="wnio:MiesiacDo='5'">maj</xsl:when><xsl:when test="wnio:MiesiacDo='6'">czerwiec</xsl:when><xsl:when test="wnio:MiesiacDo='7'">lipiec</xsl:when><xsl:when test="wnio:MiesiacDo='8'">sierpień</xsl:when><xsl:when test="wnio:MiesiacDo='9'">wrzesień</xsl:when><xsl:when test="wnio:MiesiacDo='10'">październik</xsl:when><xsl:when test="wnio:MiesiacDo='11'">listopad</xsl:when><xsl:when test="wnio:MiesiacDo='12'">grudzień</xsl:when>
    								<xsl:otherwise>☐</xsl:otherwise>
    							</xsl:choose>
    
    				</span>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle" style="border-top:thin solid black;border-left:thin solid black;"><div style="width:100%;">
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="input-short-center text-center"><div class="field" style="width:100%;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Powierzchnia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Powierzchnia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div></td>					
    		</tr>
    </table>
    </div></td><td style="border-top:thin solid black;width:5%;"/>					
    		</tr>
    </table>
    </xsl:for-each>
    </div>
    </div></td>					
    		</tr>
    </xsl:for-each>
    	</table>
    </div>
    </xsl:for-each>
    </div>
    </div><div class="section" style="border-bottom:none;">
        <div class="title">
        <xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podpis/wnio:WlascicielPodpisu)='P'">
    			E. PISEMNE UZASADNIENIE PRZYCZYNY KOREKTY / PODPIS PODATNIKA
    		</xsl:if>
    </div><div class="title">
        <xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podpis/wnio:WlascicielPodpisu)='PK'">
    			E. PISEMNE UZASADNIENIE PRZYCZYNY KOREKTY / PEŁNOMOCNIKA
    		</xsl:if>
    </div><div class="subtitle1" style="border-top:1px solid black;">
        E.1 PISEMNE UZASADNIENIE PRZYCZYNY KOREKTY (zgodnie z art. 81 § 2 - ustawy Ordynacja Podatkowa)
    </div><div class="editable section-indent">
        <div style="border-top:1px solid black;border-bottom:1px solid black;border-left:1px solid black;">
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="width:100%;"><div style="width:100%;">
        <div class="field">
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek/wnio:UzasadnienieKorekty) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek/wnio:UzasadnienieKorekty"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table>
    </div>
    </div>
    </div><div class="section">
        <div class="subtitle1">
        E.2 PODPIS SKŁADAJĄCEGO INFORMACJĘ
    </div><div class="section-indent editable">
        <xsl:variable name="lp_start_46" select="58"/>
    
    <xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja">
    <div>
        <table style="border-right:none;border-left:none;width:100%;" cellpadding="0" cellspacing="0">
    		
    <tr style="vertical-align: top;">		
    			<td style="border-right:1px solid black;border-bottom:1px solid black;width:50%;"><div style="width:100%;">
        <div class="field">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_47">
    						<xsl:with-param name="lp_start" select="$lp_start_46"/>
    					</xsl:call-template>
    </div>Nazwisko</div>
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Podpis/oso:Nazwisko) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Podpis/oso:Nazwisko"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td style="border-bottom:1px solid black;width:50%;"><div style="width:100%;">
        <div class="field">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_48">
    						<xsl:with-param name="lp_start" select="$lp_start_46"/>
    					</xsl:call-template>
    </div>Pierwsze imię</div>
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Podpis/oso:Imie) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Podpis/oso:Imie"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr><tr style="vertical-align: top;">		
    			<td style="width:50%;"><div style="width:100%;">
        <div class="field">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_49">
    						<xsl:with-param name="lp_start" select="$lp_start_46"/>
    					</xsl:call-template>
    </div>Data wypełnienia informacji (dzień.miesiąc.rok)</div>
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Podpis/wnio:DataWypelnienia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Podpis/wnio:DataWypelnienia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td style="border-left:1px solid black;width:50%;"><div style="width:100%;">
        <xsl:if test="wnio:Podpis/wnio:WlascicielPodpisu='P'">
    			<div class="lp-value">					<xsl:call-template name="lp_tamplate_50">
    						<xsl:with-param name="lp_start" select="$lp_start_46"/>
    					</xsl:call-template>
    </div>
    		</xsl:if><xsl:if test="wnio:Podpis/wnio:WlascicielPodpisu='OR'">
    			<div class="lp-value">					<xsl:call-template name="lp_tamplate_51">
    						<xsl:with-param name="lp_start" select="$lp_start_46"/>
    					</xsl:call-template>
    </div>
    		</xsl:if><xsl:for-each select="ds:Signature/ds:SignatureValue">
    <div class="signature-description">
        Dokument został podpisany, aby go zweryfikować należy użyć<br/>oprogramowania do weryfikacji podpisu<br/>Data złożenia podpisu:<div class="signature-date field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(../ds:Object/descendant::*[local-name() = 'SigningTime']) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="../ds:Object/descendant::*[local-name() = 'SigningTime']"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div><br/><div class="signature-bold">
        Podpis elektroniczny
    </div><br/>
    </div>
    </xsl:for-each>
    </div></td>					
    		</tr>
    	</table>
    </div>
    </xsl:for-each>
    </div>
    </div>
    </div><div class="page  break-after" style="width:22cm;">
        <div class="editable" style="width:100%;">
        1) W poz. 1 informacji IPN-1 numer PESEL wpisują podatnicy będący osobami fizycznymi objętymi rejestrem PESEL nieprowadzący działalności gospodarczej lub niebędący zarejestrowanymi podatnikami podatku od towarów i usług. Identyfikator podatkowy NIP wpisują pozostali podatnicy<br/>2) Jeżeli został zaznaczony kwadrat "korekta informacji", należy obowiązkowo wypełnić część E.1.<br/>3)  Dotyczy podmiotów prowadzących działalność gospodarczą.<br/>4)  Dane nieobowiązkowe.<br/>5)<strong>
        Budynek
    </strong>- obiekt budowlany w rozumieniu przepisów prawa budowlanego, który jest trwale związany z gruntem, wydzielony z przestrzeni za pomocą przegród budowlanych oraz posiada fundamenty i dach.<br/>6)<strong>
        Budynek mieszkalny lub jego część
    </strong>- budynek (jego część) pełniący(-a) funkcję mieszkalną (zgodnie z wpisem w ewidencji gruntów i budynków). Do budynków mieszkalnych lub ich części nie należy zaliczać garaży
      wielostanowiskowych, o których mowa w art. 3 ust. 4a ustawy: "Zasady odpowiedzialności solidarnej za zobowiązanie podatkowe, o której mowa w ust. 4, nie stosuje się przy współwłasności w częściach ułamkowych lokalu
      użytkowego – garażu wielostanowiskowego w budynku mieszkalnym wraz z gruntem stanowiących odrębny przedmiot własności. W takiej sytuacji obowiązek podatkowy ciąży na współwłaścicielach w zakresie
      odpowiadającym ich udziałowi w prawie własności. Przepisu art. 6 ust. 11 nie stosuje się."<br/>7)<strong>
        Budynek pozostały
    </strong>(np.: garaż wolnostojący lub garaż wielostanowiskowy, o którym mowa w art. 3 ust. 4a ustawy, budynek gospodarczy, inny) - budynek niepełniący funkcji mieszkalnej (zgodnie z wpisem w ewidencji
      gruntów i budynków), ani nie będący budynkiem związanym z prowadzeniem działalności gospodarczej, ani związanym z udzielaniem świadczeń zdrowotnych w rozumieniu przepisów o działalności leczniczej, zajętym przez
      podmioty udzielające tych świadczeń.<br/>8)<strong>
        Budowla
    </strong>- obiekt budowlany w rozumieniu przepisów prawa budowlanego niebędący budynkiem lub obiektem małej architektury, a także urządzenie budowlane w rozumieniu przepisów prawa budowlanego związane z obiektem budowlanym, które zapewnia możliwość użytkowania obiektu zgodnie z jego przeznaczeniem<br/>9)<strong>
        Wartość budowli
    </strong>- wartość, o której mowa w przepisach o podatkach dochodowych, ustalona na dzień 1 stycznia roku podatkowego, stanowiąca podstawę obliczania amortyzacji w tym roku, niepomniejszona o odpisy
      amortyzacyjne, a w przypadku budowli całkowicie zamortyzowanych - ich wartość z dnia 1 stycznia roku, w którym dokonano ostatniego odpisu amortyzacyjnego. Jeżeli obowiązek podatkowy w zakresie podatku od
      nieruchomości od budowli powstał w ciągu roku podatkowego - podstawą opodatkowania jest wartość stanowiąca podstawę obliczania amortyzacji na dzień powstania obowiązku podatkowego. Jeżeli budowla jest
      przedmiotem umowy leasingu i odpisów amortyzacyjnych dokonuje korzystający, w przypadku jej przejęcia przez właściciela, do celów określenia podstawy opodatkowania przyjmuje się wartość początkową przed zawarciem
      pierwszej umowy leasingu, zaktualizowaną i powiększoną o dokonane ulepszenia oraz niepomniejszoną o spłatę wartości początkowej. Jeżeli od budowli lub ich części nie dokonuje się odpisów amortyzacyjnych - podstawę
      opodatkowania stanowi ich wartość rynkowa, określona przez podatnika na dzień powstania obowiązku podatkowego.<br/>Jeżeli budowle lub ich części zostały ulepszone lub zgodnie z przepisami o podatkach dochodowych nastąpiła aktualizacja wyceny środków trwałych - podstawę opodatkowania stanowi ich wartość rynkowa ustalona na dzień
      1 stycznia roku podatkowego następującego po roku, w którym dokonano ulepszenia lub aktualizacji wyceny środków trwałych.<br/>10)<strong>
        Powierzchnia gruntu
    </strong>- powierzchnia zawarta w ewidencji gruntów i budynków<br/>11)<strong>
        Powierzchnia użytkowa budynku lub jego części -
    </strong>- powierzchnia mierzona po wewnętrznej długości ścian na wszystkich kondygnacjach, z wyjątkiem powierzchni klatek schodowych oraz szybów dźwigowych; za
      kondygnację uważa się również garaże podziemne, piwnice, sutereny i poddasza użytkowe.<br/>12)<strong>
        Grunty pozostałe
    </strong>- nie będące gruntami związanymi z prowadzeniem działalności gospodarczej, bez względu na sposób zakwalifikowania w ewidencji gruntów i budynków, ani gruntami pod wodami powierzchniowymi
      stojącymi lub pod wodami powierzchniowymi płynącymi w jeziorach i zbiornikach sztucznych. Gruntami pozostałymi nie są też użytki rolne i lasy.<br/>13)<strong>
        Grunty, budynki i budowle związane z prowadzeniem działalności gospodarczej
    </strong>– grunty, budynki i budowle będące w posiadaniu przedsiębiorcy lub innego podmiotu prowadzącego działalność gospodarczą, z
      wyjątkiem: 1) budynków mieszkalnych oraz gruntów związanych z tymi budynkami; 2) gruntów, o których mowa w art. 5 ust. 1 pkt 1 lit. b i d; 3) budynków, budowli lub ich części, w odniesieniu do których została wydana
      decyzja ostateczna organu nadzoru budowlanego, o której mowa w art. 67 ust. 1 ustawy z dnia 7 lipca 1994 r. – Prawo budowlane (Dz. U. z 2016 r., poz. 290 z późn. zm.), lub decyzja ostateczna organu nadzoru górniczego,
      na podstawie której trwale wyłączono budynek, budowlę lub ich części z użytkowania
    </div>
    </div><xsl:if test="count(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:ZalacznikWspolwlasciciele/wnio:Wspolwlasciciele/wnio:Wspolwlasciciel) &gt; 0">
    			<div class="page  " style="">
        <table class="full-width min-height40" style="border:1px solid black;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="darker bolder text-center text-middle title" style="border-right:1px solid black;width:40%;"><div style="width:100%;">
        IP1a
    </div></td><td class="darker" style="width:30%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_52"/>
    </div>Nr ewidencyjny
    </div>
    </div></td><td class="darker" style="border-left:1px solid black;width:30%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_53"/>
    </div>Nr dokumentu
    </div><br/>
    </div></td>					
    		</tr>
    </table><div class="section" style="border-top:none;">
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="title" style="width:70%;"><div style="width:100%;">
        INFORMACJE O WSPÓŁWŁAŚCICIELACH / WSPÓŁPOSIADACZACH
    </div></td><td class="text-center text-middle" style="border-left:1px solid black;width:30%;"><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_54"/>
    </div>Nr załącznika
    </div><span>
        <xsl:choose>
            <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:IloscZalacznikowWspolwlasciciele) != ''">
                <xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:IloscZalacznikowWspolwlasciciele"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </div></td>					
    		</tr>
    </table><div class="title" style="border-top:1px solid black;">
        A. PRZEZNACZENIE FORMULARZA
    </div><div class="section-indent editable">
        <xsl:variable name="lp_start_55" select="2"/>
    
    <xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja"><table cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="border:none;width:100%;"><table style="width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="border-right:1px solid black;width:60%;"><div style="width:100%;">
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="field-label text-left"><div style="width:100%;">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_56">
    						<xsl:with-param name="lp_start" select="$lp_start_55"/>
    					</xsl:call-template>
    </div>
    </div></td><td class="separates-lines"><div class="field" style="width:100%;">
                <div class="field-value">
                            <span class="field-items">
    <span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Naglowek/wnio:TypFormularza='IN'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                1. załącznik do informacji o nieruchomościach i obiektach budowlanych (IPN-1) - dla osób fizycznych   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Naglowek/wnio:TypFormularza='IR'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                2. załącznik do informacji o gruntach (IPR-1) - dla osób fizycznych   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Naglowek/wnio:TypFormularza='IL'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                3. załącznik do informacji o lasach (IPL-1) - dla osób fizycznych   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Naglowek/wnio:TypFormularza='DN'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                4. załącznik do deklaracji na podatek od nieruchomości (DPN-1)   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Naglowek/wnio:TypFormularza='DR'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                5. załącznik do deklaracji na podatek od rolny (DPR-1)   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:Naglowek/wnio:TypFormularza='DL'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                6. załącznik do deklaracji na podatek leśny (DPL-1)   
            </span>
                            </span>
    
                </div>
    
    </div></td>					
    		</tr>
    </table>
    </div></td><td class="min-height30"><div style="width:100%;">
        <table style="border-bottom:1px solid black;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_57">
    						<xsl:with-param name="lp_start" select="$lp_start_55"/>
    					</xsl:call-template>
    </div>Dzień wypełnienia IPN-1 (dzień.m-c.rok)
    </div><xsl:if test="string(wnio:Naglowek/wnio:TypFormularza)='IN'">
    			<div class="field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Podpis/wnio:DataWypelnienia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Podpis/wnio:DataWypelnienia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    		</xsl:if>
    </div></td>					
    		</tr>
    </table><table style="border-bottom:1px solid black;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_58">
    						<xsl:with-param name="lp_start" select="$lp_start_55"/>
    					</xsl:call-template>
    </div>Dzień wypełnienia IPR-1 (dzień.m-c.rok)
    </div><xsl:if test="string(wnio:Naglowek/wnio:TypFormularza)='IR'">
    			<div class="field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Podpis/wnio:DataWypelnienia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Podpis/wnio:DataWypelnienia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    		</xsl:if>
    </div></td>					
    		</tr>
    </table><table style="border-bottom:1px solid black;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_59">
    						<xsl:with-param name="lp_start" select="$lp_start_55"/>
    					</xsl:call-template>
    </div>Dzień wypełnienia IPL-1 (dzień.m-c.rok)
    </div><xsl:if test="string(wnio:Naglowek/wnio:TypFormularza)='IL'">
    			<div class="field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Podpis/wnio:DataWypelnienia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Podpis/wnio:DataWypelnienia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    		</xsl:if>
    </div></td>					
    		</tr>
    </table><table style="border-bottom:1px solid black;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_60">
    						<xsl:with-param name="lp_start" select="$lp_start_55"/>
    					</xsl:call-template>
    </div>Dzień wypełnienia DPN-1 (dzień.m-c.rok)
    </div><xsl:if test="string(wnio:Naglowek/wnio:TypFormularza)='DN'">
    			<div class="field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Podpis/wnio:DataWypelnienia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Podpis/wnio:DataWypelnienia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    		</xsl:if>
    </div></td>					
    		</tr>
    </table><table style="border-bottom:1px solid black;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_61">
    						<xsl:with-param name="lp_start" select="$lp_start_55"/>
    					</xsl:call-template>
    </div>Dzień wypełnienia DPR-1 (dzień.m-c.rok)
    </div><xsl:if test="string(wnio:Naglowek/wnio:TypFormularza)='DR'">
    			<div class="field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Podpis/wnio:DataWypelnienia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Podpis/wnio:DataWypelnienia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    		</xsl:if>
    </div></td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_62">
    						<xsl:with-param name="lp_start" select="$lp_start_55"/>
    					</xsl:call-template>
    </div>Dzień wypełnienia DPL-1 (dzień.m-c.rok)
    </div><xsl:if test="string(wnio:Naglowek/wnio:TypFormularza)='DL'">
    			<div class="field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Podpis/wnio:DataWypelnienia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Podpis/wnio:DataWypelnienia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    		</xsl:if>
    </div></td>					
    		</tr>
    </table>
    </div></td>					
    		</tr>
    </table></td>					
    		</tr>
    </table></xsl:for-each>
    </div>
    </div><div class="section" style="border-top:none;">
        <div class="title">
        B. DANE WSPÓŁWŁAŚCICIELI / WSPÓŁPOSIADACZY<sup>
        3)
    </sup>
    </div><div class="subtitle2">
        * - dotyczy podatnika niebędącego osobą fizyczną			  ** - dotyczy podatnika będącego osobą fizyczną
    </div><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:ZalacznikWspolwlasciciele/wnio:Wspolwlasciciele/wnio:Wspolwlasciciel">
    
        <xsl:variable name="lp_start_63" select="1+8+((count(./preceding-sibling::wnio:Wspolwlasciciel))*17)"/>
    
    <div class="subtitle1" style="border-top:1px solid black;">
        DANE IDENTYFIKACYJNE / ADRES
    </div><div class="editable section-indent">
        <div>
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_64">
    						<xsl:with-param name="lp_start" select="$lp_start_63"/>
    					</xsl:call-template>
    </div>Rodzaj podatnika:</div>
                <div class="field-value">
                            <span class="field-items">
    <span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:TypPodatnika='1'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                1. osoba fizyczna   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:TypPodatnika='2'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                2. osoba prawna   
            </span><span class="radio-item">
                <div class="radioChecker">
                    <xsl:choose>
                        <xsl:when test="wnio:TypPodatnika='3'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                3. jednostka organizacyjna, w tym spółka, nieposiadająca osobowości prawnej   
            </span>
                            </span>
    
                </div>
    
    </div></td>					
    		</tr>
    </table>
    </div><xsl:variable name="lp_start_65" select="$lp_start_63+1"/>
    
    <div>
        <xsl:if test="string(wnio:TypPodatnika)='1'">
    			<xsl:for-each select="oso:Osoba">
    <div>
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="min-height20" style="border-top:1px solid black;border-bottom:1px solid black;width:100%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_66">
    						<xsl:with-param name="lp_start" select="$lp_start_65"/>
    					</xsl:call-template>
    </div>Nazwa pełna* / Nazwisko, pierwsze imię**
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(oso:Nazwisko) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="oso:Nazwisko"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(oso:Imie) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="oso:Imie"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="min-height20" style="border-right:1px solid black;width:50%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_67">
    						<xsl:with-param name="lp_start" select="$lp_start_65"/>
    					</xsl:call-template>
    </div>Numer PESEL<sup>
        1)
    </sup>
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(oso:IdOsoby/oso:PESEL) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="oso:IdOsoby/oso:PESEL"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td class="min-height20" style="width:50%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_68">
    						<xsl:with-param name="lp_start" select="$lp_start_65"/>
    					</xsl:call-template>
    </div>Numer NIP<sup>
        2)
    </sup>
    </div>
    </div></td>					
    		</tr>
    </table>
    </div>
    </xsl:for-each>
    		</xsl:if><xsl:if test="string(wnio:TypPodatnika)!='1'">
    			<xsl:for-each select="inst:Instytucja">
    <div>
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="min-height20" style="border-top:1px solid black;border-bottom:1px solid black;width:100%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_69">
    						<xsl:with-param name="lp_start" select="$lp_start_65"/>
    					</xsl:call-template>
    </div>Nazwa pełna* / Nazwisko, pierwsze imię**
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(inst:NazwaInstytucji) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="inst:NazwaInstytucji"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="min-height20" style="border-right:1px solid black;width:50%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_70">
    						<xsl:with-param name="lp_start" select="$lp_start_65"/>
    					</xsl:call-template>
    </div>Numer PESEL<sup>
        1)
    </sup>
    </div>
    </div></td><td class="min-height20" style="width:50%;"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_71">
    						<xsl:with-param name="lp_start" select="$lp_start_65"/>
    					</xsl:call-template>
    </div>Numer NIP<sup>
        2)
    </sup>
    </div><div class="field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(inst:IdInstytucji/inst:NIP) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="inst:IdInstytucji/inst:NIP"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table>
    </div>
    </xsl:for-each>
    		</xsl:if>
    </div>
    </div><div class="subtitle1" style="border-top:1px solid black;">
        ADRES SIEDZIBY* / ADRES ZAMIESZKANIA**
    </div><div class="editable  section-indent">
        <xsl:variable name="lp_start_72" select="$lp_start_63+4"/>
    
    <xsl:for-each select="oso:Osoba/adr:Adres">
    <div class="table-with-borders">
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="full-width" style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_73">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Kraj</div>
                <div class="field-value">
                            <span class="field-text">
    					        <xsl:choose>
    <xsl:when test="adr:Kraj='PL'">POLSKA</xsl:when>
    								<xsl:otherwise>☐</xsl:otherwise>
    							</xsl:choose>
    
    				</span>
    
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_74">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Województwo</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Wojewodztwo) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Wojewodztwo"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_75">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Powiat</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Powiat) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Powiat"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_76">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Gmina</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Gmina) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Gmina"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_77">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Miejscowość</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Miejscowosc) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Miejscowosc"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_78">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Ulica/osiedle</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Ulica) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Ulica"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:13%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_79">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Nr domu</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Budynek) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Budynek"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:12%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_80">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Nr lokalu</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Lokal) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Lokal"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_81">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Kod pocztowy</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:KodPocztowy) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:KodPocztowy"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_82">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Poczta</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(adr:Poczta) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="adr:Poczta"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_83">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Telefon</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(../adr:Kontakt/adr:Telefon) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="../adr:Kontakt/adr:Telefon"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_84">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Faks</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(../adr:Kontakt/adr:Faks) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="../adr:Kontakt/adr:Faks"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td><td style="width:25%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_85">
    						<xsl:with-param name="lp_start" select="$lp_start_72"/>
    					</xsl:call-template>
    </div>Adres e-mail</div>
                <div class="full-width field-value">
    <div class="full-width">                        <xsl:choose>
                                <xsl:when test="string(../adr:Kontakt/adr:Email) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="../adr:Kontakt/adr:Email"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div></td>					
    		</tr>
    </table>
    </div>
    </xsl:for-each>
    </div>
    </xsl:for-each>
    </div><br/><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><sup style="width:100%;">
        1)
    </sup></td><td>Numer PESEL wpisują podatnicy będący osobami fizycznymi objętymi rejestrem PESEL nieprowadzący działalności gospodarczej lub niebędący zarejestrowanymi podatnikami
        podatku od towarów i usług.</td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><sup style="width:100%;">
        2)
    </sup></td><td>Identyfikator podatkowy NIP wpisują pozostali podatnicy</td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><sup style="width:100%;">
        3)
    </sup></td><td>Dane znane osobie składającej informacje (telefon, faks, adres e-mail nieobowiązkowe).</td>					
    		</tr>
    </table>
    </div>
    		</xsl:if>
                </body>
                </html>
            </xsl:for-each>
        </xsl:template>                           <xsl:template name="lp_tamplate_1">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_2">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_3">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_5">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_7">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_8">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_9">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_10">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+3"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_11">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+4"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_13">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_14">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_15">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_16">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+3"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_17">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+4"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_18">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+5"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_19">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+6"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_20">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+7"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_21">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+8"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_22">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+9"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_23">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+10"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_24">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+11"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_26">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_27">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_29">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.
                               </xsl:template>
                               <xsl:template name="lp_tamplate_30">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.
                               </xsl:template>
                               <xsl:template name="lp_tamplate_32">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.
                               </xsl:template>
                               <xsl:template name="lp_tamplate_35">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_37">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_40">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_41">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_44">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_45">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_47">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_48">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_49">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_50">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+3"/>.<span> </span>Podpis podatnika
                               </xsl:template>
                               <xsl:template name="lp_tamplate_51">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+3"/>.<span> </span>Podpis osoby reprezentującej podatnika
                               </xsl:template>
                               <xsl:template name="lp_tamplate_52">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_53">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_54">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_56">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_57">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_58">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_59">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+3"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_60">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+4"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_61">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+5"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_62">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+6"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_64">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_66">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_67">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_68">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_69">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_70">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_71">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_73">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_74">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_75">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_76">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+3"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_77">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+7"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_78">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+4"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_79">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+5"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_80">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+6"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_81">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+8"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_82">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+9"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_83">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+10"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_84">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+11"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_85">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+12"/>.<span> </span>
                               </xsl:template>
    
    </xsl:stylesheet>