FCLT#70361: Management rapportage voor periodieke taken.
svn path=/Website/trunk/; revision=58802
This commit is contained in:
@@ -3272,7 +3272,7 @@ END:VCALENDAR
|
||||
{
|
||||
if (pstatus == -1) td.innerHTML = "T"; // toekomstig
|
||||
if (pstatus == -1) td.style.backgroundColor = "#003366";
|
||||
if (pstatus == -1) td.style.color = "#FFFFFF";
|
||||
if (pstatus == -1) td.style.color = "#FFFFFF";
|
||||
if (pstatus == 0) td.innerHTML = "P"; // ingepland
|
||||
if (pstatus == 0) td.style.backgroundColor = "#FFA500";
|
||||
if (pstatus == 2) td.innerHTML = "S"; // gestart
|
||||
@@ -3288,9 +3288,9 @@ END:VCALENDAR
|
||||
function filltable()
|
||||
{
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:sort select="ins_deel_key" order="ascending"/>
|
||||
<xsl:sort select="deel_key" order="ascending"/>
|
||||
<xsl:sort select="ins_srtcontrole_key" order="ascending"/>
|
||||
filltd("<xsl:value-of select="concat(INS_DEEL_KEY,'_', INS_SRTCONTROLE_KEY, '_', MAAND, '_', JAAR)"/>", "<xsl:value-of select="INS_DEELSRTCONTROLE_STATUS"/>", "<xsl:value-of select="INS_CONTROLEMODE_SUCCESS"/>");
|
||||
filltd("<xsl:value-of select="concat(DEEL_KEY,'_', INS_SRTCONTROLE_KEY, '_', MAAND, '_', JAAR)"/>", "<xsl:value-of select="INSPECTIE_CODE"/>", "<xsl:value-of select="SUCCESVOL"/>");
|
||||
</xsl:for-each>
|
||||
var th = document.getElementsByClassName("th_lastyear");
|
||||
$(".lastyear").hide();
|
||||
@@ -3343,7 +3343,7 @@ END:VCALENDAR
|
||||
|
||||
<xsl:variable name="sorted">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:sort select="INS_DEEL_KEY"/>
|
||||
<xsl:sort select="DEEL_KEY"/>
|
||||
<xsl:sort select="INS_SRTCONTROLE_KEY"/>
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:for-each>
|
||||
@@ -3353,7 +3353,7 @@ END:VCALENDAR
|
||||
<xsl:if test="position() = 1">
|
||||
<tr>
|
||||
<th style="text-align:left">Gebouw</th>
|
||||
<th style="text-align:left">Omschrijving</th>
|
||||
<th style="text-align:left">Object</th>
|
||||
<th style="text-align:left">Controle</th>
|
||||
<th><button type="submit" onclick="backoneyear()"><</button></th>
|
||||
<th class="lastyear"><xsl:value-of select="$year - 1" /><br></br>Jan</th>
|
||||
@@ -3402,7 +3402,7 @@ END:VCALENDAR
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1">-1</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="preceding-sibling::data_row[1]/INS_DEEL_KEY"/>
|
||||
<xsl:value-of select="preceding-sibling::data_row[1]/DEEL_KEY"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
@@ -3416,156 +3416,156 @@ END:VCALENDAR
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:if test="INS_DEEL_KEY != $prev_deel or INS_SRTCONTROLE_KEY != $prev_cont">
|
||||
<xsl:if test="DEEL_KEY != $prev_deel or INS_SRTCONTROLE_KEY != $prev_cont">
|
||||
<tr>
|
||||
<td><xsl:value-of select="GEBOUW"/></td>
|
||||
<td><xsl:value-of select="OMSCHRIJVING"/></td>
|
||||
<td><xsl:value-of select="SRTCONTROLE_OMSCHRIJVING"/></td>
|
||||
<td><xsl:value-of select="OBJECT"/></td>
|
||||
<td><xsl:value-of select="TAAK"/></td>
|
||||
<td></td>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_01', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_01', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_02', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_02', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_03', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_03', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_04', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_04', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_05', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_05', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_06', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_06', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_07', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_07', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_08', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_08', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_09', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_09', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_10', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_10', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_11', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_11', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_12', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_12', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">lastyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_01', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_01', '_', $year - 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_02', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_02', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_03', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_03', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_04', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_04', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_05', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_05', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_06', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_06', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_07', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_07', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_08', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_08', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_09', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_09', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_10', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_10', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_11', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_11', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_12', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_12', '_', $year)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">thisyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_01', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_01', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_02', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_02', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_03', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_03', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_04', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_04', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_05', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_05', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_06', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_06', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_07', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_07', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_08', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_08', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_09', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_09', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_10', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_10', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_11', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_11', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_12', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="id"><xsl:value-of select="concat(DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_12', '_', $year + 1)"/></xsl:attribute>
|
||||
<xsl:attribute name="class">nextyear</xsl:attribute>
|
||||
</xsl:element>
|
||||
<td></td>
|
||||
|
||||
Reference in New Issue
Block a user