requested by MVH svn path=/Website/trunk/; revision=3972
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<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">
|
||||
<xsl:value-of select="substring(translate('$Revision: 5 $', '$ ', ''), 10)"/>
|
||||
<xsl:value-of select="substring(translate('$Revision: 6 $', '$ ', ''), 10)"/>
|
||||
</xsl:variable>
|
||||
|
||||
|
||||
@@ -5082,9 +5082,20 @@ td.labelLeft {
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="rapport">
|
||||
<style>th {
|
||||
border: 1px solid #808080;
|
||||
}</style>
|
||||
<style>
|
||||
th {
|
||||
border: 0px solid #808080;
|
||||
background-color: #333333;
|
||||
color: #ffffff;
|
||||
}
|
||||
td.total {
|
||||
text-align: right;
|
||||
border-top: 1px solid #808080;
|
||||
}
|
||||
td.number {
|
||||
text-align: right;
|
||||
}
|
||||
</style>
|
||||
<xsl:if test="@view='CONN_V_RAP_LOCATIE_VERPL'">
|
||||
<table width="100%" CLASS="DefResultsetTable">
|
||||
|
||||
@@ -5160,8 +5171,205 @@ td.labelLeft {
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:if test="@view='conn_v_rap_locatie_kosten' or @view='CONN_V_RAP_LOCATIE_KOSTEN'">
|
||||
<table width="100%" cellspacing="0px">
|
||||
|
||||
<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="FCLT_F_LOCATIE"/>
|
||||
<xsl:sort select="FCLT_F_DIVISIE"/>
|
||||
<xsl:sort select="FCLT_F_JAAR"/>
|
||||
<xsl:sort select="MAAND"/>
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:for-each select="msxml:node-set($sorted)/data_row">
|
||||
<xsl:variable name="prev_locatie">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1">Quqelequ</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="preceding-sibling::data_row[1]/FCLT_F_LOCATIE"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="prev_divisie">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1">Quqelequ</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="preceding-sibling::data_row[1]/FCLT_F_DIVISIE"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="prev_maand">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1">99</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="preceding-sibling::data_row[1]/MAAND"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:if test="position() = 1">
|
||||
<tr>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Jaar</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Locatie</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Divisie</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Maand</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Huur</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Afschrijving</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Servicekosten</th>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="FCLT_F_JAAR"/>
|
||||
</td>
|
||||
<xsl:element name="td">
|
||||
<xsl:if test="FCLT_F_LOCATIE != $prev_locatie">
|
||||
<xsl:attribute name="style">border-top: 1px solid #000000;</xsl:attribute>
|
||||
<xsl:value-of select="FCLT_F_LOCATIE"/>
|
||||
</xsl:if>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:if test="FCLT_F_DIVISIE != $prev_divisie or FCLT_F_LOCATIE != $prev_locatie">
|
||||
<xsl:attribute name="style">border-top: 1px solid #000000;</xsl:attribute>
|
||||
<xsl:value-of select="FCLT_F_DIVISIE"/>
|
||||
</xsl:if>
|
||||
</xsl:element>
|
||||
|
||||
<xsl:variable name="mystyle">
|
||||
<xsl:if test="$prev_maand = '99'">border-top: 1px solid #000000;</xsl:if>
|
||||
<xsl:if test="MAAND = '99'">border-top: 1px solid #cccccc;</xsl:if>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="style">
|
||||
<xsl:value-of select="$mystyle"/>
|
||||
</xsl:attribute>
|
||||
<xsl:choose>
|
||||
<xsl:when test="MAAND='0'">Budget</xsl:when>
|
||||
<xsl:when test="MAAND='99'">Saldo</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="MAAND"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="style">
|
||||
<xsl:value-of select="$mystyle"/>text-align:right;</xsl:attribute>
|
||||
<xsl:value-of select="format-number(HUUR, '0,00', 'european')"/>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="style">
|
||||
<xsl:value-of select="$mystyle"/>text-align:right;</xsl:attribute>
|
||||
<xsl:value-of select="format-number(AFSCHRIJVING, '0,00', 'european')"/>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="style">
|
||||
<xsl:value-of select="$mystyle"/>text-align:right;</xsl:attribute>
|
||||
<xsl:value-of select="format-number(SERVICEKOSTEN, '0,00', 'european')"/>
|
||||
</xsl:element>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="deel" mode="include">
|
||||
<table border="0" cellpadding="1" width="100%">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$srtnotificatiecode='CUST01'">
|
||||
<tr><td>
|
||||
Dit is een automatische reminder vanuit Facilitor om u te herinneren aan het feit dat 1 of meer objecten onder uw verantwoordelijkheid binnenkort moet(en) worden geinspecteerd (binnen 4-5 weken).
|
||||
Welke objecten dit precies betreft kunt opvragen in Facilitor via het Service-tabblad/Beheer/Keuringen (de gele regels).
|
||||
</td></tr>
|
||||
</xsl:when>
|
||||
<xsl:when test="$srtnotificatiecode='CUST02'">
|
||||
<tr><td>
|
||||
Dit is een automatische reminder vanuit Facilitor om u te wijzen op het feit dat van 1 of meer objecten onder uw verantwoordelijkheid de keuringsdatum is verstreken!
|
||||
Welke objecten dit precies betreft kunt opvragen in Facilitor via het Service-tabblad/Beheer/Keuringen (de rode regels).
|
||||
</td></tr>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<tr>
|
||||
<td colspan="3" class="caption"><strong><xsl:value-of select="srtdeel/omschrijving"/> <xsl:value-of select="omschrijving"/></strong></td>
|
||||
<td style="text-align:right"><xsl:element name="img">
|
||||
<xsl:attribute name="width">140px</xsl:attribute>
|
||||
<xsl:attribute name="src">../../appl/shared/barcode.asp?text=<xsl:value-of select="key"/>&height=50&narrow=1&wide=3</xsl:attribute>
|
||||
</xsl:element>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><xsl:value-of select="//lcl/CNT/groep"/></td>
|
||||
<td class="value"><xsl:value-of select="srtdeel/srtgroep/omschrijving"/></td>
|
||||
<td colspan="2" width="50%"></td>
|
||||
</tr>
|
||||
<xsl:if test="binding='R'">
|
||||
<tr>
|
||||
<td class="label"><xsl:value-of select="//lcl/CNT/plaats"/></td>
|
||||
<td class="value"><xsl:value-of select="plaats/plaatsaanduiding"/> 
|
||||
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="binding='T'">
|
||||
<tr>
|
||||
<td class="label"><xsl:value-of select="//lcl/CNT/plaats"/></td>
|
||||
<td class="value"><xsl:value-of select="terreinsector/naam"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="binding='P'">
|
||||
<tr>
|
||||
<td class="label"><xsl:value-of select="//lcl/CNT/eigenaar"/></td>
|
||||
<td class="value"><xsl:value-of select="persoon/naam_full"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="binding='A'">
|
||||
<tr>
|
||||
<td class="label"><xsl:value-of select="//lcl/CNT/eigenaar"/></td>
|
||||
<td class="value"><xsl:value-of select="afdeling/omschrijving"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="binding='W'">
|
||||
<tr>
|
||||
<td class="label"><xsl:value-of select="//lcl/CNT/plaats"/></td>
|
||||
<td class="value"><xsl:value-of select="werkplek/plaats/plaatsaanduiding"/>/<xsl:value-of select="werkplek/volgnr"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:for-each select="kenmerk">
|
||||
<xsl:sort select="@volgnummer" data-type="number"/>
|
||||
<xsl:if test=".!=''">
|
||||
<tr>
|
||||
<td class="label">
|
||||
<xsl:value-of select="@naam"/>:</td>
|
||||
<td class="value">
|
||||
<xsl:value-of select="."/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<tr><td></td><td colspan="3"><table border="1">
|
||||
<xsl:for-each select="deel">
|
||||
<xsl:apply-templates select="." mode="include"/>
|
||||
</xsl:for-each>
|
||||
</table></td></tr>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:choose>
|
||||
@@ -5180,8 +5388,4 @@ td.labelLeft {
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</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="..\..\..\Temp\CONNopdracht37502.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>
|
||||
-->
|
||||
</xsl:stylesheet>
|
||||
|
||||
Reference in New Issue
Block a user