SGGR#40017 inzicht in hotelreserveringen en externe zalen/ html-linkjes naar mld_melding.asp
svn path=/Website/branches/v2016.3/; revision=33960
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:if test="$prev_auto != $auto">
|
||||
|
||||
<xsl:if test="position() != 1">
|
||||
@@ -149,5 +150,98 @@
|
||||
</body>
|
||||
</html>
|
||||
</xsl:if>
|
||||
|
||||
|
||||
<xsl:if test="@view='SGGR_V_RAPP_HOTELAANVRAGEN'">
|
||||
|
||||
|
||||
<html>
|
||||
|
||||
|
||||
<xsl:variable name="distinct">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:sort select="MLD_MELDING_KEY"/>
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="sorted">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:sort select="MLD_MELDING_KEY"/>
|
||||
<xsl:sort select="TIMESTAMP"/>
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
|
||||
<body>
|
||||
|
||||
|
||||
<xsl:for-each select="msxml:node-set($distinct)/data_row">
|
||||
|
||||
<xsl:variable name="melding">
|
||||
<xsl:value-of select="MLD_MELDING_KEY"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="prev_melding">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1">Quqelequ</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="preceding-sibling::data_row[1]/MLD_MELDING_KEY"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
|
||||
<xsl:if test="$prev_melding != $melding">
|
||||
|
||||
<table width="100%" border="1" cellpadding="0" cellspacing="0">
|
||||
<xsl:for-each select="msxml:node-set($sorted)/data_row[MLD_MELDING_KEY=$melding]">
|
||||
<xsl:if test="position() = 1">
|
||||
|
||||
|
||||
<tr>
|
||||
<th colspan="1" style="text-align:left ;background-color: white ;color: black">Hotelaanvraag: <xsl:value-of select="MLD_MELDING_KEY"/></th>
|
||||
<th colspan="1" style="text-align:left ;background-color: white ;color: black">Status: <xsl:value-of select="STATUS"/></th>
|
||||
<th colspan="1" style="text-align:left ;background-color: white ;color: black">Datum: <xsl:value-of select="DATUM"/></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="1" style="text-align:left ;background-color: white ;color: black">Onderwerp: <xsl:value-of select="ONDERWERP"/></th>
|
||||
<th colspan="2" style="text-align:left ;background-color: white ;color: black">Omschrijving: <xsl:value-of select="OMSCHRIJVING"/></th>
|
||||
</tr>
|
||||
<tr> <br> </br> </tr>
|
||||
<tr></tr>
|
||||
|
||||
</xsl:if>
|
||||
|
||||
<tr>
|
||||
<td colspan="3"> <xsl:value-of select="OMSCHRIJVING_KM"/>: <xsl:value-of select="WAARDE_KM"/> </td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</xsl:if>
|
||||
|
||||
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
Reference in New Issue
Block a user