VGLD#30069: Vertaling kostenplaatsen naar Exact

svn path=/Website/branches/v5.4.2/; revision=22171
This commit is contained in:
Marcel Bourseau
2014-07-22 11:27:42 +00:00
parent 4cb6ea4ff9
commit fcb28285f3

View File

@@ -38,7 +38,7 @@
</xsl:apply-templates>
</btwcode>
<btw_bdr><xsl:value-of select="fin_factuurregel_btw_bedrag"/></btw_bdr>
<kstplcode><xsl:value-of select="prs_kostenplaats_nr"/></kstplcode>
<kstplcode><xsl:apply-templates select="prs_kostenplaats_nr"/></kstplcode>
</boekingsregel>
</xsl:for-each>
</kopregel>
@@ -54,6 +54,15 @@
</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:when test=". &gt;= '450' and . &lt;= '499'">450</xsl:when>
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
</xsl:choose>
</xsl:template>