svn path=/Website/branches/v2016.2/; revision=31224
This commit is contained in:
Ruud Lipper
2016-10-26 10:09:13 +00:00
parent dfacda532d
commit bce58f1dbe

View File

@@ -1124,32 +1124,22 @@
</td>
</tr>
<xsl:if test="$srtnotificatiecode = 'MLDFWD' and not(/facilitor/opdracht)">
<xsl:for-each select="notes/note[flag=1]">
<xsl:sort select="aanmaak/timestamp" order="ascending"/>
<xsl:variable name="fwdtime">
<xsl:for-each select="tracking/track[@code='MLDFWD']/datum">
<xsl:sort select="timestamp" order="descending"/>
<xsl:if test="position() = 1"><xsl:value-of select="timestamp"/></xsl:if>
</xsl:for-each>
</xsl:variable>
<tr>
<xsl:choose>
<xsl:when test="position() = 1">
<td align="right" valign="top" class="label">
<xsl:value-of select="//lcl/MLD/behandeling"/>
</td>
</xsl:when>
<xsl:otherwise>
<td/>
</xsl:otherwise>
</xsl:choose>
<td colspan="3" class="value">
<span>
<xsl:choose>
<xsl:when test="position() = 1">:&#xA0;</xsl:when>
<xsl:otherwise>&#xA0;&#xA0;</xsl:otherwise>
</xsl:choose><xsl:value-of select="aanmaak/datum"/>&#xA0;<xsl:value-of select="aanmaak/tijd"/>&#xA0;-&#xA0;<xsl:value-of select="noteur/naam_friendly"/>
</span>&#xA0;
<td colspan="3" class="value">:
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
<xsl:with-param name="string" select="notes/note/omschrijving[../aanmaak/timestamp=$fwdtime]"/>
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</xsl:if>
<xsl:if test="opmerking!=''">
<tr>