ASTE#39817 Report for Astellas UK

svn path=/Website/branches/v2016.3/; revision=33291
This commit is contained in:
Ruud Lipper
2017-03-28 14:41:18 +00:00
parent d6ca7d76ff
commit bae7cab4b1

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt">
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:import href="../../../appl/shared/default.xsl"/>
<xsl:variable name="Rev">
<!-- Revision van deze cust.xsl -->
@@ -461,6 +461,71 @@ Your kind words have been shared with other members of the Facilities team and w
</xsl:if>
</table>
</xsl:template>
<xsl:template match="rapport" mode="default">
<html>
<xsl:choose>
<xsl:when test="@view='aste_v_rap_meldingenbeh'">
<xsl:variable name="sorted">
<xsl:for-each select="rapport_data/data_row">
<xsl:sort select="number(CALL_NUMBER)" order="ascending" data-type="number"/>
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:variable>
<body>
<table width="100%" class="DefResultsetTable" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th style="text-align: left;">Number</th>
<th style="text-align: left">Date</th>
<th style="text-align: left">Time</th>
<th style="text-align: left">Place</th>
<th style="text-align: left">Discipline</th>
<th style="text-align: left">Call</th>
<th style="text-align: left">Description</th>
<th style="text-align: left">Requestor</th>
<th style="text-align: left">Update</th>
</tr>
</thead>
<tbody>
<xsl:for-each select="msxml:node-set($sorted)/data_row">
<xsl:variable name="prev_call">
<xsl:choose>
<xsl:when test="position()=1">Quqelequ</xsl:when>
<xsl:otherwise><xsl:value-of select="preceding-sibling::data_row[1]/CALL_NUMBER"/></xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="this_call">
<xsl:value-of select="CALL_NUMBER"/>
</xsl:variable>
<tr>
<xsl:if test="$this_call!=$prev_call">
<td style="mso-number-format:General!important;"><xsl:value-of select="number(CALL_NUMBER)"/></td>
<td style="white-space: nowrap"><xsl:value-of select="CALL_DATE"/></td>
<td><xsl:value-of select="CALL_TIME"/></td>
<td><xsl:value-of select="PLACE"/></td>
<td style="white-space: nowrap"><xsl:value-of select="DISCIPLINE"/></td>
<td><xsl:value-of select="CALL"/></td>
<td><xsl:value-of select="DESCRIPTION"/></td>
<td><xsl:value-of select="REQUESTOR"/></td>
<td>
<xsl:for-each select="msxml:node-set($sorted)/data_row[CALL_NUMBER=$this_call]">
<i><xsl:value-of select="UPDATE_DAT"/>&#xA0;<xsl:value-of select="UPDATE_NAME"/></i>&#xA0;<xsl:value-of select="UPDATE_DESC"/><br style="mso-data-placement:same-cell;" />
</xsl:for-each>
</td>
</xsl:if>
</tr>
</xsl:for-each>
</tbody>
<tfoot>
</tfoot>
</table>
</body>
</xsl:when>
</xsl:choose>
</html>
</xsl:template>
</xsl:stylesheet>
<!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved.