FSN#53893 Voorstel/Bevestiging reserveringsbonnen
svn path=/Website/branches/v2018.2/; revision=40486
This commit is contained in:
@@ -546,54 +546,16 @@
|
||||
<td width="8%" style="font-size:8pt;text-align:center;"><xsl:value-of select="tot/tijd"/></td>
|
||||
<td width="26%" style="font-size:8pt;"><xsl:value-of select="res_deel/deel/omschrijving"/> / <xsl:value-of select="number((tot/timestamp - van/timestamp) div 3600)"/> uur</td>
|
||||
<td width="12%" style="font-size:8pt;text-align:right;">
|
||||
<!--xsl:choose>
|
||||
<xsl:when test="$tarief='Commercieel'">€ <xsl:value-of select="format-number (res_deel/prijs, '0,00', 'european')"/></xsl:when>
|
||||
<xsl:otherwise>€ <xsl:value-of select="format-number (res_deel/prijs * 0.5, '0,00', 'european')"/></xsl:otherwise>
|
||||
</xsl:choose-->
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$tarief='Commercieel'">€ <xsl:value-of select="format-number (prijs div $v_duur, '0,00', 'european')"/></xsl:when>
|
||||
<xsl:otherwise>€ <xsl:value-of select="format-number (0.5 * (prijs div $v_duur), '0,00', 'european')"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$tarief='Commercieel'">€ <xsl:value-of select="format-number (res_deel/prijs, '0,00', 'european')"/></xsl:when>
|
||||
<xsl:otherwise>€ <xsl:value-of select="format-number (0.5 * res_deel/prijs, '0,00', 'european')"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
<xsl:when test="prijs!=''">€ <xsl:value-of select="format-number (prijs div $v_duur, '0,00', 'european')"/></xsl:when>
|
||||
<xsl:otherwise>€ <xsl:value-of select="format-number (res_deel/prijs, '0,00', 'european')"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<td width="8%" style="font-size:8pt;text-align:center;">21%</td>
|
||||
<td width="12%" style="font-size:8pt;text-align:right;">
|
||||
<!--xsl:choose>
|
||||
<xsl:when test="$tarief='Commercieel'">
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''">€ <xsl:value-of select="format-number (prijs, '0,00', 'european')"/></xsl:when>
|
||||
<xsl:otherwise>€ <xsl:value-of select="format-number (0, '0,00', 'european')"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''">€ <xsl:value-of select="format-number (prijs * 0.5, '0,00', 'european')"/></xsl:when>
|
||||
<xsl:otherwise>€ <xsl:value-of select="format-number (0, '0,00', 'european')"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose-->
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$tarief='Commercieel'">€ <xsl:value-of select="format-number (prijs, '0,00', 'european')"/></xsl:when>
|
||||
<xsl:otherwise>€ <xsl:value-of select="format-number (0.5 * prijs, '0,00', 'european')"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$tarief='Commercieel'">€ <xsl:value-of select="format-number ($v_duur * res_deel/prijs, '0,00', 'european')"/></xsl:when>
|
||||
<xsl:otherwise>€ <xsl:value-of select="format-number (0.5 * $v_duur * res_deel/prijs, '0,00', 'european')"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
<xsl:when test="prijs!=''">€ <xsl:value-of select="format-number (prijs, '0,00', 'european')"/></xsl:when>
|
||||
<xsl:otherwise>€ <xsl:value-of select="format-number ($v_duur * res_deel/prijs, '0,00', 'european')"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<td style="font-size:8pt;"/>
|
||||
@@ -663,35 +625,15 @@
|
||||
<item>
|
||||
<exclbtw>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$tarief='Commercieel'">
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="prijs"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="round (100 * 0.5 * prijs) div 100"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="prijs"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</exclbtw>
|
||||
<btw>21</btw>
|
||||
<btwbedrag>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$tarief='Commercieel'">
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="round (100 * prijs * 0.21) div 100"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="round (100 * 0.5 * prijs * 0.21) div 100"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="round (100 * prijs * 0.21) div 100"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</btwbedrag>
|
||||
</item>
|
||||
@@ -783,35 +725,15 @@
|
||||
<item>
|
||||
<exclbtw>
|
||||
<xsl:choose>
|
||||
<xsl:when test="../kenmerk[@naam='Verhuur tarief']='Commercieel'">
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="prijs"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="round (100 * 0.5 * prijs) div 100"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="prijs"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</exclbtw>
|
||||
<btw>21</btw>
|
||||
<btwbedrag>
|
||||
<xsl:choose>
|
||||
<xsl:when test="../kenmerk[@naam='Verhuur tarief']='Commercieel'">
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="round (100 * prijs * 0.21) div 100"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="round (100 * 0.5 * prijs * 0.21) div 100"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
<xsl:when test="prijs!=''"><xsl:value-of select="round (100 * prijs * 0.21) div 100"/></xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</btwbedrag>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user