VGLD#43547 -- Wijziging kostenplaatsen naar Exact

svn path=/Website/branches/v2017.2/; revision=35846
This commit is contained in:
Robin Stoker
2017-10-30 09:06:07 +00:00
parent 2be15d050b
commit 0e5af4a66f

View File

@@ -40,7 +40,7 @@
</xsl:apply-templates>
</btwcode>
<btw_bdr><xsl:value-of select="fin_factuurregel_btw_bedrag"/></btw_bdr>
<kstplcode><xsl:apply-templates select="prs_kostenplaats_nr"/></kstplcode>
<kstplcode><xsl:value-of select="prs_kostenplaats_nr"/></kstplcode>
</boekingsregel>
</xsl:for-each>
</kopregel>
@@ -55,16 +55,5 @@
<xsl:otherwise>0</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="prs_kostenplaats_nr">
<xsl:choose>
<xsl:when test=". &gt;= '230' and . &lt;= '299'">230</xsl:when>
<xsl:when test=". &gt;= '340' and . &lt;= '399'">340</xsl:when>
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>