FCLT#70361: Management rapportage voor periodieke taken.

svn path=/Website/trunk/; revision=58583
This commit is contained in:
Maykel Geerdink
2023-01-09 14:57:54 +00:00
parent dbae73b381
commit 9960186da1
4 changed files with 86 additions and 48 deletions

View File

@@ -3232,7 +3232,14 @@ END:VCALENDAR
</body>
</html>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." mode="default"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="srapport">
<xsl:choose>
<xsl:when test="@view='ctr_v_monthly_recurring_tasks'">
<html>
@@ -3396,149 +3403,149 @@ END:VCALENDAR
<td><xsl:value-of select="OMSCHRIJVING"/></td>
<td><xsl:value-of select="SRTCONTROLE_OMSCHRIJVING"/></td>
<td></td>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_01', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_02', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_03', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_04', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_05', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_06', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_07', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_08', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_09', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_10', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_11', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_12', '_', LASTYEAR)"/></xsl:attribute>
<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="class">lastyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_01', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_02', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_03', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_04', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_05', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_06', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_07', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_08', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_09', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_10', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_11', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_12', '_', THISYEAR)"/></xsl:attribute>
<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="class">thisyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_01', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_02', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_03', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_04', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_05', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_06', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_07', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_08', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_09', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_10', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_11', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat(INS_DEEL_KEY, '_', INS_SRTCONTROLE_KEY, '_12', '_', NEXTYEAR)"/></xsl:attribute>
<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="class">nextyear</xsl:attribute>
</xsl:element>
@@ -3933,7 +3940,7 @@ END:VCALENDAR
<tr>
<td colspan="2">
<xsl:call-template name="linebreaks">
</xsl:call-template>
<xsl:with-param name="string" select="opmerking"/>
</xsl:call-template>
</td>
<td colspan="2">
@@ -4613,6 +4620,7 @@ END:VCALENDAR
<xsl:apply-templates select="opdracht" mode="full"/>
<xsl:apply-templates select="scenario" mode="full"/>
<xsl:apply-templates select="message" mode="full"/>
<xsl:apply-templates select="rapport"/>
<xsl:apply-templates select="srapport"/>
<xsl:apply-templates select="perslid" mode="full"/>
<xsl:apply-templates select="contract" mode="full"/>