7509

ID7509
Data2019-04-09
Symbol2019/04/09/7509
InstytucjaUrząd Gminy Ostrów Wielkopolski
NazwaDeklaracja na podatek rolny
Czy Aktualny1

Ustawy (1)

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

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2019/04/09/7509/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
      <xsl:template match="/">
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
            <style type="text/css">
                        body {
                            background-color: #FFFFFF;
                            margin: 0px 0px 0px 0px;
                            font-family: Verdana, Helvetica, sans-serif;
                            font-size: 12px;
                        }
    
                        table .title {
                            background-color: #FFFFFF;
                            width: 100%;
                            border: 0px;
                        }
    
                        p {
                            margin-top: 1em;
                            margin-bottom: 1em;
                        }
    
                        h1 {
                            font-size: 24px;
                            margin-top: 0;
                            background-color: #dde;
                            font-weight: bold;
                            font-size: 14px;
                            text-align: left;
                            padding-left: 1em;
                            padding-right: 1em;
                            padding-top: .2em;
                            padding-bottom: .2em;
                            margin-top: 0;
                            margin-bottom: 0;
                            border-bottom: solid 1px #99c;
                            line-height: 180%;
                        }
    
                        h2 {
                            color: #336;
                            background-color: #dde;
                            font-size: 9pt;
                            font-weight: bold;
                            padding-left: 1em;
                            padding-right: 1em;
                            padding-top: .2em;
                            padding-bottom: .2em;
                            margin-top: 2em;
                            margin-bottom: 1em;
                            border-bottom: solid 1px #336;
                            clear: right;
                        }
    
                        h3 {
                            font-size: 14px;
                            margin-top: 2em;
                            color: #0A2D4C;
                        }
    
                        h4 {
                            font-size: 12px;
                            margin-top: 2em;
                            color: #4A6D8C;
                        }
    
                        b {
                            color: #4A6D8C;
                        }
    
                        li {
                            line-height: 1.2em;
                        }
    
                        h1, h2 {
                            text-align: center !important;
                        }
    
                        h1 {
                            margin-bottom: 15px !important;
                        }
    
                        h3, h4 {
                            margin-top: 8px;
                            margin-bottom: 8px;
                        }
    
                        table {
                            border-collapse: collapse;
                            margin: 0;
                            padding: 0;
                            width: 100%;
                            margin-bottom: 3px;
                        }
    
                        td, th {
                            border: 1px solid #CCC;
                            padding: 3px;
                        }
    
                        th {
                            background-color: #EEE;
                            text-align: left;
                            font-weight: normal;
                        }
    
                        textarea {
                            width: 90%;
                            height: 100%
                        }
                    </style>
          </head>
          <body>
            <div style="width: 900px; margin: 0 auto;">
              <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc">
                <h1 style="text-align: center;">Deklaracja na podatek rolny</h1>
                <table style="margin:auto; width:280px;">
                  <tr>
                    <th>na rok:</th>
                    <td>
                      <xsl:value-of select="wnio:Rok"/>
                    </td>
                  </tr>
                </table>
                <h2>NAGŁÓWEK</h2>
                <table border="1px">
                  <tr>
                    <th style="width:15%">Podstawa prawna:</th>
                    <th>
                      <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:PodstawaPrawna"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Składający:</th>
                    <th>
                      <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Skladajacy"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Termin składania:</th>
                    <th>
                      <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:TerminSkladania"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Miejsce składania:</th>
                    <th>
                      <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:MiejsceSkaldania"/>
                    </th>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th>
                      <h4>MIEJSCE SKŁADANIA DEKLARACJI</h4>
                    </th>
                  </tr>
                  <tr>
                    <td>
                      <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:MiejsceSkladaniaDeklaracji"/>
                    </td>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>OBOWIĄZEK ZŁOŻENIA DEKLARACJI</h4>
                    </th>
                  </tr>
                  <tr>
                    <th style="width:40%">Okoliczności powodujące obowiązek złożenia deklaracji</th>
                    <td>
                      <xsl:if test="wnio:ObowiazekZlozeniaDeklaracji = 'po_raz_pierwszy'">deklaracja
                                            roczna
                                        </xsl:if>
                      <xsl:if test="wnio:ObowiazekZlozeniaDeklaracji = 'korekta'">korekta deklaracji
                                            rocznej
                                        </xsl:if>
                      <xsl:if test="wnio:ObowiazekZlozeniaDeklaracji = 'korekta_zakupu'">*deklaracja
                                            roczna zakupu nieruchomości w trakcie roku podatkowego
                                        </xsl:if>
                      <xsl:if test="wnio:ObowiazekZlozeniaDeklaracji = 'korekta_sprzedazy'">**deklaracja
                                            roczna sprzedaży nieruchomości w trakcie roku podatkowego
                                        </xsl:if>
                    </td>
                  </tr>
                  <tr>
                    <td colspan="2">
                      <i>
                                            * - dotyczy podatników, którzy nie posiadali wcześniej zgłoszonych do
                                            opodatkowania nieruchomości,
                                            <br/>
                                            ** - dotyczy podatników, którzy zbyli wszystkie posiadane nieruchomości
                                        </i>
                    </td>
                  </tr>
                  <xsl:for-each select="wnio:ObowiazekZlozeniaDeklaracji[.='po_raz_pierwszy']">
                    <tr>
                      <th>Data nabycia</th>
                      <td>
                        <xsl:value-of select="../wnio:DataNabycia"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:DataZmiany">
                    <tr>
                      <th>od</th>
                      <td>
                        <xsl:value-of select="."/>
                      </td>
                    </tr>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:ObowiazekZlozeniaDeklaracji[.='korekta_zakupu']">
                    <tr>
                      <th>w dniu</th>
                      <td>
                        <xsl:value-of select="../wnio:DataKupna"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:ObowiazekZlozeniaDeklaracji[.='korekta_sprzedazy']">
                    <tr>
                      <th>w dniu</th>
                      <td>
                        <xsl:value-of select="../wnio:DataSprzedarzy"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <table>
                  <tr>
                    <th>
                      <h4>PODMIOT ZOBOWIĄZANY DO ZŁOŻENIA DEKLARACJI</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>
                      <xsl:if test="wnio:PodmiotZobowiazanyDoZlozenia/@typ = '1'">właściciel</xsl:if>
                      <xsl:if test="wnio:PodmiotZobowiazanyDoZlozenia/@typ = '2'">współwłaściciel</xsl:if>
                      <xsl:if test="wnio:PodmiotZobowiazanyDoZlozenia/@typ = '3'">posiadacz samoistny</xsl:if>
                      <xsl:if test="wnio:PodmiotZobowiazanyDoZlozenia/@typ = '4'">współposiadacz samoistny</xsl:if>
                      <xsl:if test="wnio:PodmiotZobowiazanyDoZlozenia/@typ = '5'">użytkownik wieczysty</xsl:if>
                      <xsl:if test="wnio:PodmiotZobowiazanyDoZlozenia/@typ = '6'">współużytkownik wieczysty</xsl:if>
                      <xsl:if test="wnio:PodmiotZobowiazanyDoZlozenia/@typ = '7'">posiadacz zależny (np. dzierżawca)</xsl:if>
                      <xsl:if test="wnio:PodmiotZobowiazanyDoZlozenia/@typ = '8'">współposiadacz zależny (np. dzierżawca)</xsl:if>
                    </th>
                  </tr>
                </table>
                <xsl:for-each select="wnio:Podmiot">
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>DANE PODATNIKA</h4>
                      </th>
                    </tr>
                    <tr>
                      <th style="width:10%">Rodzaj</th>
                      <td colspan="5">
                        <xsl:if test="./@typPodmiotu = 'osoba_fizyczna'">osoba fizyczna</xsl:if>
                        <xsl:if test="./@typPodmiotu = 'osoba_prawna'">osoba prawna</xsl:if>
                        <xsl:if test="./@typPodmiotu = 'jednostka_organizacyjna'">jednostka organizacyjna</xsl:if>
                        <xsl:if test="./@typPodmiotu = 'spolka_bez_osobowosci'">spółka nieposiadająca osobowości prawnej</xsl:if>
                      </td>
                    </tr>
                    <xsl:for-each select="wnio:OsobaFizyczna">
                      <tr>
                        <th style="width:10%">Nazwisko</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Nazwisko"/>
                        </td>
                        <th style="width:10%">Imię</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Imie"/>
                        </td>
                        <th style="width:10%">Drugie imię</th>
                        <td>
                          <xsl:value-of select="oso:ImieDrugie"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">NIP</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:NIP"/>
                        </td>
                        <th style="width:10%">PESEL</th>
                        <td style="width:25%" colspan="3">
                          <xsl:value-of select="oso:PESEL"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaFizyczna/wnio:NieNadanoPeselu">
                      <tr>
                        <th>Data urodzenia</th>
                        <td>
                          <xsl:value-of select="oso:DataUrodzenia"/>
                        </td>
                        <th>Imię ojca</th>
                        <td>
                          <xsl:value-of select="oso:ImieOjca"/>
                        </td>
                        <th>Imię matki</th>
                        <td>
                          <xsl:value-of select="oso:ImieMatki"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaNiefizyczna">
                      <tr>
                        <th style="width:10%">Nazwa pełna</th>
                        <td colspan="3" style="width:55%">
                          <xsl:value-of select="inst:NazwaInstytucji"/>
                        </td>
                        <th style="width:10%">Nazwa skrócona</th>
                        <td style="width:25%">
                          <xsl:value-of select="wnio:NazwaSkrocona"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">NIP</th>
                        <td style="width:25%">
                          <xsl:value-of select="inst:NIP"/>
                        </td>
                        <th style="width:10%">REGON</th>
                        <td style="width:25%">
                          <xsl:value-of select="inst:REGON"/>
                        </td>
                        <th style="width:10%">KRS</th>
                        <td>
                          <xsl:value-of select="inst:KRS"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <xsl:for-each select="wnio:Adres">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>ADRES</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Kraj</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Kraj"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Województwo</th>
                        <td>
                          <xsl:value-of select="adr:Wojewodztwo"/>
                        </td>
                        <th>Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat"/>
                        </td>
                        <th>Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc"/>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy"/>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica"/>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek"/>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Telefon</th>
                        <td>
                          <xsl:value-of select="adr:Telefon"/>
                        </td>
                        <th>E-mail</th>
                        <td colspan="3">
                          <xsl:value-of select="adr:Email"/>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>Adres korespondencyjny inny niż powyższy ( <xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/> )</h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
                      <tr>
                        <th>Kraj</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Kraj"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Województwo</th>
                        <td>
                          <xsl:value-of select="adr:Wojewodztwo"/>
                        </td>
                        <th>Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat"/>
                        </td>
                        <th>Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc"/>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy"/>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica"/>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek"/>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Telefon</th>
                        <td>
                          <xsl:value-of select="adr:Telefon"/>
                        </td>
                        <th>E-mail</th>
                        <td colspan="3">
                          <xsl:value-of select="adr:Email"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>Pełnomocnik ( <xsl:value-of select="wnio:Pelnomocnik/@wystepuje"/> )</h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Pelnomocnik[@wystepuje='tak']">
                      <tr>
                        <th>Imię</th>
                        <td>
                          <xsl:value-of select="oso:Imie"/>
                        </td>
                        <th>Nazwisko</th>
                        <td>
                          <xsl:value-of select="oso:Nazwisko"/>
                        </td>
                        <th>PESEL</th>
                        <td>
                          <xsl:value-of select="oso:PESEL"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Wspolalascicele">
                  <table>
                    <tr>
                      <th colspan="3">
                        <h4>PODSTAWOWE DANE WSPÓŁWŁAŚCICIELA, WSPÓŁUŻYTKOWNIKA LUB WSPÓŁPOSIADACZA</h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Wspolalascicele">
                      <tr>
                        <th/>
                        <th>
                                                Pełna nazwa / Nazwisko, Pierwsze imię, drugie imię
                                            </th>
                        <th>
                                                Adres zamieszkania lub adres siedziby
                                            </th>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Wspolalascicele">
                      <tr>
                        <th>
                          <xsl:if test="wnio:WspolalasciceleSelect = '1'">Współwłaściciel</xsl:if>
                          <xsl:if test="wnio:WspolalasciceleSelect = '2'">Współużytkownik</xsl:if>
                          <xsl:if test="wnio:WspolalasciceleSelect = '3'">Współposiadacz</xsl:if>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:PelnaNazwa"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:AdresZamieszkania"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <h2>TREŚĆ DOKUMENTU</h2>
                <table>
                  <tr>
                    <th colspan="6"><h4>OKOLICZNOŚCI POWODUJĄCE KONIECZNOŚĆ ZŁOŻENIA DEKLARACJI</h4>
                                        Miejsce/a (adres/y) położenia przedmiotów opodatkowania, numery działek, numery
                                        ksiąg wieczystych oraz nazwa sądu, w którym prowadzona jest księga wieczysta lub
                                        zbiór dokumentów (UWAGA! Wykazuje się odrębnie dla każdej nieruchomości)
                                    </th>
                  </tr>
                  <xsl:for-each select="wnio:DaneNier/wnio:Nieruchomosc">
                    <tr>
                      <th>Położenie:</th>
                      <td>
                        <xsl:value-of select="wnio:Adres"/>
                      </td>
                      <th>Powierzchnia gruntu:</th>
                      <td>
                        <xsl:value-of select="wnio:PowierzchniaGruntu"/>
                      </td>
                      <th>Numer działki:</th>
                      <td>
                        <xsl:value-of select="wnio:NumerDzialki"/>
                      </td>
                    </tr>
                    <tr>
                      <th>Numer Księgi Wieczystej:</th>
                      <td>
                        <xsl:value-of select="wnio:NumerKW"/>
                      </td>
                      <th>Nazwa Sądu:</th>
                      <td colspan="3">
                        <xsl:value-of select="wnio:NazwaSadu"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <xsl:for-each select="wnio:DanePrzedmiotow/wnio:D">
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>
                          <xsl:value-of select="wnio:Tytul"/>
                        </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>Klasa</th>
                      <th>Powierzchnia w ha fizycznych z dokładnością do 1 m
                                            <sup>2</sup>
                                        </th>
                      <th>Przelicznik</th>
                      <th>Powierzchnia w ha przeliczeniowych z dokładnością do 1 m
                                            <sup>2</sup>
                                        </th>
                      <th>Stawka podatku</th>
                      <th>Wymiar podatku rolnego (zł,gr)</th>
                    </tr>
                    <xsl:for-each select="wnio:Sekcja">
                      <xsl:for-each select="wnio:Tytul">
                        <tr>
                          <th colspan="6">
                            <b>
                              <xsl:value-of select="."/>
                            </b>
                          </th>
                        </tr>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:Pozycja">
                        <tr>
                          <th style="text-align: center">
                            <b>
                              <xsl:value-of select="wnio:Tytul"/>
                            </b>
                          </th>
                          <td style="text-align: center">
                            <xsl:value-of select="wnio:Powierzchnia"/>
                          </td>
                          <td style="text-align: center">
                            <xsl:value-of select="wnio:Przelicznik"/>
                          </td>
                          <td style="text-align: center">
                            <xsl:value-of select="wnio:Przeliczeniowe"/>
                          </td>
                          <td style="text-align: center">
                            <xsl:value-of select="wnio:Stawka"/>
                          </td>
                          <xsl:for-each select="wnio:Tytul[(.!='V') and (.!='VI')]">
                            <td style="text-align: center">
                              <xsl:value-of select="../wnio:Wymiar"/>
                            </td>
                          </xsl:for-each>
                          <xsl:for-each select="wnio:Tytul[(.='V') or (.='VI')]">
                            <th/>
                          </xsl:for-each>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                    <tr>
                      <th colspan="6">
                        <b>
                                                RAZEM
                                            </b>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Razem">
                      <tr>
                        <th style="text-align: center">
                          <b>
                            <xsl:value-of select="wnio:Tytul"/>
                          </b>
                        </th>
                        <td style="text-align: center">
                          <xsl:value-of select="wnio:Powierzchnia"/>
                        </td>
                        <td style="text-align: center">
                          <xsl:value-of select="wnio:Przelicznik"/>
                        </td>
                        <td style="text-align: center">
                          <xsl:value-of select="wnio:Przeliczeniowe"/>
                        </td>
                        <td style="text-align: center">
                          <xsl:value-of select="wnio:Stawka"/>
                        </td>
                        <td style="text-align: center">
                          <xsl:value-of select="wnio:Wymiar"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:DanePrzedmiotow/wnio:F">
                  <table>
                    <xsl:for-each select="wnio:Sekcja">
                      <xsl:for-each select="wnio:Tytul">
                        <tr>
                          <th colspan="6">
                            <h4>
                              <xsl:value-of select="."/>
                            </h4>
                          </th>
                        </tr>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:Pozycja">
                        <tr>
                          <th>
                            <b>
                              <xsl:value-of select="wnio:Tytul"/>
                            </b>
                          </th>
                          <td style="text-align: center"><xsl:value-of select="wnio:Wartosc"/>
                                                    zł
                                                </td>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                    <tr>
                      <th colspan="6">
                        <b>
                                                RAZEM
                                            </b>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Razem">
                      <tr>
                        <th style="text-align: center">
                          <b>
                            <xsl:value-of select="wnio:Tytul"/>
                          </b>
                        </th>
                        <td style="text-align: center">
                          <xsl:value-of select="wnio:Wartosc"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:DanePrzedmiotow/wnio:G">
                  <table>
                    <tr>
                      <th colspan="4">
                        <h4>ŁĄCZNA KWOTA PODATKU</h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="3">
                        <b>1.</b>
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds1"/>
                      </th>
                      <td><xsl:value-of select="wnio:Razem"/> zł
                                        </td>
                    </tr>
                    <tr>
                      <th colspan="4"><b>2.</b>
                                            Raty podatku. Kwota rat podatku w wysokości 4/12 zadeklarowanego zobowiązania
                                            rocznego. Kwotę rat w ujęciu tabelarycznym należy zaokrąglić do pełnych złotych.
                                        </th>
                    </tr>
                    <tr>
                      <th style="text-align:center; width:25%;">I</th>
                      <th style="text-align:center; width:25%;">II</th>
                      <th style="text-align:center; width:25%;">III</th>
                      <th style="text-align:center; width:25%;">IV</th>
                    </tr>
                    <tr>
                      <td style="text-align: center;">
                        <xsl:value-of select="wnio:I"/>
                      </td>
                      <td style="text-align: center;">
                        <xsl:value-of select="wnio:II"/>
                      </td>
                      <td style="text-align: center;">
                        <xsl:value-of select="wnio:III"/>
                      </td>
                      <td style="text-align: center;">
                        <xsl:value-of select="wnio:IV"/>
                      </td>
                    </tr>
                    <tr>
                      <th colspan="4"><b>UWAGA!</b>
                                            W przypadku gdy kwota podatku nie przekracza 100 zł, podatek jest płatny
                                            jednorazowo w terminie płatności pierwszej raty.
                                        </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:DanePrzedmiotow">
                  <xsl:for-each select="wnio:DanePrzedmiotow">
                    <h2>ZR-1/A DANE O NIERUCHOMOŚCIACH ROLNYCH</h2>
                    <table>
                      <tr>
                        <th colspan="2">
                          <h4>POŁOŻENIE NIERUCHOMOŚCI</h4>
                        </th>
                      </tr>
                      <tr>
                        <th style="width:40%;">Adres nieruchomości</th>
                        <td>
                          <xsl:value-of select="wnio:AdresNieruchomosci"/>
                        </td>
                      </tr>
                    </table>
                    <table>
                      <tr>
                        <th colspan="2">
                          <h4>TYTUŁ PRAWNY</h4>
                        </th>
                      </tr>
                      <tr>
                        <th style="width:40%;">Forma władania:</th>
                        <th>
                          <xsl:if test="wnio:RodzajSkladajacy/@typ = '1'">własność</xsl:if>
                          <xsl:if test="wnio:RodzajSkladajacy/@typ = '2'">współwłasność</xsl:if>
                          <xsl:if test="wnio:RodzajSkladajacy/@typ = '3'">użytkowanie wieczyste</xsl:if>
                          <xsl:if test="wnio:RodzajSkladajacy/@typ = '4'">współużytkowanie wieczyste</xsl:if>
                          <xsl:if test="wnio:RodzajSkladajacy/@typ = '5'">posiadanie zależne</xsl:if>
                          <xsl:if test="wnio:RodzajSkladajacy/@typ = '6'">współposiadanie zależne</xsl:if>
                          <xsl:if test="wnio:RodzajSkladajacy/@typ = '7'">posiadanie samoistne</xsl:if>
                          <xsl:if test="wnio:RodzajSkladajacy/@typ = '8'">współposiadanie samoistne</xsl:if>
                        </th>
                      </tr>
                    </table>
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>IDENTYFIKATORY GEODEZYJNE DZIAŁEK, BUDYNKÓW, LOKALI</h4>
                        </th>
                      </tr>
                      <tr>
                        <th style="width:40%;">Identyfikator geodezyjny działki
    
                                            </th>
                        <td style="width:60%;">
                          <xsl:value-of select="wnio:IdentyfikatorDzialki"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:40%;">Powierzchnia
    
                                            </th>
                        <td style="width:6015%;">
                          <xsl:value-of select="wnio:PowierzchniaDzialki"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:40%;">Rodzaj gruntu - symbol użytku</th>
                        <td style="width:60%;">
                          <xsl:value-of select="wnio:SymbolUzytku"/>
                        </td>
                      </tr>
                    </table>
                    <table>
                      <tr>
                        <th colspan="2">
                          <h4>KSIĘGA WIECZYSTA</h4>
                        </th>
                      </tr>
                      <tr>
                        <th style="width:40%;">Numer księgi wieczystej lub zbioru dokumentów</th>
                        <td>
                          <xsl:value-of select="wnio:NrKsiegiWieczystej"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:40%;">Nazwa sądu</th>
                        <td>
                          <xsl:value-of select="wnio:NazwaSadu"/>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                </xsl:for-each>
                <h2>ZR 1/B DANE O ZWOLNIENIACH PODATKOWYCH W PODATKU ROLNYM ( <xsl:value-of select="wnio:ZwolnieniaWPodatkuRolnym/@type"/> )</h2>
                <table class="zalacznik">
                  <xsl:for-each select="wnio:ZwolnieniaWPodatkuRolnym/wnio:DaneDotyczaceZwolnienIUlgPodatkowych">
                    <tr>
                      <th>
                                            Tytuł prawny zwolnienia
    
                                        </th>
                      <th>
                                            Powierzchnia w hektarach fizycznych
                                        </th>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds2"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_1"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds3"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_2"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds4"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_3"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds5"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_4"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds6"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_5"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%; padding-left: 40px;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds7"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_6_ulga"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds8"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_7"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%; padding-left: 40px;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds9"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_8_ulga"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds10"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_9"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%; padding-left: 40px;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds11"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_10_ulga"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds12"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_11"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds13"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_12"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds14"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_13"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds15"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_14"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds16"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_15"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds17"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_16"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds18"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_17"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds19"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_18"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds20"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_19"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds21"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_20"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds22"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_21"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds23"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_22"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds24"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_23"/>
                      </td>
                    </tr>
                    <xsl:for-each select="wnio:Zwolnienie[@rodzaj='inne']">
                      <tr>
                        <td>
                          <xsl:value-of select="wnio:Art_inny0"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art_inny1"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <tr>
                      <th colspan="2">
                        <h4>DANE DOTYCZĄCE ULG PODATKOWYCH WYNIKAJĄCYCH Z USTAWY LUB UCHWAŁY RADY
                                                GMINY
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds25"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_24_ulga"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds26"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_25_ulga"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds27"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_26_ulga"/>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:75%">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pds28"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:A_27_ulga"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <h2>STOPKA</h2>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>Wyrażam zgodę na kontakt:</h4>
                    </th>
                  </tr>
                  <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/wnio:Kontakt">
                    <tr>
                      <td style="width:40%">
                        <xsl:if test="./@rodzaj = 'email'">elektroniczny (e-mail)</xsl:if>
                        <xsl:if test="./@rodzaj = 'telefoniczny'">telefoniczny</xsl:if>
                      </td>
                      <td style="width:40%">
                        <xsl:value-of select="."/>
                      </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <xsl:for-each select="str:Zalaczniki">
                  <table>
                    <tr>
                      <th colspan="4">
                        <h4>Załączniki:</h4>
                      </th>
                    </tr>
                    <tr>
                      <th>Opis</th>
                      <th>Plik</th>
                    </tr>
                    <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc/str:Zalaczniki/str:Zalacznik[@rodzajZalacznika='inny']">
                      <tr>
                        <td style="width:40%">
                          <xsl:value-of select="str:OpisZalacznika"/>
                        </td>
                        <td>
                          <xsl:value-of select="./@nazwaPliku"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <table>
                  <tr>
                    <th>
                      <h4>Pouczenie</h4>
                    </th>
                  </tr>
                  <tr>
                    <td>
                      <xsl:value-of select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Pouczenie"/>
                    </td>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th>
                      <h4>OŚWIADCZENIE PODATNIKA / OSOBY REPREZENTUJĄCEJ PODATNIKA</h4>
                    </th>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th>Imię</th>
                    <td>
                      <span class="yellow">
                        <xsl:value-of select="oso:Imie"/>
                      </span>
                    </td>
                  </tr>
                  <tr>
                    <th>Nazwisko</th>
                    <td>
                      <span class="yellow">
                        <xsl:value-of select="oso:Nazwisko"/>
                      </span>
                    </td>
                  </tr>
                  <tr>
                    <th>Data wypełnienia deklaracji</th>
                    <td>
                      <span class="yellow">
                        <xsl:value-of select="wnio:DataWypelnienia"/>
                      </span>
                    </td>
                  </tr>
                </table>
              </xsl:for-each>
              <xsl:call-template name="Podpisy_elektroniczne"/>
            </div>
          </body>
        </html>
      </xsl:template>
      <xsl:template xmlns="http://www.w3.org/1999/xhtml" name="Podpisy_elektroniczne">
        <h2>Podpisy elektroniczne</h2>
        <table>
          <tr>
            <td>
              <xsl:choose>
                <xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) &gt; 0">
                  <xsl:text>Dokument został podpisany, aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu</xsl:text>
                  <xsl:choose>
                    <xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) &gt; 1">
                      <br/>
                      <xsl:text>Daty złożenia podpisu: </xsl:text>
                      <xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
                        <xsl:value-of select="."/>
                      </xsl:for-each>
                    </xsl:when>
                    <xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
                      <br/>
                      <xsl:text>Data złożenia podpisu: </xsl:text>
                      <xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
                        <xsl:value-of select="."/>
                      </xsl:for-each>
                    </xsl:when>
                    <xsl:when test="0 &gt;= count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])">
                                    </xsl:when>
                  </xsl:choose>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:text>Dokument nie zawiera podpisu</xsl:text>
                </xsl:otherwise>
              </xsl:choose>
            </td>
          </tr>
        </table>
      </xsl:template>
    </xsl:stylesheet>