LOGC#57657 -- Kwartaal rapportage met lopende zaken van dat kwartaal beschikbaar voor klanten
svn path=/Website/branches/v2019.1/; revision=43413
This commit is contained in:
@@ -5,4 +5,302 @@
|
||||
<!-- Revision van deze cust.xsl -->
|
||||
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:template name="stylesheet">
|
||||
<style>body {
|
||||
font-family: Verdana;
|
||||
background-color: rgb(255, 255, 255);
|
||||
margin-left:8px;
|
||||
margin-top:8px;
|
||||
cursor: auto;
|
||||
color: #000;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
table {
|
||||
border: 0;
|
||||
border-collapse: collapse;
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
table.details {
|
||||
background-color: #31398C;
|
||||
}
|
||||
|
||||
th {
|
||||
font-family: Verdana;
|
||||
font-size: 9pt;
|
||||
font-weight: normal;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
background-color: #31398C;
|
||||
}
|
||||
|
||||
th.resth, th.besth {
|
||||
font-family: Verdana;
|
||||
font-size: 9pt;
|
||||
font-weight: normal;
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
td, p {
|
||||
font-family: Verdana;
|
||||
font-style: normal;
|
||||
font-size: 8pt;
|
||||
font-weight: normal;
|
||||
color: #000000;
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
td.result {
|
||||
text-decoration: none;
|
||||
padding-bottom: 2px;
|
||||
padding-top: 2px;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
background-color: #D6D8E8;
|
||||
}
|
||||
|
||||
td.resresult, td.besresult {
|
||||
text-decoration: none;
|
||||
padding-bottom: 2px;
|
||||
padding-top: 2px;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
td.sec_heading {
|
||||
font-size: 9pt;
|
||||
text-decoration: none;
|
||||
padding-bottom: 2px;
|
||||
padding-top: 2px;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
text-align: left;
|
||||
background-color: #d0d0d0;
|
||||
}
|
||||
|
||||
td.caption {
|
||||
font-size: 18pt;
|
||||
padding-bottom: 30px;
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
td.subcaption {
|
||||
font-size: 10pt;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
td.label {
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
td.value {
|
||||
font-style: italic;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
td.tekst {
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
td.nowrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
td.adres {
|
||||
font-size: 8pt;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
td.tekstkop {
|
||||
font-weight: bold;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
td.tiny {
|
||||
font-size: 6pt;
|
||||
text-align: right;
|
||||
}
|
||||
.fatal {
|
||||
background-color: red;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
}
|
||||
pre, xmp, code {
|
||||
font-style: normal;
|
||||
white-space: pre;
|
||||
display:block;
|
||||
}
|
||||
.mldbeh {color: #666;}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #6685AE;
|
||||
}
|
||||
a:hover{text-decoration: underline;}
|
||||
hr {color: #6685AE;}
|
||||
</style>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<xsl:template match="rapport" mode="default">
|
||||
<html>
|
||||
<xsl:call-template name="htmlhead"/>
|
||||
|
||||
<xsl:if test="@view='logc_v_rap_klantoverzicht_mld' or @view='LOGC_V_RAP_KLANTOVERZICHT_MLD'">
|
||||
<table style="width:100%;border-collapse:collapse;" cellpadding="0" cellspacing="0">
|
||||
|
||||
<!-- <xsl:if test="$srtnotificatiecode='CUST01'">
|
||||
<tr>
|
||||
<td class="tekst" style="vertical-align:center;">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$mode='email'"><img src="cid:tmpl_logo.gif"/></xsl:when>
|
||||
<xsl:otherwise><xsl:element name="img"><xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/tmpl_logo.gif</xsl:attribute></xsl:element></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if> -->
|
||||
|
||||
<xsl:if test="$srtnotificatiecode='CUST01'">
|
||||
<tr>
|
||||
<td class="tekst" style="vertical-align:left;">
|
||||
Beste relatie, <br/><br/>
|
||||
Hierbij ontvangt je het standaard kwartaaloverzicht met alle lopende zaken die in ons Logcenter onder jullie hoofdaccount zijn geregistreerd. <br/> <br/>
|
||||
|
||||
<i>
|
||||
Ps1. Mocht je dit kwartaaloverzicht niet meer willen ontvangen dan kun je dit in de eigen Facilitor-persoonsgegevens uitvinken.<br/>
|
||||
Ps2. Uiteraard kan dit overzicht ook instant vanuit Facilitor opgevraagd worden. Het rapport staat op de persoonlijke startpagina. <br/> <br/>
|
||||
</i>
|
||||
Met vriendelijke groet,<br/>
|
||||
<font color="#003478">Aareon</font> - <b> Unit Facilitor </b><br/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="count(rapport_data/data_row)=0">
|
||||
<tr><td class="tekst"><center><br/><b>Geen gegevens gevonden</b></center></td></tr>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
||||
<xsl:variable name="group">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<!--<xsl:sort select="number(KOPTEKST)" order="ascending" data-type="number"/>-->
|
||||
<xsl:sort select="KOPTEKST" order="ascending"/>
|
||||
<xsl:sort select="MELDING_KEY" order="descending"/>
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
|
||||
<body>
|
||||
<table width="100%" class="DefResultsetTable" cellpadding="2" cellspacing="0" border="1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:4%;text-align: left;">Meldingsnr.</th>
|
||||
<th style="width:4%;text-align: left;">Aanvrager</th>
|
||||
<th style="width:4%;text-align: left;">Datum</th>
|
||||
<th style="width:4%;text-align: left;">Onderwerp</th>
|
||||
<th style="width:25%;text-align: left;">Omschrijving</th>
|
||||
<th style="width:4%;text-align: left;">Soort melding</th>
|
||||
<th style="width:4%;text-align: left;">Huidige status</th>
|
||||
<th style="width:4%;text-align: left;">Actiestatus</th>
|
||||
<th style="width:4%;text-align: left;">Aanspreekpunt Facilitor</th>
|
||||
<th style="width:4%;text-align: left;">Streefdatum gereed</th>
|
||||
<th style="width:4%;text-align: left;">Datum afgemeld</th>
|
||||
<th style="width:4%;text-align: left;">Doorlooptijd (werkdagen)</th>
|
||||
<th style="width:4%;text-align: left;">Klantreferentie</th>
|
||||
<th style="width:4%;text-align: left;">Laatste actiedatum</th>
|
||||
<th style="width:20%;text-align: left;">Laatste notitie</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<xsl:for-each select="msxml:node-set($group)/data_row">
|
||||
<xsl:variable name="prev_group">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1">99</xsl:when>
|
||||
<xsl:otherwise><xsl:value-of select="preceding-sibling::data_row[1]/KOPTEKST"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="this_group">
|
||||
<xsl:value-of select="KOPTEKST"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:if test="$this_group='0' and $prev_group='99'">
|
||||
<tr style="background-color:#D6D8E8">
|
||||
<td colspan="15" style="text-align: center;"><b><font size="2pt">Alle meldingen dit kwartaal ingediend</font></b></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="$this_group='1' and ($prev_group='99' or $prev_group='0')">
|
||||
<tr style="background-color:#D6D8E8">
|
||||
<td colspan="15" style="text-align: center;"><b><font size="2pt">Alle meldingen afgelopen kwartaal ingediend en/of afgemeld</font></b></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="$this_group='3' and ($prev_group='2' or $prev_group='1' or $prev_group='99' or $prev_group='0')">
|
||||
<tr style="background-color:#D6D8E8">
|
||||
<td colspan="15" style="text-align: center;"><b><font size="2pt">Alle meldingen ouder dan afgelopen kwartaal en nog lopend</font></b></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
|
||||
<tr>
|
||||
<td class="nowrap"><xsl:value-of select="KLANTCODE_MELDING"/>#<xsl:value-of select="MELDING_NR"/></td>
|
||||
<td><xsl:value-of select="AANVRAGER"/></td>
|
||||
<td class="nowrap"><xsl:value-of select="MELDING_DATUM_TEKST"/></td>
|
||||
<td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="GEKOPPELD_AAN!=''"><xsl:value-of select="ONDERWERP"/><br/><b><xsl:value-of select="GEKOPPELD_AAN"/></b></xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="ONDERWERP"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:call-template name="linebreaks"><xsl:with-param name="string" select="OMSCHRIJVING"/></xsl:call-template>
|
||||
</td>
|
||||
<td><xsl:value-of select="SOORT_MELDING"/></td>
|
||||
<td class="nowrap"><xsl:value-of select="HUIDIGE_STATUS"/></td>
|
||||
<td><xsl:value-of select="ACTIE_STATUS"/></td>
|
||||
<td><xsl:value-of select="AANSPREEKPUNT_FACILITOR"/></td>
|
||||
<td class="nowrap"><xsl:value-of select="STREEFDATUM_GEREED"/></td>
|
||||
<td class="nowrap"><xsl:value-of select="DATUM_AFGEMELD"/></td>
|
||||
<td style="text-align: right;"><xsl:value-of select="DOORLOOPTIJD_WERKDAGEN"/></td>
|
||||
<td class="nowrap"><xsl:value-of select="KLANTREFERENTIE"/></td>
|
||||
<td class="nowrap"><xsl:value-of select="LAATSTE_ACTIEDATUM"/></td>
|
||||
<td>
|
||||
<xsl:call-template name="linebreaks"><xsl:with-param name="string" select="LAATSTE_NOTITIE"/></xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</xsl:for-each>
|
||||
|
||||
</tbody>
|
||||
<tfoot>
|
||||
</tfoot>
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
</table>
|
||||
</xsl:if>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
||||
Reference in New Issue
Block a user