DENB#56529 btw 6 naar 9
svn path=/Website/branches/v2018.2/; revision=40885
This commit is contained in:
@@ -389,14 +389,14 @@
|
||||
<xsl:when test="kenmerk[@key='181']='Sociaal'">
|
||||
<!--xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="prijs"/></xsl:call-template-->
|
||||
<xsl:choose>
|
||||
<xsl:when test="res_ruimte/groep='6'"><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="ruimteprijs * 1.06"/></xsl:call-template></xsl:when>
|
||||
<xsl:when test="res_ruimte/groep='6'"><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="ruimteprijs * 1.09"/></xsl:call-template></xsl:when>
|
||||
<xsl:otherwise><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="ruimteprijs * 1.21"/></xsl:call-template></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<!--xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="(tot/timestamp - van/timestamp) div 3600 * number (res_ruimte/prijs_dag)"/></xsl:call-template-->
|
||||
<xsl:choose>
|
||||
<xsl:when test="res_ruimte/groep='6'"><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="(tot/timestamp - van/timestamp) div 3600 * number (res_ruimte/prijs_dag) * 1.06"/></xsl:call-template></xsl:when>
|
||||
<xsl:when test="res_ruimte/groep='6'"><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="(tot/timestamp - van/timestamp) div 3600 * number (res_ruimte/prijs_dag) * 1.09"/></xsl:call-template></xsl:when>
|
||||
<xsl:otherwise><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="(tot/timestamp - van/timestamp) div 3600 * number (res_ruimte/prijs_dag) * 1.21"/></xsl:call-template></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
@@ -410,7 +410,7 @@
|
||||
<td class="resresult" style="text-align:center"><xsl:choose><xsl:when test="res_ruimte/groep!=''"><xsl:value-of select="res_ruimte/groep"/>%</xsl:when><xsl:otherwise/></xsl:choose></td>
|
||||
<td class="resresult" style="text-align:right">
|
||||
<xsl:choose>
|
||||
<xsl:when test="res_ruimte/groep='6'"><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="-1 * korting * 1.06"/></xsl:call-template></xsl:when>
|
||||
<xsl:when test="res_ruimte/groep='6'"><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="-1 * korting * 1.09"/></xsl:call-template></xsl:when>
|
||||
<xsl:otherwise><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="-1 * korting * 1.21"/></xsl:call-template></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
@@ -462,7 +462,7 @@
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="res_artikel/btw='21'"><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="prijs * 1.21"/></xsl:call-template></xsl:when>
|
||||
<xsl:otherwise><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="prijs * 1.06"/></xsl:call-template></xsl:otherwise>
|
||||
<xsl:otherwise><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="prijs * 1.09"/></xsl:call-template></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
@@ -511,14 +511,14 @@
|
||||
<btw>
|
||||
<xsl:choose>
|
||||
<xsl:when test="res_artikel/btw!=''"><xsl:value-of select="res_artikel/btw"/></xsl:when>
|
||||
<xsl:otherwise>6</xsl:otherwise>
|
||||
<xsl:otherwise>9</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</btw>
|
||||
</item>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="totaal_excl_btw" select="sum(msxml:node-set($tmpprijslist)/item/prijs)"/>
|
||||
<xsl:variable name="totaal_btw_laag" select="sum(msxml:node-set($tmpprijslist)/item[btw='6']/prijs)*0.06"/>
|
||||
<xsl:variable name="totaal_btw_laag" select="sum(msxml:node-set($tmpprijslist)/item[btw='9']/prijs)*0.09"/>
|
||||
<xsl:variable name="totaal_btw_hoog" select="sum(msxml:node-set($tmpprijslist)/item[btw='21']/prijs)*0.21"/>
|
||||
<!-- totaal per deelreservering -->
|
||||
<!--tr><td colspan="7" style="border-top:1px solid #000;"><xsl:value-of select="msxml:node-set($tmpprijslist)"/></td></tr-->
|
||||
|
||||
Reference in New Issue
Block a user