10456
ID | 10456 |
Data | 2021-03-01 |
Symbol | 2021/03/01/10456 |
Instytucja | Urząd Miasta Oleśnicy |
Nazwa | Wniosek o wydanie zezwolenia na sprzedaż napojów alkoholowych |
Czy Aktualny | 1 |
---|
Ustawy (1)
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/2021/03/01/10456/" 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="/">
<xsl:for-each select="wnio:Dokument">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Wniosek o wydanie zezwolenia na sprzedaż napojów alkoholowych</title>
</head>
<body>
<div align="center">
<table style="width: 800px; font-family: Arial; font-size: 12px;">
<tbody>
<tr>
<td>
<div style="margin: 0 0 15px 0;">
<table border="0" cellpadding="0" cellspacing="0" style="margin: 0px 0px 3px; padding: 0px; width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="border-right: none; font-weight: normal; text-align: left;" width="55%">
<div style="padding-top: 20px;"> </div>
</td>
<td style="font-weight: normal; padding: 10px; text-align: left; font-size: 12px;">
<p align="right">Oleśnica, dnia <xsl:if test="true()">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wniosek/wnio:deklaracjaZDnia"/>
</xsl:if>
</p>
<br/>
<br/>
<div align="right" style="font-weight: normal; font-size: 18px;">
<strong>
<span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
</span>
</xsl:if>
</span>
</strong>
<br/>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div style="font-size: 18px; font-weight: bold; text-align: center; margin: 30px 0px 40px 0px;">WNIOSEK<br/>o wydanie zezwolenia na sprzedaż napojów alkoholowych</div>
<table cellpadding="0" cellspacing="0" style="margin: 0px 0px 3px; padding: 0; width: 100%; border-collapse: collapse; margin-top: 30px;">
<tbody>
<tr>
<td colspan="2" style="text-align: justify; background-color: #ffffff; font-size: 12px;">
<strong>1. Oznaczenie przedsiębiorcy:</strong>
<br/>
<div style="margin: 10px 0 5px 0;">Nazwa przedsiębiorcy: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:DanePrzedsiembiorcy/wnio:Nazwa"/>
</span>
</xsl:if>
</span>
</div>
<div>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:DanePrzedsiembiorcy/wnio:Sekcja">
<xsl:if test="true()">
<div style="margin: 0 0 10px 0;">Imię i nazwisko: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:Imie"/>
</span>
</xsl:if>
</span>
<span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:Nazwisko"/>
</span>
</xsl:if>
</span>
</div>
</xsl:if>
</xsl:for-each>
</div>
<br/>
<strong>2. Miejsce zamieszkania przedsiębiorcy:</strong>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresPrzedsiembiorcy/wnio:Sekcja">
<xsl:if test="true()">
<table border="0" cellpadding="0" cellspacing="0" style="margin: 6px 0px 10px; padding: 0px; width: 65%; border-collapse: collapse; font-size: 12px;">
<tbody>
<tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">Ulica: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:Ulica"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr domu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:NumerDomu"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr lokalu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:NumerLokalu"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;" width="50%">Miejscowość: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</span>
</td>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: justify;">Kod pocztowy: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:KodPocztowy"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
</xsl:if>
</xsl:for-each>
<br/>
<strong>3. Siedziba firmy:</strong>
<table border="0" cellpadding="0" cellspacing="0" style="margin: 6px 0px 3px; padding: 0px; width: 60%; border-collapse: collapse; font-size: 12px;">
<tbody>
<tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">Ulica: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:SiedzibaFirmy/wnio:Ulica"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr domu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:SiedzibaFirmy/wnio:NrDomu"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr lokalu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:SiedzibaFirmy/wnio:NrLokalu"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;" width="50%">Miejscowość: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:SiedzibaFirmy/wnio:Miejscowosc"/>
</span>
</xsl:if>
</span>
</td>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: justify;">Kod pocztowy: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:SiedzibaFirmy/wnio:KodPocztowy"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
<br/>
<div style="margin: 0 0 15px 0;">
<strong>4. Nr telefonu / e-mail: </strong>
<span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:TelefonPrzedsiembiorcy"/>
</span>
</xsl:if>
</span>,
<span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:EmailPrzedsiembiorcy"/>
</span>
</xsl:if>
</span>
</div>
<div style="margin: 10px 0 15px 0;">
<strong>5. Nr w rejestrze przedsiębiorców KRS <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:KRS"/>
</span>
</xsl:if>
</span> o ile przedsiębiorca taki posiada oraz nr identyfikacji podatkowej (NIP) <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:NIP"/>
</span>
</xsl:if>
</span>
</strong>
</div>
<div style="margin: 10px 0 15px 0;">
<strong>6. Przedmiot działalności gospodarczej: </strong>
<br/>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:PrzedmiotDzialalnosci"/>
</span>
</xsl:if>
<br/>
</div>
<div style="margin: 10px 0 15x 0;">
<strong>7. Dane pełnomocnika:</strong>
<div style="margin: 5px 0 5px 0;">Czy składa pełnomocnik?<span>
<xsl:if test="true()">
<span>
<xsl:choose>
<xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:DanePelnomocnika/wnio:TakNie) = normalize-space(' 1 ')">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> Tak </span>
</label>
</span>
<span>
<xsl:choose>
<xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:DanePelnomocnika/wnio:TakNie) = normalize-space(' 2 ')">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> Nie </span>
</label>
</span>
</xsl:if>
</span>
</div>
<div style="margin: 5px 0 5px 0;">
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:DanePelnomocnika/wnio:Sekcja">
<xsl:if test="(../wnio:TakNie='1')">
<div style="margin: 5px 0 5px 0;">Imię i nazwisko: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:Imie"/>
</span>
</xsl:if>
</span>
<span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:Nazwisko"/>
</span>
</xsl:if>
</span>
</div>
<div style="margin: 10px 0 15px 0;">Adres zamieszkania pełnomocnika: <table border="0" cellpadding="0" cellspacing="0" style="margin: 6px 0px 3px; padding: 0px; width: 65%; border-collapse: collapse; font-size: 12px;">
<tbody>
<tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">Ulica: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:Ulica"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr domu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:NumerDomu"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr lokalu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:NumerLokalu"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;" width="50%">Miejscowość: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</span>
</td>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: justify;">Kod pocztowy: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:KodPocztowy"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
</div>
<div style="margin: 5px 0 10px 0;">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Informacja"/>
</span>
</xsl:if>
<br/>
<xsl:for-each select="str:Zalaczniki/str:Zalacznik">
<xsl:if test="true()"> <span style="font-weight: bold;">
<xsl:value-of select="str:DaneZalacznika/../@nazwaPliku"/>
</span>
</xsl:if>
</xsl:for-each>
<xsl:if test="str:Zalaczniki/str:Zalacznik/str:DaneZalacznika = ''">
<span style="font-weight: bold;">
BRAK ZAŁĄCZNIKA
</span>
</xsl:if>
</div>
</xsl:if>
</xsl:for-each>
</div>
</div>
<div style="margin: 25px 0 5px 0;">
<strong>8. Rodzaj sprzedaży napojów alkoholowych:</strong>
</div>
<div style="display: inline-block;">
<span>
<xsl:if test="true()">
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajSprzedazy)),' '), ' 1 ')">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> a) przeznaczonych do spożycia poza miejscem sprzedaży - detal </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajSprzedazy)),' '), ' 2 ')">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> b) przeznaczonych do spożycia na miejscu sprzedaży – gastronomia </span>
</label>
</span>
</xsl:if>
</span>
</div>
<div style="display: inline-block;padding-left:30px;">
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:Data1Sprzedazy">
<xsl:if test="../wnio:RodzajSprzedazy = '1'">Data początkowa zezwolenia: <xsl:if test="true()">
<strong>
<xsl:value-of select="wnio:DataPoczatkowa"/>
</strong>
</xsl:if>
<br/>
<br/>
</xsl:if>
</xsl:for-each>
</div>
<div style="display: inline-block;padding-left:30px;">
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:Data2Sprzedazy">
<xsl:if test="../wnio:RodzajSprzedazy = '2'">Data początkowa zezwolenia: <xsl:if test="true()">
<strong>
<xsl:value-of select="wnio:DataPoczatkowa"/>
</strong>
</xsl:if>
</xsl:if>
</xsl:for-each>
</div>
<div style="display: inline-block;padding-left:30px;">
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:Data1Sprzedazy">
<xsl:if test="../wnio:RodzajSprzedazy = '1 2'">
Data początkowa zezwolenia: <xsl:if test="true()">
<strong>
<xsl:value-of select="wnio:DataPoczatkowa"/>
</strong>
</xsl:if>
<br/>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:Data2Sprzedazy">
<xsl:if test="../wnio:RodzajSprzedazy = '1 2'">
Data początkowa zezwolenia: <xsl:if test="true()">
<strong>
<xsl:value-of select="wnio:DataPoczatkowa"/>
</strong>
</xsl:if>
</xsl:if>
</xsl:for-each>
</div>
<div style="margin: 20px 0 10px 0;">
<strong>9. Rodzaj zezwolenia:</strong>
<div style="margin: 5px 0 5px 0;">
<span>
<xsl:if test="true()">
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajZezwolenia)),' '), ' 1 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> a) do 4,5% zawartości alkoholu oraz na piwo </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajZezwolenia)),' '), ' 2 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> b) powyżej 4,5% do 18 % zawartości alkoholu ( z wyjątkiem piwa) </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajZezwolenia)),' '), ' 3 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> c) powyżej 18% zawartości alkoholu </span>
</label>
</span>
</xsl:if>
</span>
</div>
</div>
<div style="margin: 25px 0 15px 0;">
<strong>10. Adres punktu sprzedaży:</strong>
<table border="0" cellpadding="0" cellspacing="0" style="margin: 6px 0px 3px; padding: 0px; width: 60%; border-collapse: collapse; font-size: 12px;">
<tbody>
<tr>
<td colspan="4" style="font-weight: normal; padding: 5px; text-align: left;">Nazwa: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSprzedazy/wnio:Nazwa"/>
</span>
</xsl:if>
</span>
</td>
<tr>
</tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">Ulica: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSprzedazy/wnio:Ulica"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr domu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSprzedazy/wnio:NrDomu"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr lokalu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSprzedazy/wnio:Nrlokalu"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;" width="50%">Miejscowość: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSprzedazy/wnio:Miejscowosc"/>
</span>
</xsl:if>
</span>
</td>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: justify;">Kod pocztowy: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSprzedazy/wnio:KodPocztowy"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
</div>
<div style="margin: 10px 0 15px 0;">
<strong>11. Adres punktu składowania napojów alkoholowych (magazyn dystrybucyjny):</strong>
<table border="0" cellpadding="0" cellspacing="0" style="margin: 6px 0px 3px; padding: 0px; width: 60%; border-collapse: collapse; font-size: 12px;">
<tbody>
<tr>
<td colspan="4" style="font-weight: normal; padding: 5px; text-align: left;">Nazwa: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSkladowania/wnio:Nazwa"/>
</span>
</xsl:if>
</span>
</td>
<tr>
</tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">Ulica: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSkladowania/wnio:Ulica"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr domu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSkladowania/wnio:NrDomu"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr lokalu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSkladowania/wnio:NrLokalu"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;" width="50%">Miejscowość: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSkladowania/wnio:Miejscowosc"/>
</span>
</xsl:if>
</span>
</td>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: justify;">Kod pocztowy: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:AdresSkladowania/wnio:KodPocztowy"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
</div>
<div style="margin: 10px 0 15px 0;">
<strong>12. Do wniosku należy dołączyć:</strong>
<br/>
<br/>a) tytuł prawny do lokalu ( akt notarialny, umowa dzierżawy)
<div>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:ZalacznikiWymagane/wnio:Akt/str:Zalaczniki/str:Zalacznik">
<xsl:if test="true()"> <span style="font-weight: bold;">
<xsl:value-of select="str:DaneZalacznika/../@nazwaPliku"/>
</span>
</xsl:if>
</xsl:for-each>
<xsl:if test="wnio:TrescDokumentu/wnio:Wniosek/wnio:ZalacznikiWymagane/wnio:Akt/str:Zalaczniki/str:Zalacznik/str:DaneZalacznika = ''">
<span style="font-weight: bold;">
BRAK ZAŁĄCZNIKA
</span>
</xsl:if>
</div>
<br/>b) pisemną zgodę właściciela, użytkownika, zarządcy lub administratora budynku (jeżeli punkt sprzedaży jest zlokalizowany w budynku mieszkalnym wielorodzinnym)
<div>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:ZalacznikiWymagane/wnio:Zgoda/str:Zalaczniki/str:Zalacznik">
<xsl:if test="true()"> <span style="font-weight: bold;">
<xsl:value-of select="str:DaneZalacznika/../@nazwaPliku"/>
</span>
</xsl:if>
</xsl:for-each>
<xsl:if test="wnio:TrescDokumentu/wnio:Wniosek/wnio:ZalacznikiWymagane/wnio:Zgoda/str:Zalaczniki/str:Zalacznik/str:DaneZalacznika = ''">
<span style="font-weight: bold;">
BRAK ZAŁĄCZNIKA
</span>
</xsl:if>
</div>
<br/>c) decyzja Powiatowego Inspektora Sanitarnego
<div>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:ZalacznikiWymagane/wnio:DecyzjaPIS/str:Zalaczniki/str:Zalacznik">
<xsl:if test="true()"> <span style="font-weight: bold;">
<xsl:value-of select="str:DaneZalacznika/../@nazwaPliku"/>
</span>
</xsl:if>
</xsl:for-each>
<xsl:if test="wnio:TrescDokumentu/wnio:Wniosek/wnio:ZalacznikiWymagane/wnio:DecyzjaPIS/str:Zalaczniki/str:Zalacznik/str:DaneZalacznika = ''">
<span style="font-weight: bold;">
BRAK ZAŁĄCZNIKA
</span>
</xsl:if>
</div>
</div>
<br/>
<div>
<xsl:if test="wnio:TrescDokumentu/wnio:Zalaczniki/wnio:ZalacznikiDodatkowe/str:Zalaczniki/str:Zalacznik/str:DaneZalacznika != ''">
<span style="font-weight: bold;">
<h2 style="font-size: 12px;font-family:Arial;line-height: 20px;padding: 0px;margin:0px; font-weight: bold;">Załączniki nie wymagane przepisami:</h2>
</span>
</xsl:if>
</div>
<div>
<xsl:call-template name="Zalaczniki"/>
</div>
<div style="text-align: left; font-weight: normal; margin: 30px 0 30px 0;">Informacja o podpisie elektronicznym:
<table align="center">
<tr>
<td style="width: 340px;font-family: Arial; font-size: 12px;">
<p align="center" style="text-align: center;font-size: 10px;font-family: Verdana;line-height: 20px;">
<xsl:choose>
<xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) > 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']) > 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 >= 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>
<br/>
</p>
</td>
</tr>
</table>
</div>
<div style="margin: 10px 0 10px 0;">
<strong>W przypadku dostarczenia skanów, w momencie odbioru zezwolenia należy przedłożyć do wglądu oryginały dokumentów</strong>
</div>
</td>
</tr>
<tr>
<td colspan="2" style="padding: 20 0 0 0; text-align: justify; background-color: #ffffff; font-size: 12px;">
<div style="text-align: left; font-weight: bold; margin-top: 15px;">Klauzula informacyjna:</div>
<div style="text-align: left; font-weight: normal; margin-top: 15px;text-align: justify">
<xsl:call-template name="replace">
<xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Klauzula"/>
</xsl:call-template>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
</xsl:for-each>
</xsl:template>
<xsl:template name="substitute">
<xsl:param name="string"/>
<xsl:param name="from" select="'
'"/>
<xsl:param name="to">
<br/>
</xsl:param>
<xsl:choose>
<xsl:when test="contains($string, $from)">
<xsl:value-of select="substring-before($string, $from)"/>
<xsl:copy-of select="$to"/>
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="substring-after($string, $from)"/>
<xsl:with-param name="from" select="$from"/>
<xsl:with-param name="to" select="$to"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$string"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="Zalaczniki">
<xsl:param name="zalaczniki" select="wnio:TrescDokumentu/wnio:Zalaczniki/wnio:ZalacznikiDodatkowe/str:Zalaczniki"/>
<xsl:if test="count($zalaczniki/str:Zalacznik) > 0">
<div style="text-align: left;">
<ol style="padding-top: 0px;margin-top: 0px;">
<xsl:for-each select="$zalaczniki/str:Zalacznik[@nazwaPliku != '']">
<li>
<xsl:if test="@kodowanie='base64'">
<xsl:value-of select="@nazwaPliku"/>
<xsl:if test="string-length(str:OpisZalacznika) > 0"> - </xsl:if>
<xsl:if test="string-length(str:OpisZalacznika) > 0">
<xsl:value-of select="str:OpisZalacznika"/>
</xsl:if>
</xsl:if>
<xsl:if test="@kodowanie='URI'">
<a href="{str:DaneZalacznika}">
<xsl:value-of select="@nazwaPliku"/>
</a>
<xsl:if test="string-length(str:OpisZalacznika) > 0">
(wartość skrótu w chwili załączania:
<xsl:value-of select="str:OpisZalacznika"/>)
</xsl:if>
</xsl:if>
</li>
</xsl:for-each>
</ol>
</div>
</xsl:if>
</xsl:template>
<xsl:template name="replace">
<xsl:param name="string"/>
<xsl:if test="contains($string, '^')">
<xsl:value-of select="substring-before($string,'^')"/>
<ol>
<xsl:call-template name="replace">
<xsl:with-param name="string" select="substring-after($string,'^')"/>
</xsl:call-template>
</ol>
</xsl:if>
<xsl:if test="contains($string, '_')">
<xsl:value-of select="substring-before($string,'_')"/>
<ul>
<xsl:call-template name="replace">
<xsl:with-param name="string" select="substring-after($string,'_')"/>
</xsl:call-template>
</ul>
</xsl:if>
<xsl:if test="(string-length(substring-before($string, '$')) < string-length(substring-before($string, '|')) and contains($string, '$') and not(contains($string, '^')) and not(contains($string, '_')))">
<li>
<xsl:value-of select="substring-before($string,'$')"/>
</li>
<xsl:call-template name="replace">
<xsl:with-param name="string" select="substring-after($string,'$')"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length(substring-before($string, '$')) > string-length(substring-before($string, '|')) and contains($string, '|') and not(contains($string, '^')) and not(contains($string, '_'))">
<xsl:choose>
<xsl:when test="string-length(substring-before($string, '|')) > string-length(substring-before($string, '!!'))">
<div style="padding-left:450px;">
<xsl:value-of select="substring-before($string,'!!')"/>
</div>
<xsl:call-template name="replace">
<xsl:with-param name="string" select="substring-after($string,'!!')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="substring-before($string,'|')"/>
<br/>
<xsl:call-template name="replace">
<xsl:with-param name="string" select="substring-after($string,'|')"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:template>
</xsl:stylesheet>