1788
| ID | 1788 |
| Data | 2014-09-30 |
| Symbol | 2014/09/30/1788 |
| Instytucja | Wojewódzka Stacja Sanitarno-Epidemiologiczna w Białymstoku |
| Nazwa | Zlecenie badania żywności |
| 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="http://www.w3.org/1999/xhtml" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" 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:wnio="http://crd.gov.pl/wzor/2014/09/30/1788/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exclude-result-prefixes="adr oso inst meta wnio ds str xsi" version="1.0" xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform http://www.w3.org/2005/02/schema-for-xslt20.xsd">
<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" encoding="UTF-8" indent="yes" method="xml"/>
<xsl:template match="wnio:Dokument">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>Zlecenie badania żywności</title>
<style type="text/css">
body {
margin: 0;
padding: 30px 30px 15px 30px;
font-family: "Times New Roman", Times, serif;
font-size: 1.05em;
color: #000;
line-height: 1.5em;
}
div.header, div.content {
margin-bottom: 15px;
overflow: hidden;
}
div.wideTable {
overflow: auto;
}
p {
margin: 0 0 15px 0;
}
p.toRight {
float: right;
}
p.toLeft {
clear: both;
}
p.level1 {
text-indent: 16px;
}
p.level2 {
text-indent: 32px;
}
p.level3 {
text-indent: 48px;
}
p.level4 {
text-indent: 64px;
}
span.title {
font-weight: bold;
}
span.line {
display: block;
}
span.label {
color: #555;
}
h1.print {
text-align: center;
font-size: 140%;
margin: 0 0 30px 0;
}
h2.print {
font-size: 120%;
margin: 0 0 15px 0;
}
ul {
margin: 0 0 15px 0;
list-style-type: square;
}
ol {
margin: 0 0 15px 0;
}
table {
border-collapse: collapse;
margin: 0 0 15px 0;
}
table th, table td {
border: 1px solid #555;
padding: 0 7px;
}
span.formattedText{
display: block;
}
</style>
</head>
<body>
<div class="header">
<p class="toRight">
<span>
<xsl:value-of select="wnio:TrescDokumentu/wnio:MiejscowoscDokumentu"/>,
</span>
<span>
<xsl:value-of select="wnio:TrescDokumentu/wnio:DataDokumentu"/>
</span>
</p>
<xsl:call-template name="wnioskodawca"/>
<xsl:if test="count(wnio:DaneDokumentu/str:Adresaci)>0">
<p class="toRight">
<xsl:call-template name="adresatInstytucja"/>
</p>
</xsl:if>
</div>
<div class="content">
<xsl:call-template name="template_content"/>
</div>
<div class="attachments">
<xsl:call-template name="Zalaczniki"/>
</div>
<div class="footer">
<xsl:call-template name="template_footer"/>
</div>
<div class="podpis">
<xsl:call-template name="Podpis"/>
</div>
</body>
</html>
</xsl:template>
<xsl:template name="wnioskodawca">
<xsl:param name="podmiot" select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot"/>
<p class="toLeft">
<span class="title line">Nadawca:</span>
<xsl:if test="count($podmiot/oso:Osoba)>0">
<xsl:call-template name="wnioskodawacaOsoba"/>
</xsl:if>
<xsl:if test="count($podmiot/inst:Instytucja)>0">
<xsl:call-template name="wnioskodawcaInstytucja"/>
</xsl:if>
</p>
</xsl:template>
<xsl:template name="wnioskodawacaOsoba">
<xsl:param name="osoba" select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba"/>
<xsl:param name="adres" select="$osoba/adr:Adres"/>
<xsl:if test="string-length(normalize-space($osoba/oso:IdOsoby/oso:PESEL)) > 0">
<span class="line">
<span class="label">PESEL: </span>
<span>
<xsl:value-of select="$osoba/oso:IdOsoby/oso:PESEL"/>
</span>
</span>
</xsl:if>
<xsl:if test="string-length(normalize-space($osoba/oso:IdOsoby/oso:NIP)) > 0">
<span class="line">
<span class="label">NIP: </span>
<span>
<xsl:value-of select="$osoba/oso:IdOsoby/oso:NIP"/>
</span>
</span>
</xsl:if>
<span class="line">
<span>
<xsl:value-of select="$osoba/oso:Imie"/>
</span>
<span> </span>
<span>
<xsl:value-of select="$osoba/oso:Nazwisko"/>
</span>
</span>
<xsl:call-template name="adres">
<xsl:with-param name="adres" select="$adres"/>
</xsl:call-template>
<xsl:if test="string-length(normalize-space($osoba/adr:Kontakt/adr:Email)) > 0">
<span class="line">
<span class="label">Adres e-mail:</span>
<span> </span>
<span>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:text>mailto:</xsl:text>
<xsl:value-of select="$osoba/adr:Kontakt/adr:Email"/>
</xsl:attribute>
<xsl:value-of select="$osoba/adr:Kontakt/adr:Email"/>
</xsl:element>
</span>
</span>
</xsl:if>
</xsl:template>
<xsl:template name="wnioskodawcaInstytucja">
<xsl:param name="instytucja" select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja"/>
<xsl:param name="adres" select="$instytucja/adr:Adres"/>
<span class="line">
<span>
<xsl:value-of select="$instytucja/inst:NazwaInstytucji"/>
</span>
</span>
<xsl:if test="string-length($instytucja/inst:IdInstytucji/inst:NIP) > 0">
<span class="line">
<span class="label">NIP: </span>
<span>
<xsl:value-of select="$instytucja/inst:IdInstytucji/inst:NIP"/>
</span>
</span>
</xsl:if>
<xsl:if test="string-length($instytucja/inst:IdInstytucji/inst:REGON) > 0">
<span class="line">
<span class="label">REGON: </span>
<span>
<xsl:value-of select="$instytucja/inst:IdInstytucji/inst:REGON"/>
</span>
</span>
</xsl:if>
<xsl:call-template name="adres">
<xsl:with-param name="adres" select="$adres"/>
</xsl:call-template>
<xsl:if test="string-length(normalize-space($instytucja/adr:Kontakt/adr:Email)) > 0">
<span class="line">
<span class="label">Adres e-mail:</span>
<span> </span>
<span>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:text>mailto:</xsl:text>
<xsl:value-of select="$instytucja/adr:Kontakt/adr:Email"/>
</xsl:attribute>
<xsl:value-of select="$instytucja/adr:Kontakt/adr:Email"/>
</xsl:element>
</span>
</span>
</xsl:if>
</xsl:template>
<xsl:template name="adresatInstytucja">
<xsl:param name="instytucja" select="wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja"/>
<xsl:param name="adres" select="$instytucja/adr:Adres"/>
<span class="title line">
<xsl:value-of select="$instytucja/inst:NazwaInstytucji"/>
</span>
<xsl:call-template name="adres">
<xsl:with-param name="adres" select="$adres"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="adres">
<xsl:param name="adres"/>
<xsl:choose>
<xsl:when test="string-length($adres/adr:KodPocztowy) > 0 or string-length($adres/adr:Poczta) > 0 or string-length($adres/adr:Miejscowosc) > 0">
<span class="line">
<span>
<xsl:value-of select="$adres/adr:KodPocztowy"/>
</span>
<span> </span>
<span>
<xsl:choose>
<xsl:when test="string-length($adres/adr:Poczta) > 0">
<xsl:value-of select="$adres/adr:Poczta"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$adres/adr:Miejscowosc"/>
</xsl:otherwise>
</xsl:choose>
</span>
</span>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length($adres/adr:Ulica) > 0 or string-length($adres/adr:Budynek) > 0 or string-length($adres/adr:Lokal) > 0 or string-length($adres/adr:Poczta) > 0 or string-length($adres/adr:Miejscowosc) > 0">
<span class="line">
<xsl:choose>
<xsl:when test="string-length($adres/adr:Ulica) > 0">
<span>
<xsl:value-of select="$adres/adr:Ulica"/>
</span>
<span> </span>
<span>
<xsl:value-of select="$adres/adr:Budynek"/>
</span>
<xsl:if test="string-length($adres/adr:Lokal) > 0">
<span> / </span>
<span>
<xsl:value-of select="$adres/adr:Lokal"/>
</span>
</xsl:if>
<xsl:if test="string-length($adres/adr:Poczta) > 0">
<span>, </span>
<span>
<xsl:value-of select="$adres/adr:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<xsl:otherwise>
<span>
<xsl:value-of select="$adres/adr:Miejscowosc"/>
</span>
<span> </span>
<span>
<xsl:value-of select="$adres/adr:Budynek"/>
</span>
<xsl:if test="string-length($adres/adr:Lokal) > 0">
<span> / </span>
<span>
<xsl:value-of select="$adres/adr:Lokal"/>
</span>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</span>
</xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template name="formattedText">
<xsl:param name="input"/>
<xsl:choose>
<xsl:when test="contains($input, '
')">
<xsl:value-of select="substring-before($input, '
')"/>
<br/>
<xsl:call-template name="formattedText">
<xsl:with-param name="input" select="substring-after($input, '
')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$input"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="Podpis">
<div>
<h2 class="print">Podpisy elektroniczne</h2>
<ul>
<li>
<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:choose>
</xsl:when>
<xsl:otherwise>
<xsl:text>Dokument nie zawiera podpisu.</xsl:text>
</xsl:otherwise>
</xsl:choose>
</li>
</ul>
</div>
<div style="clear: both;"/>
</xsl:template>
<xsl:template name="Zalaczniki">
<xsl:param name="zalaczniki" select="wnio:TrescDokumentu/str:Zalaczniki"/>
<xsl:if test="count($zalaczniki/str:Zalacznik) > 0">
<div style="text-align: left;">
<h2 class="print">Załączniki:</h2>
<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">
(<xsl:value-of select="str:OpisZalacznika"/>)
</xsl:if>
</xsl:if>
</li>
</xsl:for-each>
</ol>
</div>
</xsl:if>
</xsl:template>
<xsl:template name="template_content">
<xsl:call-template name="content"/>
</xsl:template>
<xsl:template name="template_footer">
<xsl:if test="string-length(normalize-space(//wnio:OswiadczenieKorespondencja)) > 0">
<h2 class="print">Oświadczenie korespondencji</h2>
<ul>
<li>
<xsl:choose>
<xsl:when test="string-length(normalize-space(//wnio:OswiadczenieKorespondencja)) > 0">
<p class="matter">
<xsl:value-of select="//wnio:OswiadczenieKorespondencja"/>
</p>
</xsl:when>
<xsl:otherwise>Brak oświadczenia.</xsl:otherwise>
</xsl:choose>
</li>
</ul>
</xsl:if>
</xsl:template>
<xsl:template name="zakresFizyko">
<xsl:param name="pText"/>
<xsl:if test="string-length($pText)">
<li>
<xsl:call-template name="dictZakresFizyko">
<xsl:with-param name="key" select="substring-before(concat($pText,' '),' ')"/>
</xsl:call-template>
<!-- <xsl:value-of select="substring-before(concat($pText,' '),' ')"/> -->
</li>
<xsl:call-template name="zakresFizyko">
<xsl:with-param name="pText" select="substring-after($pText, ' ')"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="dictZakresMikro">
<xsl:param name="key"/>
<xsl:choose>
<xsl:when test="$key=01">Wykrywanie obecności i oznaczanie liczby gronkowców chorobotwórczych
koagulazododatnich metodą NPL
</xsl:when>
<xsl:when test="$key=02">Oznaczanie liczby gronkowców chorobotwórczych koagulazododatnich metodą płytkową
</xsl:when>
<xsl:when test="$key=03">Wykrywanie obecności pałeczek z rodzaju Salmonella</xsl:when>
<xsl:when test="$key=04">Oznaczanie liczby bakterii z grupy coli metodą płytkową</xsl:when>
<xsl:when test="$key=05">Oznaczanie liczby bakterii z grupy coli metodą NPL</xsl:when>
<xsl:when test="$key=06">Wykrywanie obecności i oznaczanie liczby przypuszczalnych E.coli metodą NPL
</xsl:when>
<xsl:when test="$key=07">Oznaczanie ogólnej liczby drobnoustrojów tlenowych metodą płytkową</xsl:when>
<xsl:when test="$key=08">Oznaczanie liczby drożdży i pleśni metodą płytkową</xsl:when>
<xsl:when test="$key=09">Oznaczanie liczby mezofilnych bakterii fermentacji mlekowej metodą płytkową
</xsl:when>
<xsl:when test="$key=10">Oznaczanie liczby bakterii przypuszczalnych Bacillus cereus metodą płytkową
</xsl:when>
<xsl:when test="$key=11">Wykrywanie obecności bakterii Listeria monocytogenes</xsl:when>
<xsl:when test="$key=12">Oznaczenie liczby bakterii Listeria monocytogenes metodą płytkową</xsl:when>
<xsl:when test="$key=13">Wykrywanie obecności bakterii Yersinia enterocolitica</xsl:when>
<xsl:when test="$key=14">Oznaczanie liczby bakterii Clostridium perfringens metodą płytkową</xsl:when>
<xsl:when test="$key=15">Oznaczanie liczby β-glukuronidazo-dodatnich Escherichia coli metodą płytkową
</xsl:when>
<xsl:when test="$key=16">Oznaczanie liczby Enterobacteriaceae metodą płytkową</xsl:when>
<xsl:when test="$key=17">Wykrywanie obecności pałeczek z rodzaju Salmonella metodą ELFA na aparacie mini
Vidas
</xsl:when>
<xsl:when test="$key=18">Wykrywanie obecności Listeria monocytogenes metodą ELFA na aparacie mini Vidas
</xsl:when>
<xsl:when test="$key=19">Wykrywanie obecności Escherichia coli 0157 met. rtPCR</xsl:when>
<xsl:when test="$key=20">Wykrywanie obecności Campylobacter spp met. rtPCR</xsl:when>
<xsl:when test="$key=21">Wykrywanie obecności Campylobacter spp met. płytkową</xsl:when>
<xsl:when test="$key=22">Próba termostatowa</xsl:when>
<!-- Łomża -->
<xsl:when test="$key=30">Szczelność opakowań - metoda wzrokowej oceny szczelności z wykorzystaniem urządzenia próżniowego</xsl:when>
<xsl:when test="$key=31">Trwałość konserw - metoda termostatowa</xsl:when>
<xsl:when test="$key=32">Liczba bakterii z grupy coli - metoda płytkowa</xsl:when>
<xsl:when test="$key=33">Obecność Listeria monocytogenes - metoda jakościowa</xsl:when>
<xsl:when test="$key=34">Liczba Listeria monocytogenes - metoda płytkowa</xsl:when>
<xsl:when test="$key=35">Liczba Enterobacteriaceae - metoda płytkowa</xsl:when>
<xsl:when test="$key=36">Obecność Enterobacteriaceae - metoda jakościowa</xsl:when>
<xsl:when test="$key=37">Liczba drobnoustrojów tlenowych mezofilnych - metoda płytkowa</xsl:when>
<xsl:when test="$key=38">Obecność pałeczek z rodzaju Salmonella - metoda jakościowa</xsl:when>
<xsl:when test="$key=39">Liczba gronkowców koagulazododatnich - metoda płytkowa</xsl:when>
<xsl:when test="$key=40">Liczba Escherichia coli β-glukuronidazododatnich - metoda płytkowa</xsl:when>
<xsl:when test="$key=41">Liczba przypuszczalnych Bacillus cereus - metoda płytkowa</xsl:when>
<!-- Oddział Laboratoryjny PSSE w Suwałkach -->
<xsl:when test="$key=50">Liczba bakterii z grupy coli (metoda płytkowa)</xsl:when>
<xsl:when test="$key=51">Liczba Enterobacteriaceae (metoda płytkowa)</xsl:when>
<xsl:when test="$key=52">Liczba Staphylococcus aureus (metoda płytkowa)</xsl:when>
<xsl:when test="$key=53">Obecność Staphylococcus aureus</xsl:when>
<xsl:when test="$key=54">Identyfikacja Staphylococcus aureus</xsl:when>
<xsl:when test="$key=55">Obecność Salmonella</xsl:when>
<xsl:when test="$key=56">Identyfikacja Salmonella</xsl:when>
<xsl:when test="$key=57">Liczba E.coli (metoda płytkowa)</xsl:when>
<xsl:when test="$key=58">Obecność E. coli</xsl:when>
<xsl:when test="$key=59">Liczba Bacillus cereus</xsl:when>
<xsl:when test="$key=60">Liczba drożdży i pleśni</xsl:when>
<xsl:when test="$key=61">Liczba drobnoustrojów tlenowych mezofilnych</xsl:when>
<xsl:when test="$key=62">Obecność Listeria monocytogenes (25g)</xsl:when>
<xsl:when test="$key=63">Obecność Listeria monocytogenes (1g)</xsl:when>
<xsl:when test="$key=64">Liczba Listeria monocytogenes</xsl:when>
<xsl:when test="$key=65">Identyfikacja Listeria monocytogenes</xsl:when>
<xsl:when test="$key=66">Obecność Yersinia enterocolitica (25g)</xsl:when>
<xsl:when test="$key=67">Obecność Yersinia enterocolitica (1g)</xsl:when>
<xsl:when test="$key=68">Identyfikacja Yersinia enterocolitica</xsl:when>
<xsl:when test="$key=69">Oznaczanie szczelności konserw</xsl:when>
<xsl:when test="$key=70">Próba termostatowa</xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template name="zakresMikro">
<xsl:param name="pText"/>
<xsl:if test="string-length($pText)">
<li>
<xsl:call-template name="dictZakresMikro">
<xsl:with-param name="key" select="substring-before(concat($pText,' '),' ')"/>
</xsl:call-template>
<!-- <xsl:value-of select="substring-before(concat($pText,' '),' ')"/> -->
</li>
<xsl:call-template name="zakresMikro">
<xsl:with-param name="pText" select="substring-after($pText, ' ')"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="dictZakresFizyko">
<xsl:param name="key"/>
<xsl:choose>
<xsl:when test="$key=01">Ocena organoleptyczna środków spożywczych</xsl:when>
<xsl:when test="$key=02">Ołów</xsl:when>
<xsl:when test="$key=03">kadm</xsl:when>
<xsl:when test="$key=04">Arsen</xsl:when>
<xsl:when test="$key=05">Cyna</xsl:when>
<xsl:when test="$key=06">Rtęć</xsl:when>
<xsl:when test="$key=07">Sucha masa/woda</xsl:when>
<xsl:when test="$key=08">Chlorek sodu</xsl:when>
<xsl:when test="$key=09">Tłuszcz</xsl:when>
<xsl:when test="$key=10">Azotyny</xsl:when>
<xsl:when test="$key=11">azotany</xsl:when>
<xsl:when test="$key=12">Barwniki syntetyczne</xsl:when>
<xsl:when test="$key=13">Histamina</xsl:when>
<xsl:when test="$key=14">Kwasowość ogólna</xsl:when>
<xsl:when test="$key=15">pomiar skażeń promieniotwórczych Cs-137 metodą spektrometrii gamma</xsl:when>
<xsl:when test="$key=16">pomiar skażeń promieniotwórczych Cs-137 metodą radiochemiczną</xsl:when>
<xsl:when test="$key=17">pomiar skażeń promieniotwórczych Sr-90 metodą radiochemiczną</xsl:when>
<xsl:when test="$key=23">inne:
<xsl:value-of select="wnio:Inne"/>
</xsl:when>
<!-- Łomża -->
<xsl:when test="$key=30">pH</xsl:when>
<xsl:when test="$key=31">Kwasowość ogólna - Metoda miareczkowa</xsl:when>
<xsl:when test="$key=32">Zawartość chlorku sodu</xsl:when>
<xsl:when test="$key=33">Obecność zanieczyszczeń biologicznych, w tym szkodników i ich pozostałości - metoda wizualna</xsl:when>
<xsl:when test="$key=34">Zawartość zanieczyszczeń (z wyłączeniem ferromagnetycznych) - metoda wagowa</xsl:when>
<xsl:when test="$key=35">Zawartość zanieczyszczeń - metoda wizualna</xsl:when>
<!-- Oddział Laboratoryjny PSSE w Suwałkach -->
<xsl:when test="$key=50">Ocena organoleptyczna</xsl:when>
<xsl:when test="$key=51">Oznaczanie kadmu, ołowiu techniką GTAAS</xsl:when>
<xsl:when test="$key=52">Oznaczanie rtęci techniką zimnych par</xsl:when>
<xsl:when test="$key=53">Stwierdzenie obecności szkodników i ich pozostałości</xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template name="content">
<h1 class="print">Zlecenie badania żywności</h1>
<h3>Dodatkowe dane wnioskodawcy</h3>
<xsl:if test="//wnio:Wnioskodawca/wnio:Telefon != ''">
<p>
<span class="label">Nr telefonu:</span>
<span>
<xsl:value-of select="//wnio:Wnioskodawca/wnio:Telefon"/>
</span>
</p>
</xsl:if>
<xsl:if test="//wnio:Wnioskodawca/wnio:OsoDoKontaktu != ''">
<p>
<span class="label">Osoba do kontaktu:</span>
<span>
<xsl:call-template name="formattedText">
<xsl:with-param name="input" select="//wnio:Wnioskodawca/wnio:OsoDoKontaktu"/>
</xsl:call-template>
</span>
</p>
</xsl:if>
<h3>Próbki</h3>
<xsl:for-each select="//wnio:Probki/wnio:Probka">
<table style="width:100%;">
<tr>
<th colspan="2">
<span>Próbka, nr
<xsl:value-of select="position()"/>
</span>
</th>
</tr>
<tr>
<td style="width:20%;">
<span class="label">Rodzaj próbki:</span>
</td>
<td>
<span>
<xsl:value-of select="substring(wnio:RodzajProbki,0)"/>
</span>
</td>
</tr>
<tr>
<td>
<span class="label">Badania:</span>
</td>
<td>
<ul>
<xsl:if test="wnio:ZakresBadan/wnio:Mikrobiologia/@wybrane='tak'">
<li>
<b>Mikrobiologia</b>
</li>
<xsl:if test="wnio:ZakresMikrobiologia != ''">
<ul>
<xsl:call-template name="zakresMikro">
<xsl:with-param name="pText" select="wnio:ZakresMikrobiologia"/>
</xsl:call-template>
</ul>
</xsl:if>
</xsl:if>
<xsl:if test="wnio:ZakresBadan/wnio:Fizykochemia/@wybrane='tak'">
<li>
<b>Fizykochemia</b>
</li>
<xsl:if test="wnio:ZakresFizykochemia != ''">
<ul>
<xsl:call-template name="zakresFizyko">
<xsl:with-param name="pText" select="wnio:ZakresFizykochemia"/>
</xsl:call-template>
</ul>
</xsl:if>
</xsl:if>
</ul>
</td>
</tr>
</table>
</xsl:for-each>
<h3>Dodatkowe informacje</h3>
<span class="label">Sposób przekazania sprawozdania:</span>
<ul>
<xsl:if test="//wnio:SposobPrzekazania1/@elektr='tak'">
<li>
<span>w wersji elektronicznej na email</span>
<span>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:text>mailto:</xsl:text>
<xsl:value-of select="//wnio:SposobPrzekazania1/wnio:Sposob1"/>
</xsl:attribute>
<xsl:value-of select="//wnio:SposobPrzekazania1/wnio:Sposob1"/>
</xsl:element>
</span>
</li>
</xsl:if>
<xsl:if test="//wnio:SposobPrzekazania2/@papier='tak'">
<li>
<span>w wersji papierowej</span>
<span>
<xsl:value-of select="//wnio:SposobPrzekazania2/wnio:Sposob2"/>
</span>
</li>
</xsl:if>
<xsl:if test="//wnio:SposobPrzekazania3/@faks='tak'">
<li>
<span>faksem</span>
<span>
<xsl:value-of select="//wnio:SposobPrzekazania3/wnio:Sposob3"/>
</span>
</li>
</xsl:if>
</ul>
<xsl:if test="//wnio:Naleznosc != ''">
<p>
<span class="label">Należność według cennika płatna:</span>
<span>
<xsl:value-of select="//wnio:Naleznosc"/>
</span>
</p>
</xsl:if>
<xsl:if test="//wnio:InneUwagi != ''">
<p>
<span class="label">Inne uwagi:</span>
<span>
<xsl:call-template name="formattedText">
<xsl:with-param name="input" select="//wnio:InneUwagi"/>
</xsl:call-template>
</span>
</p>
</xsl:if>
</xsl:template>
</xsl:stylesheet>