VGLD#30069: Vertaling kostenplaatsen naar Exact
svn path=/Website/branches/v5.4.2/; revision=22171
This commit is contained in:
@@ -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=". >= '230' and . <= '299'">230</xsl:when>
|
||||
<xsl:when test=". >= '340' and . <= '399'">340</xsl:when>
|
||||
<xsl:when test=". >= '450' and . <= '499'">450</xsl:when>
|
||||
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user