<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://edavki.durs.si/Documents/Schemas/DDV_P2_5.xsd" xmlns:edp="http://edavki.durs.si/Documents/Schemas/EDP-Common-1.xsd" xmlns:form="http://tempuri.org/Forms" xmlns:incl="urn:hermes-softlab-com-durs-include" xmlns:loc="urn:hermes-softlab-com-durs-localize" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:template match="/"><html><head><style type="text/css" xmlns:outxsl="generated:xsl" xmlns:edp="http://tempuri.org/EDP-Common-1" xmlns:loc="http://tempuri.org/EDP-l10n">

div.fldprefill, div.fldborder, span.fldborder {  border: 1px solid #de9a8c; padding: 2px; }
div.fldinput, div.fldValue, span.fldinput { background: white; border: 1px solid #de9a8c; padding: 2px;  }


   /*** BASICS ***/
body.sign { border: 0; margin: 7px 14px; background: #efefce; font-family: verdana, sans-serif;}
table {border: 0px; }

   /*** Headings ***/
   /* Lahko gre ven, ker so ti stili opisani v glavnem css */
h1 {margin: 0em 0 0.4em 0; font: normal 18pt arial, sans-serif; color: #00659c;}
h2 {margin: 1em 0 0.5em 0px; font: bold 100% verdana, arial, sans-serif; color: #ce6500; }
h3 {font: bold 76% verdana, arial, sans-serif; color: #000;}
h4 {font-weight: bold; font-size: 76%; margin: 0px 0px 0.1em 25px; line-height: 1.3em }
p {font-size: 76%; margin: 0 0 0.1em 25px; line-height: 1.3em;}
ul {font-size: 76%; margin-top: 0; margin-bottom: 0.3em; line-height: 1.3em;}
li {}
.instruct {font-size: 80%; margin-bottom: 1em; color: #9c9a9c; }
.instruct1 {font-size: 80%; margin-bottom: 0em; color: #9c9a9c; }
.instruc2 {display: none;}
.hidden {display: none;}

   /*** COMMON HEADER ***/
div.commonheader {display: block;  padding: 0.6em 1em; border-color: #00659c; 
background-image: url('durs_znak_60.png'); background-attachment:scroll;  background-position:bottom right; background-repeat:no-repeat;  background-attachment:scroll;}
div.commonheader table td {color: #000; font-size: 66%; padding: 0.3em 0.5em 0.3em 0.1em; }

   /*** Signing ***/
div.signareafile { display: block; height: expression('100%'); border: 1px solid #00659c; background: #fffce9; padding: 5px 15px; margin-bottom: 20px; }
div.signareafile h2, div.signareaprep h2 {margin-top: 0; margin-bottom: 0.3em; }

   /*** TABLE SIGN BULLET ***/
table.tablesignbullet {margin: 0.2em 0px 10px 5px; border: 1px solid #738294; background: #fffce9;  }
table.tablesignbullet td {padding: 0.3em 8px 0.3em 8px; font-size: 76%; border-bottom: 1px solid #efefce; vertical-align: top;}
table.tablesignbullet tr.first td {background: #b8ccce; border-bottom: #016a73 2px solid; font-size: 76%; font-weight: bold;}
table.tablesignbullet td.value {text-align: center; }
table.tablesignbullet td.lbl {padding-left: 12px; }
table.tablesignbullet td.right {text-align: right; }  
table.tablesignbullet td.input {padding-top: 0; padding-bottom: 0; }
table.tablesignbullet td.dark {background: #F0ECD4; }
table.tablesignbullet tr.subhead {font-weight: bold; background-color: #e8dcba;}
table.tablesignbullet tr.lblheader  {font-weight: bold; font-size: 90%; background-color: #e7d294;}
table.tablesignbullet tr.lblheader2 {font-weight: bold; background-color: #E8DCBA; font-size: 90%;}
table.tablesignbullet tr.lblheader3 {font-weight: bold; background-color: #F0ECD4; font-size: 90%;}
table.tablesignbullet tr.empty td {background:#F2F2D8; border-bottom: #738294 1px solid; border-top:none; line-height:0.5em;}
table.tablesignbullet tr.summary td {background:#F2F2D8; font-weight:bold; border-top: #738294 2px solid ;}

   /*** TABLE SIGN SIMPLE ***/
table.tablesignsimple {margin: 0.2em 0px 10px 25px; }
table.tablesignsimple td {padding: 3px 8px 3px 0px; font-size: 76%; vertical-align: middle; }

   /*** TABLE SIGN FORM ***/
table.tablesignform {border-top: 1px solid #de9a8c; width: 100%; font-size: 66%; margin-top: 15px; }
table.tablesignform td.right {text-align: right; }   

   /*** TABLE FORMDDVO ***/
table.formddvo td {vertical-align: top; padding: 4px 4px 3px 4px; font: normal 66% verdana, sans-serif;  }

   /*** TABLE FORMINPUT ***/
table.forminput {width: 100%;}
table.forminput td {}
table.forminput td.no {text-align: right; width: 20px;}
table.forminput td.input {padding: 0px 2px; width: 105px;}

   /*** TABLE FORMDOH ***/

table.doh tr.subhead td  {text-align: center; vertical-align: middle; padding-left: 5px; padding-right: 5px;}
table.doh tr.subhead {font-weight: normal; }
table.doh td.input {vertical-align: top; padding-left: 5px; padding-right: 5px; text-align: center;}
table.doh td.lblno {vertical-align: top; padding-left: 5px; padding-right: 5px; padding-bottom: 3px; padding-top: 6px; }
table.doh td.lbl  { padding-right: 1px; padding-left: 1px; padding-bottom: 3px; vertical-align: top; padding-top: 6px; }
table.doh td.dark {background: #fff0dc; }
table.doh tr.subhead td.dark {background-color: #e7d294; }

TABLE.doh A { padding-right: 7px; display: block; padding-left: 7px; padding-bottom: 0.35em; padding-top: 0.35em; }
TABLE.doh A:hover { background: #00659c; color: #fff; }
TABLE.doh DIV P { font-size: 100%; margin: 7px; color: #ce6500; }
TABLE.doh DIV LI { font-size: 140%; margin: 7px; color: #ce6500; line-height: 1.2em; }
TABLE.doh SELECT, table.doh table.insert { margin-top: 1px; }

table.doh table.insert td {padding: 2px; }
table.doh table.insert td.input {padding-top: 0px; }
table.doh table.insert td.lbl {padding-top: 5px; }

/*** TABLE BULLETFULL ***/

TABLE.tablebulletFull TD.tblhdr {margin:0 0 0 0; padding:0 0 0 0; border:0 0 0 0;}
TABLE.tblHeader {margin:0 0 0 0; padding:0 0 0 0; border:none 0; width:100% ;  }
TABLE.tblHeader td.tdHeader1  { text-align:center; FONT-WEIGHT: bold; width:5em; FONT-SIZE: 110%; BACKGROUND: #016a73;  COLOR: #fff; BORDER-BOTTOM: #016a73 2px solid}
TABLE.tblHeader td.tdHeader2 {FONT-WEIGHT: bold; padding-left:1em;  BACKGROUND: #b8ccce; FONT-SIZE: 110%; BORDER-BOTTOM: #016a73 2px solid}

div.indent3 {padding-left: 3em; text-indent:-3em;}

table.tablebulletFull {margin: 0.2em 0px 1px 0px; width:100%; border: #738294 1px solid ; background: #fffce9; }
table.tablebulletFull td {padding: 0.3em 3px; font-size: 76%; border-bottom: #efefce 1px solid; vertical-align: top; }
table.tablebulletFull tr.first td {background: #B8CCCE; font-size: 110%;}
table.tablebulletFull td.lblFirst {background-color: #016A73; color:fff ; width:5em;}
table.tablebulletFull tr.firstX td {border-left: #016A73 5em solid; border-bottom: #016A73 2px solid; background: #B8CCCE; font-size: 110%; font-weight:bold;}
table.tablebulletFull span.firstX { left: -4em; position: relative; color:#fff;}
table.tablebulletFull span.firstXx { left: -2em; position: relative;}
table.tablebulletFull tr.lblheader {font-weight: bold; background-color: #e7d294; font-size: 90%;}
table.tablebulletFull tr.lblheader2 {font-weight: bold; background-color: #E8DCBA; font-size: 90%;}
table.tablebulletFull tr.lblheader3 {font-weight: bold; background-color: #F0ECD4; font-size: 90%;}
table.tablebulletFull tr.subhead td img {margin: 0px 2px;}
table.tablebulletFull tr.oddRow {background: #efecd9; }
table.tablebulletFull tr.evenRow {background: #fffce9; }
table.tablebulletFull td.lbl {padding-top: 0.45em; }
table.tablebulletFull td.lblno {padding-top: 0.45em;}
table.tablebulletFull td.valuebld {padding-top: 0.45em; font-weight: bold;}
table.tablebulletFull td.input {padding-top: 0.45em; }
table.tablebulletFull td.dark {background: #F0ECD4; }
table.tablebulletFull td.subtable {font-size: 100%; padding: 0; margin:0}
table.tablebulletFull DIV P { FONT-SIZE: 100%; MARGIN: 7px; COLOR: #ce6500; }
table.tablebulletFull tr.lHeader td {background: #EFEFCE;}
table.tablebulletFull tr.lSummary td {background:#F2F2D8; font-weight:bold; border-top: #738294 2px solid ;}
table.tablebulletFull tr.empty td {background:#F2F2D8; border-bottom: #738294 1px solid; border-top:none; line-height:0.5em;}

table.tableSubTable {margin: 0.2em 0px 1px 0px; width:100%; }
table.tableSubTable tr.oddRow {background: #efecd9; }
table.tableSubTable tr.evenRow {background: #fffce9; }


@media print {
}
    </style></head><body class="sign"><xsl:call-template name="DDV_P2"></xsl:call-template></body></html></xsl:template><xsl:template name="DDV_P2"><xsl:for-each select="doc:Envelope"><xsl:if test="//edp:Signatures/edp:DepositorSignature" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><xsl:if test="string(//edp:Signatures/edp:DepositorSignature/ds:Signature/ds:SignatureValue)=''"><h1>Oddajanje vloge</h1><p class="instruct">S potrditvijo boste podpisali dokument in ga predložili davčni upravi. Vloženega dokumenta ne morete več spreminjati.</p></xsl:if></xsl:if><xsl:if test="//edp:Signatures/edp:PreparerSignature" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><xsl:if test="string(//edp:Signatures/edp:PreparerSignature/ds:Signature/ds:SignatureValue)=''"><h1>Priprava vloge</h1><p class="instruct">S potrditvijo boste pripravili dokument za podpisnika. Dokument ne bo predložen davčni upravi.</p></xsl:if></xsl:if><div class="document"><div class="commonheader"><table cellspacing="0"><tbody><xsl:for-each select="edp:Header//edp:domain"><tr><td><b>Sistem:</b></td><td><xsl:value-of select="."></xsl:value-of></td></tr></xsl:for-each><xsl:for-each select="edp:Header//edp:responseTo"><tr><td><b>Odgovor na dokument:</b></td><td><xsl:value-of select="."></xsl:value-of></td></tr></xsl:for-each><xsl:for-each select="edp:Signatures//edp:receipt"><tr><td><b>Vloženo:</b></td><td><xsl:call-template name="dateAndTime"><xsl:with-param name="timestamp"><xsl:value-of select="edp:timestamp"></xsl:value-of></xsl:with-param></xsl:call-template></td></tr><xsl:if test="string-length(edp:documentNumber)!=0"><tr><td><b>Št. dokumenta:</b></td><td><xsl:value-of select="edp:documentNumber"></xsl:value-of></td></tr></xsl:if><xsl:if test="string-length(edp:metaText1)!=0 and string-length(edp:metaDate1)!=0 and starts-with(edp:metaText1, 'SI')"><tr><td><b>Referenčna številka:</b></td><td><xsl:value-of select="edp:metaText1"></xsl:value-of></td></tr><tr><td><b>Verzija:
                  </b></td><td><xsl:call-template name="dateAndTime"><xsl:with-param name="timestamp"><xsl:value-of select="edp:metaDate1"></xsl:value-of></xsl:with-param></xsl:call-template></td></tr></xsl:if></xsl:for-each><xsl:for-each select="edp:Signatures/edp:DepositorSignature/edp:Depositor"><tr><td><b>Vložil:</b></td><td><xsl:value-of select="edp:name"></xsl:value-of></td><td>                
                (<xsl:call-template name="dateAndTime"><xsl:with-param name="timestamp"><xsl:value-of select="edp:timestamp"></xsl:value-of></xsl:with-param></xsl:call-template>)
              </td></tr></xsl:for-each><xsl:for-each select="edp:Signatures/edp:PreparerSignature/edp:Preparer"><tr><td><b>Pripravil:</b></td><td><xsl:value-of select="edp:name"></xsl:value-of></td><td>
                (<xsl:call-template name="dateAndTime"><xsl:with-param name="timestamp"><xsl:value-of select="edp:timestamp"></xsl:value-of></xsl:with-param></xsl:call-template>)
              </td></tr></xsl:for-each></tbody></table><p> </p></div><div class="signareafile"><xsl:for-each select="doc:body/doc:DDV_P2"><h2>Zahtevek za izdajo identifikacijske številke za ddv (domači)</h2><p> </p><p><xsl:if test="doc:CustodianDate"><div>Datum prijave: 
                  <xsl:call-template name="dateOnly"><xsl:with-param name="timestamp" select="doc:CustodianDate"></xsl:with-param></xsl:call-template></div></xsl:if><xsl:if test="doc:CustodianNote"><div>Opombe: <xsl:value-of select="doc:CustodianNote"></xsl:value-of></div></xsl:if></p><table cellspacing="0" cellpadding="0" border="0"><tr><td style="border: 0; padding: 0 0 0 0;"><h3>1. Splošni podatki</h3><table cellspacing="2" cellpadding="2" class="tablesignbullet" width="100%"><tr><td valign="top">01</td><td valign="top" width="60%">Davčna številka</td><td class="fldprefill" width="40%"><xsl:choose><xsl:when test="not(//edp:Header/edp:taxpayer/edp:taxNumber)"> 
      </xsl:when><xsl:when test="//edp:Header/edp:taxpayer/edp:taxNumber=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="//edp:Header/edp:taxpayer/edp:taxNumber"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top">02</td><td valign="top">Matična številka</td><td class="fldprefill"><xsl:choose><xsl:when test="not(doc:F2)"> 
      </xsl:when><xsl:when test="doc:F2=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F2"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top">03</td><td valign="top">Firma</td><td class="fldprefill"><xsl:choose><xsl:when test="not(doc:F3)"> 
      </xsl:when><xsl:when test="doc:F3=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F3"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top">04</td><td valign="top">Skrajšano ime firme</td><td class="fldprefill"><xsl:choose><xsl:when test="not(doc:F4)"> 
      </xsl:when><xsl:when test="doc:F4=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F4"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top">05</td><td valign="top">Naslov firme</td><td class="fldprefill"><xsl:choose><xsl:when test="not(doc:F5_Ulica)"> 
      </xsl:when><xsl:when test="doc:F5_Ulica=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F5_Ulica"></xsl:value-of></xsl:otherwise></xsl:choose><br></br><xsl:choose><xsl:when test="not(doc:F5_Naselje)"> 
      </xsl:when><xsl:when test="doc:F5_Naselje=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F5_Naselje"></xsl:value-of></xsl:otherwise></xsl:choose><br></br><xsl:choose><xsl:when test="not(doc:F5_Post)"> 
      </xsl:when><xsl:when test="doc:F5_Post=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F5_Post"></xsl:value-of></xsl:otherwise></xsl:choose> <xsl:choose><xsl:when test="not(doc:F5_PostName)"> 
      </xsl:when><xsl:when test="doc:F5_PostName=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F5_PostName"></xsl:value-of></xsl:otherwise></xsl:choose><br></br><xsl:choose><xsl:when test="not(doc:F5_Country)"> 
      </xsl:when><xsl:when test="doc:F5_Country=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F5_Country"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top">06</td><td valign="top">Ime, priimek in naslov stalnega bivališča fizične osebe</td><td class="fldprefill"><xsl:choose><xsl:when test="not(doc:F6_Name)"> 
      </xsl:when><xsl:when test="doc:F6_Name=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F6_Name"></xsl:value-of></xsl:otherwise></xsl:choose><br></br><xsl:choose><xsl:when test="not(doc:F6_Ulica)"> 
      </xsl:when><xsl:when test="doc:F6_Ulica=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F6_Ulica"></xsl:value-of></xsl:otherwise></xsl:choose><br></br><xsl:choose><xsl:when test="not(doc:F6_Naselje)"> 
      </xsl:when><xsl:when test="doc:F6_Naselje=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F6_Naselje"></xsl:value-of></xsl:otherwise></xsl:choose><br></br><xsl:choose><xsl:when test="not(doc:F6_Post)"> 
      </xsl:when><xsl:when test="doc:F6_Post=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F6_Post"></xsl:value-of></xsl:otherwise></xsl:choose> <xsl:choose><xsl:when test="not(doc:F6_PostName)"> 
      </xsl:when><xsl:when test="doc:F6_PostName=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F6_PostName"></xsl:value-of></xsl:otherwise></xsl:choose><br></br><xsl:choose><xsl:when test="not(doc:F6_Country)"> 
      </xsl:when><xsl:when test="doc:F6_Country=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F6_Country"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top">07</td><td valign="top">Datum predvidenega začetka identifikacije za DDV</td><td><xsl:call-template name="dateOnly"><xsl:with-param name="timestamp"><xsl:value-of select="doc:F7"></xsl:value-of></xsl:with-param></xsl:call-template></td></tr><tr><td valign="top" style="border: 0;">08</td><td valign="top" style="border: 0;">Telefonska številka</td><td class="fldprefill" style="border: 0;"><xsl:choose><xsl:when test="not(doc:F8_PhoneNumber)"> 
      </xsl:when><xsl:when test="doc:F8_PhoneNumber=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F8_PhoneNumber"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top" style="border: 0;"> </td><td valign="top" style="border: 0;">Faks</td><td class="fldprefill" style="border: 0;"><xsl:choose><xsl:when test="not(doc:F8_FaxNumber)"> 
      </xsl:when><xsl:when test="doc:F8_FaxNumber=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F8_FaxNumber"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top"> </td><td valign="top">Elektronski naslov</td><td class="fldprefill"><xsl:choose><xsl:when test="not(doc:F8_EMail)"> 
      </xsl:when><xsl:when test="doc:F8_EMail=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F8_EMail"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top">09</td><td valign="top">Številka računa pri banki ali hranilnici</td><td><xsl:choose><xsl:when test="not(doc:F9)"> 
      </xsl:when><xsl:when test="doc:F9=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F9"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top">10</td><td valign="top">Odgovorna oseba [Ime in priimek in davčna številka]</td><td><xsl:choose><xsl:when test="not(doc:F10_Name)"> 
      </xsl:when><xsl:when test="doc:F10_Name=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F10_Name"></xsl:value-of></xsl:otherwise></xsl:choose><xsl:if test="doc:F10_TaxNumber">
                          (<xsl:choose><xsl:when test="not(doc:F10_TaxNumber)"> 
      </xsl:when><xsl:when test="doc:F10_TaxNumber=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F10_TaxNumber"></xsl:value-of></xsl:otherwise></xsl:choose>)
                        </xsl:if></td></tr><tr><td valign="top" style="border: 0;">11</td><td valign="top" style="border: 0;">Ime in priimek kontaktne osebe</td><td style="border: 0;"><xsl:choose><xsl:when test="not(doc:F11_Name)"> 
      </xsl:when><xsl:when test="doc:F11_Name=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F11_Name"></xsl:value-of></xsl:otherwise></xsl:choose> <xsl:choose><xsl:when test="not(doc:F11_Surname)"> 
      </xsl:when><xsl:when test="doc:F11_Surname=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F11_Surname"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top" style="border: 0;"> </td><td valign="top" style="border: 0;">Davčna številka</td><td style="border: 0;"><xsl:choose><xsl:when test="not(doc:F11_TaxNumber)"> 
      </xsl:when><xsl:when test="doc:F11_TaxNumber=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F11_TaxNumber"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr><tr><td valign="top"> </td><td valign="top">Telefonska številka</td><td><xsl:choose><xsl:when test="not(doc:F11_PhoneNumber)"> 
      </xsl:when><xsl:when test="doc:F11_PhoneNumber=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:F11_PhoneNumber"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr></table></td></tr><tr><td style="border: 0; padding: 0 0 0 0;"><h3>2. Dejavnost</h3><table cellspacing="2" cellpadding="2" class="tablesignbullet" width="100%"><tr><td valign="top">12</td><td valign="top" width="100%">Šifra in naziv dejavnosti, ki predstavlja večje deleže ustvarjenega prometa</td><td nowrap="nowrap"><div><xsl:for-each select="doc:F12_Activity"><div><xsl:choose><xsl:when test="not(doc:Code)"> 
      </xsl:when><xsl:when test="doc:Code=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:Code"></xsl:value-of></xsl:otherwise></xsl:choose><xsl:if test="doc:Name">
                                - <xsl:choose><xsl:when test="not(doc:Name)"> 
      </xsl:when><xsl:when test="doc:Name=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:Name"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:if><xsl:if test="doc:Percent">
                                (<xsl:choose><xsl:when test="not(doc:Percent)"> 
      </xsl:when><xsl:when test="doc:Percent=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:Percent"></xsl:value-of></xsl:otherwise></xsl:choose> %)
                              </xsl:if></div></xsl:for-each></div>
                         
                      </td></tr></table></td></tr></table><table cellspacing="0" cellpadding="0" border="0"><tr><td style="border: 0; padding: 0 0 0 0;"><h3>3. Promet blaga in storitev</h3><table cellspacing="2" cellpadding="2" class="tablesignbullet" width="100%"><tr><td valign="top">13</td><td valign="top" width="100%">Vrednost doseženega prometa blaga in storitev v preteklih 12 mesecih</td><td class="input dark" nowrap="nowrap" align="right"><div><xsl:if test="doc:F13"><xsl:call-template name="Amount"><xsl:with-param name="amount" select="doc:F13"></xsl:with-param></xsl:call-template> EUR</xsl:if></div> 
                      </td></tr><tr><td valign="top">14</td><td valign="top">Vrednost pričakovanega prometa blaga in storitev v prihodnjih 12 mesecih</td><td class="input dark" nowrap="nowrap" align="right"><div><xsl:if test="doc:F14"><xsl:call-template name="Amount"><xsl:with-param name="amount" select="doc:F14"></xsl:with-param></xsl:call-template> EUR</xsl:if></div> 
                      </td></tr><tr><td valign="top">15</td><td valign="top">Višina katastrskega dohodka v preteklem letu</td><td class="input dark" nowrap="nowrap" align="right"><div><xsl:if test="doc:F15"><xsl:call-template name="Amount"><xsl:with-param name="amount" select="doc:F15"></xsl:with-param></xsl:call-template> EUR</xsl:if></div> 
                      </td></tr></table></td></tr><tr><td style="border: 0; padding: 0 0 0 0;"><h3>4. Drugi podatki</h3><table cellspacing="2" cellpadding="2" class="tablesignbullet" width="100%"><tr><td align="top">16</td><td valign="top" width="100%">Prostovoljna vključitev po 94. členu ZDDV-1</td><td><div><xsl:choose><xsl:when test="doc:F16='true'">DA</xsl:when><xsl:otherwise>NE</xsl:otherwise></xsl:choose></div></td></tr><tr><td align="top">17</td><td valign="top">Prostovoljna vključitev po četrtem odstavku 4. člena ZDDV-1</td><td><div><xsl:choose><xsl:when test="doc:F17='true'">DA</xsl:when><xsl:otherwise>NE</xsl:otherwise></xsl:choose></div></td></tr><tr><td align="top">18</td><td valign="top">Skupni znesek pridobitev v tekočem koledarskem letu preseže 10.000 EUR</td><td><div><xsl:choose><xsl:when test="doc:F18='true'">DA</xsl:when><xsl:otherwise>NE</xsl:otherwise></xsl:choose></div></td></tr><tr><td align="top">19</td><td valign="top">Opravljene in/ali prejem storitev znotraj Skupnosti po četrtem odstavku 78. člena ZDDV-1</td><td><div><xsl:choose><xsl:when test="doc:F19='true'">DA</xsl:when><xsl:otherwise>NE</xsl:otherwise></xsl:choose></div></td></tr></table></td></tr></table><table cellspacing="0" cellpadding="0" border="0"><tr><td style="border: 0; padding: 0 0 0 0;"><table cellspacing="2" cellpadding="2" class="tablesignbullet" width="100%"><tr><td width="100%">Jezik</td><td><xsl:choose><xsl:when test="not(doc:Language)"> 
      </xsl:when><xsl:when test="doc:Language=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:Language"></xsl:value-of></xsl:otherwise></xsl:choose></td></tr></table><p> </p></td></tr><xsl:if test="doc:eVEM_DocumentNumber"><tr><td style="border: 0; padding: 0 0 0 0;"><table cellspacing="2" cellpadding="2" class="tablesignbullet" width="100%"><tr><td valign="top" width="100%">eVEM številka dokumenta</td><td><xsl:value-of select="doc:eVEM_DocumentNumber"></xsl:value-of></td></tr><tr><td valign="top">Datum oddaje dokumenta na eVem portalu</td><td><xsl:call-template name="dateOnly"><xsl:with-param name="timestamp" select="doc:eVEM_DepositNumber"></xsl:with-param></xsl:call-template></td></tr><tr><td valign="top">CEH številka priloge</td><td><xsl:value-of select="doc:CEH_AttachmentNumber"></xsl:value-of></td></tr></table><p> </p></td></tr></xsl:if></table><p> </p><table class="tablesignsimple"><tr><td>Datum:</td><td class="input"><div class="fldprefill"><xsl:call-template name="dateOnly"><xsl:with-param name="timestamp"><xsl:value-of select="//edp:Signatures/edp:DepositorSignature/edp:Depositor/edp:timestamp"></xsl:value-of></xsl:with-param></xsl:call-template> 
          </div></td></tr><tr><td>Vlagatelj:</td><td class="input"><div class="fldprefill"><xsl:value-of select="//edp:Signatures/edp:DepositorSignature/edp:Depositor/edp:name"></xsl:value-of> 
          </div></td></tr></table><div style="display: inline-block;"><table class="tablesignform" cellspacing="0"><tr><td>MF-DURS Obrazec DDV-P2</td><td class="right">e-DDV_P2_5.1</td></tr></table></div></xsl:for-each><xsl:call-template name="InternalAttachments"></xsl:call-template></div></div></xsl:for-each></xsl:template><xsl:template name="Amount"><xsl:param name="amount"></xsl:param><xsl:choose><xsl:when test="$amount=''"> </xsl:when><xsl:when test="$amount='0'">0</xsl:when><xsl:otherwise><xsl:value-of select="translate(format-number($amount, '#,###.##'), '.,', ',.')"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="dateAndTime"><xsl:param name="timestamp"></xsl:param><xsl:if test="not($timestamp='')"><xsl:call-template name="dateOnly"><xsl:with-param name="timestamp" select="$timestamp"></xsl:with-param></xsl:call-template> <xsl:value-of select="substring($timestamp, 12, 8)"></xsl:value-of></xsl:if></xsl:template><xsl:template name="dateOnly"><xsl:param name="timestamp"></xsl:param><xsl:variable name="tmonth"><xsl:value-of select="substring($timestamp, 6, 2)"></xsl:value-of></xsl:variable><xsl:variable name="tday"><xsl:value-of select="substring($timestamp, 9, 2)"></xsl:value-of></xsl:variable><xsl:variable name="tyear"><xsl:value-of select="substring($timestamp, 1, 4)"></xsl:value-of></xsl:variable><xsl:if test="($timestamp) and ($timestamp != '')"><xsl:value-of select="$tday"></xsl:value-of>.<xsl:value-of select="$tmonth"></xsl:value-of>.<xsl:value-of select="$tyear"></xsl:value-of></xsl:if></xsl:template><xsl:template name="InternalAttachments"><p> </p><table class="tablesignbullet" cellspacing="0" cellpadding="2" width="100%"><tr class="first"><td colspan="6">Vsebovane priloge</td></tr><tr class="lblheader2"><td>#</td><td>Id</td><td>Ime datoteke</td><td>Tip priloge</td><td>Opis</td><td>Zgoščena vrednost (SHA-1 hash)</td></tr><xsl:for-each select="//edp:AttachmentList/edp:ExternalAttachment"><tr><td class="left"><xsl:value-of select="position()"></xsl:value-of>.</td><td class="left"><xsl:value-of select="edp:attachmentId"></xsl:value-of></td><td class="left"><a><xsl:attribute name="href">../../CommonPages/Documents/AttachmentDownload.aspx?intAttId=<xsl:value-of select="edp:attachmentId"></xsl:value-of></xsl:attribute><xsl:value-of select="edp:filename"></xsl:value-of></a></td><td class="left"><xsl:value-of select="edp:type"></xsl:value-of></td><td class="left"><xsl:value-of select="edp:description"></xsl:value-of></td><td class="left"><xsl:value-of select="edp:hash"></xsl:value-of></td></tr></xsl:for-each></table></xsl:template></xsl:stylesheet>