DENB#57455 RES-bon/Correctie BTW-berekening
svn path=/Website/branches/v2019.1/; revision=42262
This commit is contained in:
@@ -389,14 +389,16 @@
|
||||
<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.09"/></xsl:call-template></xsl:when>
|
||||
<xsl:when test="res_ruimte/groep='0'"><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="ruimteprijs"/></xsl:call-template></xsl:when>
|
||||
<xsl:when test="res_ruimte/groep='9'"><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.09"/></xsl:call-template></xsl:when>
|
||||
<xsl:when test="res_ruimte/groep='0'"><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:when>
|
||||
<xsl:when test="res_ruimte/groep='9'"><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 +412,8 @@
|
||||
<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.09"/></xsl:call-template></xsl:when>
|
||||
<xsl:when test="res_ruimte/groep='0'"><xsl:call-template name="europrijs"><xsl:with-param name="prijs" select="-1 * korting"/></xsl:call-template></xsl:when>
|
||||
<xsl:when test="res_ruimte/groep='9'"><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>
|
||||
@@ -482,8 +485,8 @@
|
||||
</prijs>
|
||||
<btw>
|
||||
<xsl:choose>
|
||||
<xsl:when test="res_ruimte/groep!=''"><xsl:value-of select="res_ruimte/groep"/>
|
||||
</xsl:when><xsl:otherwise>21</xsl:otherwise>
|
||||
<xsl:when test="res_ruimte/groep!=''"><xsl:value-of select="res_ruimte/groep"/></xsl:when>
|
||||
<xsl:otherwise>21</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</btw>
|
||||
</item>
|
||||
@@ -493,8 +496,8 @@
|
||||
<prijs><xsl:value-of select="-1 * korting"/></prijs>
|
||||
<btw>
|
||||
<xsl:choose>
|
||||
<xsl:when test="res_ruimte/groep!=''"><xsl:value-of select="res_ruimte/groep"/>
|
||||
</xsl:when><xsl:otherwise>21</xsl:otherwise>
|
||||
<xsl:when test="res_ruimte/groep!=''"><xsl:value-of select="res_ruimte/groep"/></xsl:when>
|
||||
<xsl:otherwise>21</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</btw>
|
||||
</item>
|
||||
@@ -688,7 +691,7 @@ Meldingsnummer: <xsl:value-of select="key"/>
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:for-each select="notes/note">
|
||||
@@ -705,11 +708,11 @@ Meldingsnummer: <xsl:value-of select="key"/>
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:if>
|
||||
|
||||
</xsl:if>
|
||||
|
||||
<br/><br/>Melddatum en –tijd: <xsl:value-of select="gemeld/datum"/> <xsl:value-of select="gemeld/tijd"/>
|
||||
<br/>Status: <xsl:value-of select="status"/>
|
||||
<!--br/>Gewenste einddatum: <xsl:value-of select="datum_gepland/datum"/> <xsl:value-of select="datum_gepland/tijd"/-->
|
||||
|
||||
Reference in New Issue
Block a user