GRKL#36467 Rapportage van VIAR naar GRKL
svn path=/Website/branches/v2016.2/; revision=31289
This commit is contained in:
@@ -374,5 +374,120 @@ ICT Helpdesk<br/><br/><br/><br/>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="rapport">
|
||||
<style>
|
||||
th.res {
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
font-family: Arial;
|
||||
font-size: 10pt;
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid #000;
|
||||
border-left-color: #fff;
|
||||
border-right-color: #fff;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
td.res {
|
||||
font-family: Arial;
|
||||
font-size: 10pt;
|
||||
border: none;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
tr.res:nth-child(even) {
|
||||
background-color: #F1F1F1 !important;
|
||||
-webkit-print-color-adjust: exact;
|
||||
}
|
||||
|
||||
.rstable {
|
||||
border-bottom: 1px solid #000;
|
||||
}
|
||||
</style>
|
||||
<xsl:if test="@view='GRKL_V_RES_DAGLIJST'">
|
||||
<html>
|
||||
<body>
|
||||
<xsl:if test="$mode='print'">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:element name="img">
|
||||
<xsl:attribute name="width">60%</xsl:attribute>
|
||||
<xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/banner.png</xsl:attribute>
|
||||
</xsl:element>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="20px"><td/></tr>
|
||||
</table>
|
||||
</xsl:if>
|
||||
<table class="rstable sortable" cellpadding="1">
|
||||
<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_DATUM"/>
|
||||
<xsl:sort select="VAN"/>
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:for-each select="msxml:node-set($sorted)/data_row">
|
||||
<xsl:if test="position()=1">
|
||||
<tr>
|
||||
<th class="res" style="width:7%;text-align:left;">Res.nr</th>
|
||||
<th class="res" style="width:9%;text-align:left;">Ruimte</th>
|
||||
<th class="res" style="width:7%;text-align:center;">Datum</th>
|
||||
<th class="res" style="width:6%;text-align:center;">Van</th>
|
||||
<th class="res" style="width:6%;text-align:center;">Tot</th>
|
||||
<th class="res" style="width:9%;text-align:left;">Activiteit</th>
|
||||
<th class="res" style="width:12%;text-align:left;">Omschrijving</th>
|
||||
<th class="res" style="width:10%;text-align:left;">Gasthr/vr</th>
|
||||
<th class="res" style="width:5%;text-align:center;">#pers</th>
|
||||
<th class="res" style="width:9%;text-align:left;">Opstelling</th>
|
||||
<th class="res" style="width:17%;text-align:left;">Voorziening</th>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr class="res">
|
||||
<td class="res" style="text-align:left;">
|
||||
<xsl:value-of select="RESNR"/>
|
||||
</td>
|
||||
<td class="res" style="text-align:left;">
|
||||
<xsl:value-of select="FCLT_F_RUIMTE"/>
|
||||
</td>
|
||||
<td class="res" style="text-align:center;">
|
||||
<xsl:value-of select="FCLT_F_DATUM"/>
|
||||
</td>
|
||||
<td class="res" style="text-align:center;">
|
||||
<xsl:value-of select="VAN"/>
|
||||
</td>
|
||||
<td class="res" style="text-align:center;">
|
||||
<xsl:value-of select="TOT"/>
|
||||
</td>
|
||||
<td class="res" style="text-align:left;">
|
||||
<xsl:value-of select="ACTIVITEIT"/>
|
||||
</td>
|
||||
<td class="res" style="text-align:left;">
|
||||
<xsl:value-of select="OMSCHRIJVING"/>
|
||||
</td>
|
||||
<td class="res" style="text-align:left;">
|
||||
<xsl:value-of select="GASTHEER_VROUW"/>
|
||||
</td>
|
||||
<td class="res" style="text-align:center;">
|
||||
<xsl:value-of select="AANTAL_PERS"/>
|
||||
</td>
|
||||
<td class="res" style="text-align:left;">
|
||||
<xsl:value-of select="OPSTELLING"/>
|
||||
</td>
|
||||
<td class="res" style="text-align:left;">
|
||||
<xsl:call-template name="linebreaks"><xsl:with-param name="string" select="VOORZIENING"/></xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. -->
|
||||
Reference in New Issue
Block a user