ASFC#29182 -- Initiele versie

svn path=/Website/branches/v5.4.2/; revision=22270
This commit is contained in:
Arthur Egberink
2014-08-07 08:27:12 +00:00
parent b6023b3670
commit 5a5eccb01b

View File

@@ -16,7 +16,10 @@
<html>
<xsl:choose>
<xsl:when test="translate(@view, $smallcase, $uppercase)='ASFC_V_RAP_TAAKLIJST'">
<xsl:when test="translate(@view, $smallcase, $uppercase)='ASFC_V_RAP_TAAKLIJST' or
translate(@view, $smallcase, $uppercase)='ASFC_V_RAP_TAAKLIJST_PLUS1' or
translate(@view, $smallcase, $uppercase)='ASFC_V_RAP_TAAKLIJST_PLUS2' or
translate(@view, $smallcase, $uppercase)='ASFC_V_RAP_TAAKLIJST_LF'">
<table width="100%" class="DefResultsetTable" border="1" cellpadding="0" cellspacing="0">
@@ -32,6 +35,7 @@
<xsl:variable name="sorted">
<xsl:for-each select="rapport_data/data_row">
<xsl:sort select="VOLGORDE"/>
<xsl:sort select="FCLT_F_TAAK"/>
<xsl:sort select="LOCATIEEENHEID"/>
<xsl:sort select="IDENTIFICATIE"/>
@@ -50,7 +54,16 @@
</xsl:choose>
</xsl:variable>
<xsl:if test="$prev_taak != FCLT_F_TAAK">
<xsl:variable name="prev_datum">
<xsl:choose>
<xsl:when test="position()=1">Quqelequ</xsl:when>
<xsl:otherwise>
<xsl:value-of select="preceding-sibling::data_row[1]/INSPECTIEDATUM"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:if test="$prev_taak != FCLT_F_TAAK or $prev_datum != INSPECTIEDATUM">
<xsl:if test="position() != 1">
<xsl:text disable-output-escaping="yes">&lt;/table&gt;</xsl:text>
@@ -60,15 +73,17 @@
<thead>
<tr>
<th style="text-align: left" colspan="2">Taak: <xsl:value-of select="FCLT_F_TAAK"/></th>
<th style="text-align: left" colspan="4">Taak: <xsl:value-of select="FCLT_F_TAAK"/></th>
<th style="text-align: right" colspan="3">Datum: <xsl:value-of select="INSPECTIEDATUM"/></th>
</tr>
<tr>
<th style="text-align: left">Onderdeel</th>
<th style="text-align: left">Identificatie</th>
<th style="text-align: left">Ruimtenr vlgns bestek</th>
<th style="text-align: left">Werkzaamheden</th>
<th style="text-align: left">Opmerking</th>
<th style="text-align: left">v</th>
<th style="text-align: left">o</th>
<th style="text-align: left">m</th>
</tr>
</thead>
</xsl:if>
@@ -80,6 +95,9 @@
</td>
<td>
<xsl:value-of select="IDENTIFICATIE"/>
</td>
<td>
<xsl:value-of select="RUIMTENR_BESTEK"/>
</td>
<td>
<xsl:value-of select="WERKZAAMHEDEN"/>
@@ -89,6 +107,9 @@
</td>
<td>
&#xA0;
</td>
<td>
&#xA0;
</td>
</tr>
</tbody>