7207

ID7207
Data2019-02-28
Symbol2019/02/28/7207
InstytucjaUrząd Miasta Gorzowa Wielkopolskiego
NazwaDeklaracja na podatek leśny
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2017/1821/6/10/1
  • Ustawa z dnia 30 października 2002 r. o podatku leśnym

    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/2019/02/28/7207/" 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>Deklaracja na podatek leśny</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{padding:10px;text-align:center;font-size:17px;font-weight:bolder}
    .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:60px}
    .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}
    .min-height100{min-height:100px}
    .min-height100 div{min-height:100px}
    .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}
    .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}
    .lp-value{font-weight:bold;margin:2px;display:inline-block;font-size:8pt!important}
    .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}
    .row_dark{background-color:#DDD}
    .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}
    */.global-form{border:0} 
                            </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:40%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="width:40%;"><div style="width:100%;">
        <div class="field-label">
        <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
    </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/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><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>					
    		</tr>
    </table>
    		</xsl:if>
    </div></td>					
    		</tr>
    </table><div class="form-name text-center">
        <div class="form-sign text-left" style="width:10%;">
        <span> </span>
    </div><div class="form-sign text-center">
        DEKLARACJA NA PODATEK LEŚNY
    </div><div style="width:10%;">
        <br/>
    </div>
    </div><xsl:variable name="lp_start_2" select="2"/>
    
    <div>
        <table class="min-height" style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="width:45%;"><div style="width:100%;">
        <span> </span>
    </div></td><td class="text-center" style="border:1px solid black;width:10%;"><div style="width:100%;">
        <div class="field">
                <div class="text-center field-label"><span class="text-center"><div class="lp-value">					<xsl:call-template name="lp_tamplate_3">
    						<xsl:with-param name="lp_start" select="$lp_start_2"/>
    					</xsl:call-template>
    </div>Rok</span></div>
                <div class="input-short text-center field-value">
    <div class="input-short text-center">                        <xsl:choose>
                                <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek/wnio:Rok) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek/wnio:Rok"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    </div>
                </div>
    
    </div>
    </div></td><td style="width:45%;"><div style="width:100%;">
        <span> </span>
    </div></td>					
    		</tr>
    </table><br/>
    </div><table class="legal-basis" style="border-bottom:1px solid black;" cellpadding="0" cellspacing="0">
    		
    <tr style="vertical-align: top;">		
    			<td style="width:20%;"><div style="width:100%;">
        Podstawa prawna:
    </div></td><td><div style="width:100%;">
        Ustawa z dnia 30 października 2002 r. o podatku leśnym ( Dz.U. z 2013 r. poz.465 z późn. zm.)
    </div></td>					
    		</tr><tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        Składający:
    </div></td><td><div style="width:100%;">
        Deklaracja przeznaczona dla osób prawnych, jednostek organizacyjnych w tym spółki, nieposiadające osobowości prawnej, jednostek organizacyjnych Lasów Państwowych i Agencji Nieruchomości Rolnych będących właścicielami lasów, posiadaczami samoistnymi lasów, użytkownikami wieczystymi lasów, posiadaczami lasów stanowiących własność Skarbu Państwa lub jednostki samorządu terytorialnego oraz dla osób fizycznych będących współwłaścicielami lub współposiadaczami z osobami prawnymi, bądź z jednostkami organizacyjnymi, w tym z spółkami , nieposiadającymi osobowości prawnej.
    </div></td>					
    		</tr><tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        Termin składania:
    </div></td><td><div style="width:100%;">
        Do dnia 15 stycznia każdego roku podatkowego lub w terminie 14 dni od dnia zaistnienia okoliczności mających wpływ na powstanie, bądź wygaśnięcie obowiązku podatkowego lub zaistnienia zdarzeń mających wpływ na wysokość podatku.
    </div></td>					
    		</tr><tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        Miejsce składania:
    </div></td><td><div style="width:100%;">
        <span style="display:inline-block;">
        <xsl:choose>
            <xsl:when test="string(wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:Pracownik/inst:Funkcja) != ''">
                <xsl:value-of select="wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:Pracownik/inst:Funkcja"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>.właściwy ze względu na miejsce położenia gruntów.
    </div></td>					
    		</tr>
    	</table><br/><div class="section" style="border-bottom:none;">
        <div class="title">
        A. MIEJSCE SKŁADANIA DEKLARACJI
    </div><xsl:for-each select="wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja">
    <div class="editable section-indent text-left">
        <xsl:variable name="lp_start_4" select="3"/>
    
    <div>
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="text-left"><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><br/>ul.<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><span> </span>
    </strong>
    </div></td>					
    		</tr>
    </table>
    </div>
    </div>
    </xsl:for-each>
    </div><div class="section" style="border-bottom:none;">
        <div class="title">
        B. OBOWIĄZEK ZŁOŻENIA DEKLARACJI
    </div><div class="subtitle1">
        Podatnik ma obowiązek złożenia wraz z korektą deklaracji pisemnego uzasadnienia przyczyny korekty – art.81 ustawy Ordynacja Podatkowa
    </div><div class="editable section-indent">
        <xsl:variable name="lp_start_5" select="4"/>
    
    <div>
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="separate-lines"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_6">
    						<xsl:with-param name="lp_start" select="$lp_start_5"/>
    					</xsl:call-template>
    </div>Okoliczności powodujące obowiązek złożenia deklaracji</div>
                <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>
                1. deklaracja roczna   
            </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>
                2. korekta deklaracji rocznej   
            </span>
                            </span>
    
                </div>
    
    </div></td>					
    		</tr>
    </table><xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek/wnio:ObowiazekZlozenia)='K'">
    			<table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="width:50%;"><div style="width:100%;">
        
    </div></td><td style="width:50%;"><div style="width:100%;">
        (miesiąc-rok)<span> </span><div class="input-short field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek/wnio:DataKorekty) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek/wnio:DataKorekty"/>
    						</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:100%;"><div style="width:100%;">
        <div class="full-width field">
                <div class="field-value">
                            <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></td>					
    		</tr>
    </table>
    		</xsl:if>
    </div>
    </div>
    </div><div class="section" style="border-bottom:none;">
        <div class="title">
        C. PODMIOT ZOBOWIĄZANY DO ZŁOŻENIA DEKLARACJI
    </div><div class="editable section-indent">
        <xsl:variable name="lp_start_7" select="6"/>
    
    <div>
        <div class="separate-lines field" style="width:100%;display:inline-block;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_8">
    						<xsl:with-param name="lp_start" select="$lp_start_7"/>
    					</xsl:call-template>
    </div>Rodzaj podmiotu</div>
                <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='1'">X</xsl:when>
                        <xsl:otherwise> </xsl:otherwise>
                    </xsl:choose>
                </div>
                1. właściciel, użytkownik lub posiadacz   
            </span><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>
                2. współwłaściciel, współużytkownik lub współposiadacz   
            </span>
                            </span>
    
                </div>
    
    </div>
    </div>
    </div>
    </div><div class="section" style="border-bottom:none;">
        <div class="title">
        D. DANE PODATNIKA
    </div><div class="subtitle2">
        * - dotyczy podatnika niebędącego osobą fizyczną   ** - dotyczy podatnika będącego osobą fizyczną
    </div>
    </div><div class="section" style="border-bottom:none;">
        <div class="subtitle1">
        D.1. DANE IDENTYFIKACYJNE
    </div><div class="editable section-indent">
        <xsl:variable name="lp_start_9" select="6"/>
    
    <xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik"><table style="width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="separate-lines"><div class="field" style="width:100%;">
                <div class="field-label">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></xsl:for-each><xsl:variable name="lp_start_10" select="7"/>
    
    <div>
        <xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:TypPodatnika)='1'">
    			<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-top: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_11">
    						<xsl:with-param name="lp_start" select="$lp_start_10"/>
    					</xsl:call-template>
    </div>Nazwa pełna* / 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>					
    		</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">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_12">
    						<xsl:with-param name="lp_start" select="$lp_start_10"/>
    					</xsl:call-template>
    </div>Nazwa skrócona* / Pierwsze imię, drugie 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 class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(oso:ImieDrugie) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="oso:ImieDrugie"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table><table style="border-top:1px solid black;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="min-height30"><div 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_10"/>
    					</xsl:call-template>
    </div>Identyfikator REGON
    </div>
    </div></td><td class="min-height30" style="border-left:1px solid black;"><div 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_10"/>
    					</xsl:call-template>
    </div>KRS (numer, organ rejestrowy)
    </div>
    </div></td>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="darker field-label" style="border-top:1px solid black;"><div style="width:100%;">
        Pola 11, 12, 13 wypełnia osoba fizyczna w przypadku, gdy numer PESEL nie został nadany.
    </div></td>					
    		</tr>
    </table><table style="border-top:1px solid black;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_15">
    						<xsl:with-param name="lp_start" select="$lp_start_10"/>
    					</xsl:call-template>
    </div>Data urodzenia
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(../../../../wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:DataUrodzenia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="../../../../wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:DataUrodzenia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td style="border-right:1px solid black;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_16">
    						<xsl:with-param name="lp_start" select="$lp_start_10"/>
    					</xsl:call-template>
    </div>Imię ojca
    </div><div class="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="width:34%;"><div 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_10"/>
    					</xsl:call-template>
    </div>Imię matki
    </div><div class="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>					
    		</tr>
    </table>
    </div>
    </xsl:for-each>
    		</xsl:if><xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:TypPodatnika)!='1'">
    			<xsl:for-each select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja">
    <div>
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="border-top: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_18">
    						<xsl:with-param name="lp_start" select="$lp_start_10"/>
    					</xsl:call-template>
    </div>Nazwa pełna* / Nazwisko**
    </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><div 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_10"/>
    					</xsl:call-template>
    </div>Nazwa skrócona* / Pierwsze imię, drugie imię**
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(inst:IdInstytucji/inst:InnyIdentyfikator[inst:TypIdentyfikatora='NazwaSkr']/inst:WartoscIdentyfikatora) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="inst:IdInstytucji/inst:InnyIdentyfikator[inst:TypIdentyfikatora='NazwaSkr']/inst:WartoscIdentyfikatora"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table><table style="border-top:1px solid black;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div 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_10"/>
    					</xsl:call-template>
    </div>Identyfikator REGON
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(inst:IdInstytucji/inst:REGON) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="inst:IdInstytucji/inst:REGON"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td style="border-left:1px solid black;"><div 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_10"/>
    					</xsl:call-template>
    </div>KRS (numer, organ rejestrowy)
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(inst:IdInstytucji/inst:KRS) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="inst:IdInstytucji/inst:KRS"/>
    						</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="darker field-label" style="border-top:1px solid black;"><div style="width:100%;">
        Pola 11, 12, 13 wypełnia osoba fizyczna w przypadku, gdy numer PESEL nie został nadany.
    </div></td>					
    		</tr>
    </table><table style="border-top:1px solid black;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="min-height30" style="width:33%;"><div 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_10"/>
    					</xsl:call-template>
    </div>Data urodzenia
    </div>
    </div></td><td class="min-height30" style="border-right:1px solid black;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_23">
    						<xsl:with-param name="lp_start" select="$lp_start_10"/>
    					</xsl:call-template>
    </div>Imię ojca
    </div>
    </div></td><td class="min-height30" style="width:34%;"><div 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_10"/>
    					</xsl:call-template>
    </div>Imię matki
    </div>
    </div></td>					
    		</tr>
    </table>
    </div>
    </xsl:for-each>
    		</xsl:if>
    </div>
    </div>
    </div><div class="section" style="border-bottom:none;">
        <xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:TypPodatnika)='1'">
    			
    		</xsl:if><xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:TypPodatnika)!='1'">
    			
    		</xsl:if><div class="subtitle1">
        D.2. ADRES SIEDZIBY */ ADRES ZAMIESZKANIA **
    </div><div class="editable section-indent">
        <xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:TypPodatnika)='1'">
    			<xsl:variable name="lp_start_25" select="14"/>
    
    <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:33%;"><div class="field" 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>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:33%;"><div class="field" 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>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:34%;" colspan="2"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_28">
    						<xsl:with-param name="lp_start" select="$lp_start_25"/>
    					</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>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="width:33%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_29">
    						<xsl:with-param name="lp_start" select="$lp_start_25"/>
    					</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><td style="width:33%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_30">
    						<xsl:with-param name="lp_start" select="$lp_start_25"/>
    					</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:34%;"><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_31">
    						<xsl:with-param name="lp_start" select="$lp_start_25"/>
    					</xsl:call-template>
    </div>Numer domu / Numer lokalu
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <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>/<span> </span><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <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:33%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_32">
    						<xsl:with-param name="lp_start" select="$lp_start_25"/>
    					</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:33%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_33">
    						<xsl:with-param name="lp_start" select="$lp_start_25"/>
    					</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:34%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_34">
    						<xsl:with-param name="lp_start" select="$lp_start_25"/>
    					</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>					
    		</tr>
    </table>
    </div>
    </xsl:for-each>
    		</xsl:if><xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podatnik/wnio:TypPodatnika)!='1'">
    			<xsl:variable name="lp_start_35" select="14"/>
    
    <xsl:for-each select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/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:33%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_36">
    						<xsl:with-param name="lp_start" select="$lp_start_35"/>
    					</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:33%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_37">
    						<xsl:with-param name="lp_start" select="$lp_start_35"/>
    					</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:34%;" colspan="2"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_38">
    						<xsl:with-param name="lp_start" select="$lp_start_35"/>
    					</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>					
    		</tr>
    </table><table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td style="width:33%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_39">
    						<xsl:with-param name="lp_start" select="$lp_start_35"/>
    					</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><td style="width:33%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_40">
    						<xsl:with-param name="lp_start" select="$lp_start_35"/>
    					</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:34%;"><div style="width:100%;">
        <div class="field-label text-left">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_41">
    						<xsl:with-param name="lp_start" select="$lp_start_35"/>
    					</xsl:call-template>
    </div>Numer domu / Numer lokalu
    </div><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <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>/<span> </span><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <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:33%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_42">
    						<xsl:with-param name="lp_start" select="$lp_start_35"/>
    					</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:33%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_43">
    						<xsl:with-param name="lp_start" select="$lp_start_35"/>
    					</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:34%;"><div class="field" style="width:100%;">
                <div class="field-label"><div class="lp-value">					<xsl:call-template name="lp_tamplate_44">
    						<xsl:with-param name="lp_start" select="$lp_start_35"/>
    					</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>					
    		</tr>
    </table>
    </div>
    </xsl:for-each>
    		</xsl:if>
    </div>
    </div>
    </div><div class="page  break-after" style="width:22cm;">
        <div class="section" style="border-bottom:none;">
        <div class="title">
        E. DANE DOTYCZĄCE LASÓW NIEPODLEGAJĄCYCH ZWOLNIENIU
    </div><div class="editable section-indent">
        <table class="table-with-borders" style="width:100%;" cellpadding="0" cellspacing="0">
    		
    <tr style="vertical-align: top;">		
    			<td class="text-center text-middle bolder" style="width:30%;"><div style="width:100%;">
        RODZAJ LASÓW
    </div></td><td class="text-center text-middle bolder" style="width:35%;"><div style="width:100%;">
        POWIERZCHNIA W HA
    </div></td><td class="text-center text-middle bolder" style="width:15%;"><div style="width:100%;">
        STAWKA PODATKU
    </div></td><td class="text-center text-middle bolder" style="width:20%;"><div style="width:100%;">
        KWOTA PODATKU
    </div></td>					
    		</tr><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:Lasy/wnio:Las">
    
        <xsl:variable name="lp_start_45" select="1+(count(./preceding-sibling::*)) * 3"/>
    
    <tr style="vertical-align: top;">		
    			<td class="text-left text-top min-height row-title" style="border-top:thin solid black;width:30%;"><div style="width:100%;">
        <strong>
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:Opis) != ''">
                <xsl:value-of select="wnio:Opis"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span>
    </strong>
    </div></td><td class="text-center" style="border-top:thin solid black;width:35%;"><div style="width:100%;">
        <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="width:150px;"><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-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><td><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><td/>					
    		</tr>
    </table>
    </div></td><td style="width:5%;"/>					
    		</tr>
    </table>
    </xsl:for-each>
    </div>
    </div></td><td class="text-center text-top" style="border-top:thin solid black;width:15%;"><div style="width:100%;">
        <table class="text-center text-middle" style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="input-short-center"><div class="field" style="width:100%;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Stawka) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Stawka"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div></td>					
    		</tr>
    </table>
    </div></td><td class="text-center text-top darker2" style="border-top:thin solid black;width:20%;"><div style="width:100%;">
        <table class="text-center text-top bolder" style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="input-short-center-bold"><div class="field" style="width:100%;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Kwota) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Kwota"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div></td>					
    		</tr>
    </table>
    </div></td>					
    		</tr>
    </xsl:for-each><tr style="vertical-align: top;">		
    			<td class="text-left field-label" style="width:30%;"><div style="width:100%;">
        Razem
    </div></td><td class="text-center text-middle bolder" style="width:35%;"><div style="width:100%;">
        <div class="input-short-center-bold text-center bolder field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:Lasy/wnio:SumaPowOgolem) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:Lasy/wnio:SumaPowOgolem"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle bolder" style="width:15%;"><div style="width:100%;">
        <div class="input-short-center-bold text-center bolder field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:Lasy/wnio:Stawka) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:Lasy/wnio:Stawka"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle bolder" style="width:20%;"><div style="width:100%;">
        <div class="input-short-center-bold text-center bolder field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:Lasy/wnio:Kwota) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:PrzedmiotyOpodatkowania/wnio:Lasy/wnio:Kwota"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    	</table>
    </div>
    </div><div class="section" style="border-bottom:none;">
        <div class="title">
        F. INFORMACJA O PRZEDMIOTACH ZWOLNIONYCH
    </div><div class="subtitle1">
        (podać powierzchnię lasu zwolnionego oraz przepis prawa - z jakiego tytułu występuje zwolnienie)
    </div><div class="editable section-indent">
        <div class="min-height20">
        <xsl:if test="count(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:ZalacznikPrzedmiotyZwolnione/wnio:PrzedmiotyZwolnione/wnio:PrzedmiotZwolniony)&gt;0">
    			<table style="border-top:none;border-right:none;border-bottom:none;width:100%;" cellpadding="0" cellspacing="0">
    		
    <tr style="vertical-align: top;">		
    			<td class="bolder text-center text-middle" style="border-right:1px solid black;width:50%;"><div style="width:100%;">
        Przepis prawa będący podstawą zwolnienia<br/>(tytuł zwolnienia)
    </div></td><td class="bolder text-center text-middle" style="width:50%;"><div style="width:100%;">
        Powierzchnia<br/>
    </div></td>					
    		</tr><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:ZalacznikPrzedmiotyZwolnione/wnio:PrzedmiotyZwolnione/wnio:PrzedmiotZwolniony">
    
        <tr style="vertical-align: top;">		
    			<td class="text-center text-middle" style="border-top:1px solid black;border-right:1px solid black;width:50%;"><div style="width:100%;">
        <div class="input-short-center text-center field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:PrzepisPrawa) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:PrzepisPrawa"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle" style="border-top:1px solid black;width:50%;"><div style="width:100%;">
        <div class="input-short-center text-center 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></td>					
    		</tr>
    </xsl:for-each>
    	</table>
    		</xsl:if>
    </div>
    </div>
    </div><div class="section" style="border-bottom:none;">
        <div class="title" style="display:inline-block;">
        G. INFORMACJA O ZAŁĄCZNIKACH (dołączonych do niniejszej deklaracji).
    </div><div class="editable section-indent">
        <table class="table-with-borders" style="width:100%;" cellpadding="0" cellspacing="0">
    		
    <tr style="vertical-align: top;">		
    			<td class="text-top text-center"><div style="width:100%;">
        <div class="field-label">
        Liczba załączników DANE O GRUNTACH “DG”
    </div><div class="text-center bolder">
        <span>
        <xsl:choose>
            <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:IloscZalacznikowGrunty) != ''">
                <xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:IloscZalacznikowGrunty"/>
            </xsl:when>
            <xsl:otherwise> </xsl:otherwise>
        </xsl:choose>
    </span><span> </span><span> </span><span> </span>
    </div>
    </div></td>					
    		</tr>
    	</table>
    </div>
    </div><div class="section">
        <xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podpis/wnio:WlascicielPodpisu)='P'">
    			
    		</xsl:if><xsl:if test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Podpis/wnio:WlascicielPodpisu)!='P'">
    			
    		</xsl:if><div class="title">
        <div class="title">
        H. PODPIS PODATNIKA / OSOBY REPREZENTUJĄCEJ PODATNIKA
    </div>
    </div><div class="section-indent editable">
        <xsl:variable name="lp_start_46" select="23"/>
    
    <xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja">
    <div>
        <table class="table-with-borders" style="width:100%;" cellpadding="0" cellspacing="0">
    		
    <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_47">
    						<xsl:with-param name="lp_start" select="$lp_start_46"/>
    					</xsl:call-template>
    </div>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><td style="border-left: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>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>					
    		</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</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><tr style="vertical-align: top;">		
    			<td style="border-top: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_52">
    						<xsl:with-param name="lp_start" select="$lp_start_46"/>
    					</xsl:call-template>
    </div>Telefon<sup>
        1
    </sup></div>
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Podpis/adr:Telefon) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Podpis/adr:Telefon"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td style="border-top:1px solid black;border-left: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_53">
    						<xsl:with-param name="lp_start" select="$lp_start_46"/>
    					</xsl:call-template>
    </div>Adres e-mail<sup>
        1
    </sup></div>
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Podpis/adr:Email) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Podpis/adr:Email"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    	</table>
    </div>
    </xsl:for-each>
    </div>
    </div><div class="section" style="border-top:none;">
        <div class="title">
        I. ADNOTACJE
    </div><div class="editable section-indent">
        <xsl:variable name="lp_start_54" select="29"/>
    
    <div>
        <table class="min-height" style="width:100%;" cellpadding="0" cellspacing="0">
    		
    <tr style="vertical-align: top;">		
    			<td class="min-height30"><div style="width:100%;">
        <div class="field-label">
        <div class="lp-value">					<xsl:call-template name="lp_tamplate_55">
    						<xsl:with-param name="lp_start" select="$lp_start_54"/>
    					</xsl:call-template>
    </div>Uwagi
    </div>
    </div></td>					
    		</tr>
    	</table>
    </div>
    </div>
    </div><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek">
    <div class="section" style="border:none;">
        <div class="editable" style="width:100%;">
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="objasnienie-text editable field-label"><div style="width:100%;">
        <sup>
        1
    </sup>pole nieobowiązkowe
    </div></td>					
    		</tr>
    </table>
    </div>
    </div>
    </xsl:for-each><br/><br/><xsl:if test="count(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:ZalacznikGrunty/wnio:Grunty/wnio:Grunt) &gt; 0">
    			<div class="page  " style="">
        <br/><div>
        <table class="form-name text-left" style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="form-sign"><div style="width:100%;">
        Załącznik “DG”
    </div></td><td><div style="width:100%;">
        <span> </span>
    </div></td>					
    		</tr>
    </table><br/><table class="field-label text-center" style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td><div style="width:100%;">
        DANE O GRUNTACH wg stanu na dzień<div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek/wnio:DataZlozenia) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Naglowek/wnio:DataZlozenia"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table>
    </div><br/><div class="section" style="border-bottom:none;">
        <div class="editable">
        <div class="min-height20 table-with-borders">
        <table style="border-top:none;border-right:none;width:100%;" cellpadding="0" cellspacing="0">
    		
    <tr style="vertical-align: top;">		
    			<td class="text-center text-middle darker field-label" style="width:20%;"><div style="width:100%;">
        Forma władania, posiadania
    </div></td><td class="text-center text-middle darker field-label" style="width:20%;"><div style="width:100%;">
        Nr księgi wieczystej/ nr umowy, decyzji
    </div></td><td class="text-center text-middle darker field-label" style="width:17%;"><div style="width:100%;">
        Numer działki, obrębu
    </div></td><td class="text-center text-middle darker field-label" style="width:18%;"><div style="width:100%;">
        Położenie (ulica)
    </div></td><td class="text-center text-middle darker field-label" style="width:10%;"><div style="width:100%;">
        Powierzchnia całkowita w ha
    </div></td><td class="text-center text-middle darker field-label" style="width:15%;"><div style="width:100%;">
        Klasyfikacja gruntów
    </div></td>					
    		</tr><xsl:for-each select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:ZalacznikGrunty/wnio:Grunty/wnio:Grunt">
    
        <tr style="vertical-align: top;">		
    			<td class="text-center text-middle" style="width:20%;"><div style="width:100%;">
        <div class="full-width field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:FormaWladania) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:FormaWladania"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle" style="width:20%;"><div style="width:100%;">
        <div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:NrKsiegiWieczystej) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:NrKsiegiWieczystej"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>,<span> </span><div class="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><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:NrDecyzji) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:NrDecyzji"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle" style="width:17%;"><div style="width:100%;">
        <div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:NrDzialki) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:NrDzialki"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>,<span> </span><div class="field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:NrObrebu) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:NrObrebu"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle" style="width:18%;"><div style="width:100%;">
        <div class="full-width field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Polozenie) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Polozenie"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td><td class="text-center text-middle" style="width:10%;"><div style="width:100%;">
        <div class="full-width 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></td><td class="text-center text-middle" style="width:15%;"><div style="width:100%;">
        <div class="full-width field" style="display:inline-block;">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:Opis) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:Opis"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </xsl:for-each>
    	</table>
    </div>
    </div>
    </div><div class="section">
        <div class="editable">
        <div class="min-height30">
        <table style="border:none;width:100%;" cellpadding="0" cellspacing="0">
    		<tr style="vertical-align: top;">		
    			<td class="field-label darker text-center text-middle" style="border-right:1px solid black;width:75%;"><div style="width:100%;">
        RAZEM
    </div></td><td class="text-center text-middle" style="width:25%;"><div style="width:100%;">
        <br/><div class="input-short-center field">
                <div class="field-value">
                            <xsl:choose>
                                <xsl:when test="string(wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:ZalacznikGrunty/wnio:Podsumowanie/wnio:SumaPowierzchniaGruntu) != ''">
                                    <span class="field-text">
    							<xsl:value-of select="wnio:TrescDokumentu/wnio:Deklaracje/wnio:Deklaracja/wnio:Zalaczniki/wnio:ZalacznikGrunty/wnio:Podsumowanie/wnio:SumaPowierzchniaGruntu"/>
    						</span>
                                </xsl:when>
                                <xsl:otherwise> </xsl:otherwise>
                            </xsl:choose>
    
                </div>
    
    </div>
    </div></td>					
    		</tr>
    </table>
    </div>
    </div>
    </div>
    </div>
    		</xsl:if><br/>
    </div>
                </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_3">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_6">
                                   <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"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_11">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_12">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_13">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_14">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+3"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_15">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+4"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_16">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+5"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_17">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+6"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_18">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_19">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_20">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_21">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+3"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_22">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+4"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_23">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+5"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_24">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+6"/>.<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_28">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_29">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+3"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_30">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+4"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_31">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+5"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_32">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+6"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_33">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+7"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_34">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+8"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_36">
                                   <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+1"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_38">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+2"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_39">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+3"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_40">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+4"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_41">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+5"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_42">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+6"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_43">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+7"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_44">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+8"/>.<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+4"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_53">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start+5"/>.<span> </span>
                               </xsl:template>
                               <xsl:template name="lp_tamplate_55">
                                   <xsl:param name="lp_start" select="1"/><xsl:value-of select="$lp_start"/>.<span> </span>
                               </xsl:template>
    
    </xsl:stylesheet>