@@ -3,7 +3,7 @@
|
||||
<xsl:import href="../../../appl/shared/default.xsl"/>
|
||||
<xsl:variable name="Rev">
|
||||
<!-- Revision van deze cust.xsl -->
|
||||
<xsl:value-of select="substring(translate('$Revision: 4 $', '$ ', ''), 10)"/>
|
||||
<xsl:value-of select="substring(translate('$Revision: 5 $', '$ ', ''), 10)"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:template match="rapport">
|
||||
@@ -526,9 +526,81 @@
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="@view='bofo.rap_verlof_overzicht'">
|
||||
<table class="rstable" cellpadding="0" cellspacing="0">
|
||||
<xsl:if test="count(rapport_data/data_row)=0">
|
||||
<tr>
|
||||
<td>
|
||||
<center>
|
||||
<b>Geen gegevens gevonden</b>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:variable name="sorted">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:sort select="NAAM"/>
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:for-each select="msxml:node-set($sorted)/data_row">
|
||||
<xsl:if test="position() = 1">
|
||||
<thead>
|
||||
<tr>
|
||||
<xsl:for-each select="*">
|
||||
<xsl:choose>
|
||||
<xsl:when test="name()='NAAM'">
|
||||
<th>Naam</th>
|
||||
</xsl:when>
|
||||
<xsl:when test="substring(node(),1,1)=1">
|
||||
<th colspan="7">
|
||||
<xsl:value-of select="substring(name(),4,2)"/>/<xsl:value-of select="substring(name(),2,2)"/></th>
|
||||
</xsl:when>
|
||||
<xsl:when test="position() = 2">
|
||||
<xsl:element name="th">
|
||||
<xsl:attribute name="colspan">
|
||||
<xsl:value-of select="8-substring(node(),1,1)"/>
|
||||
</xsl:attribute>
|
||||
</xsl:element>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</thead>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<tbody>
|
||||
<xsl:for-each select="msxml:node-set($sorted)/data_row">
|
||||
<xsl:element name="tr">
|
||||
<xsl:for-each select="*">
|
||||
<xsl:element name="td">
|
||||
<xsl:choose>
|
||||
<xsl:when test="name()='NAAM'">
|
||||
<xsl:value-of select="node()"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="substring(node(),1,1)=1 or substring(node(),1,1)=7">
|
||||
<xsl:attribute name="style">{ background-color: #888888; }</xsl:attribute>
|
||||
</xsl:when>
|
||||
<xsl:when test="substring(node(),3)='goedgekeurd'">
|
||||
<xsl:attribute name="style">{ background-color: #ff0000; }</xsl:attribute>
|
||||
</xsl:when>
|
||||
<xsl:when test="substring(node(),3)='aangevraagd'">
|
||||
<xsl:attribute name="style">{ background-color: #ffff00; }</xsl:attribute>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:element>
|
||||
</xsl:for-each>
|
||||
</xsl:element>
|
||||
|
||||
</xsl:for-each>
|
||||
</tbody>
|
||||
</table>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2006. Progress Software Corporation. All rights reserved.
|
||||
<metaInformation>
|
||||
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\reportsCache\BOFOrapport102.xml" htmlbaseurl="" outputurl="" processortype="internal" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
|
||||
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\Temp\BOFOrapport182.xml" htmlbaseurl="" outputurl="" processortype="internal" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
|
||||
</metaInformation>
|
||||
-->
|
||||
Reference in New Issue
Block a user