GRKL#36467 Notificatie naar leidinggevende (+ nog wat)
svn path=/Website/branches/v2016.2/; revision=31828
This commit is contained in:
@@ -1,376 +1,247 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt">
|
||||
<xsl:import href="../../../appl/shared/default.xsl"/>
|
||||
<xsl:variable name="Rev">
|
||||
<!-- Revision van deze cust.xsl -->
|
||||
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="Rev">
|
||||
<!-- Revision van deze cust.xsl -->
|
||||
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="Xsrtnotificatiecode">CUST01</xsl:variable>
|
||||
|
||||
<xsl:variable name="xsrtnotificatiecode">MLDAFM</xsl:variable>
|
||||
<xsl:variable name="FacilitorRoot">grkl.facilitor.nl</xsl:variable>
|
||||
<xsl:variable name="FacilitorRoot">grkl.facilitor.nl</xsl:variable>
|
||||
|
||||
<xsl:template match="melding" mode="include">
|
||||
<xsl:template match="melding" mode="include">
|
||||
<table border="0" width="100%" cellpadding="2">
|
||||
|
||||
<tr>
|
||||
<td colspan='4'>
|
||||
<xsl:if test="$srtnotificatiecode = 'MLDNEW'">
|
||||
<br/><br/>
|
||||
Beste <xsl:value-of select="voor/naam_friendly"/>,<br/><br/>
|
||||
Uw storingsmelding/aanvraag/vraag met nummer: <xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/> is bij de ICT helpdesk ontvangen.<br/>
|
||||
<xsl:choose>
|
||||
<!--Afmelden ICT en Fac.-->
|
||||
<xsl:when test="$srtnotificatiecode='CUST01'">
|
||||
<tr>
|
||||
<td colspan='4'>
|
||||
<br/><br/>Beste <xsl:value-of select="voor/naam_friendly"/>,<br/><br/>
|
||||
Je hebt via het Service Portaal Klimmendaal medewerker <xsl:value-of select="kenmerk[@key='211']"/> uit dienst gemeld.<br/>
|
||||
De afdelingen facilitair en ICT zorgen ervoor dat de werkzaamheden hiervoor worden uitgevoerd.<br/><br/>
|
||||
Wij verzoeken jou de volgende zaken (op de laatste werkdag en indien van toepassing) in te nemen van deze medewerker en in te leveren bij de juiste afdeling(en):<br/><br/>
|
||||
• Sleutels<br/>
|
||||
• Badge<br/>
|
||||
• Kleding/schoenen<br/>
|
||||
• Mobiel/tablet/notebook<br/><br/>
|
||||
Alvast dank voor de medewerking,<br/><br/>
|
||||
Afdeling facilitair en ICT
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<tr>
|
||||
<td colspan='4'>
|
||||
<xsl:if test="$srtnotificatiecode='MLDNEW'">
|
||||
<br/><br/>Beste <xsl:value-of select="voor/naam_friendly"/>,<br/><br/>
|
||||
Uw storingsmelding/aanvraag/vraag met nummer: <xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/> is bij het Service Portaal Klimmendaal ontvangen.<br/>
|
||||
Onze dank hiervoor.<br/><br/>
|
||||
Wij zullen deze zo spoedig mogelijk behandelen.<br/><br/>
|
||||
Via de ICT Service Portaal kunt u deze blijven volgen.<br/><br/>
|
||||
Via het Service Portaal Klimmendaal kunt u deze blijven volgen.<br/><br/>
|
||||
Met vriendelijke groet,<br/>
|
||||
ICT Helpdesk<br/><br/><br/><br/>
|
||||
|
||||
|
||||
Klik <xsl:element name="a">
|
||||
<xsl:attribute name="href">
|
||||
https://<xsl:value-of select="$FacilitorRoot"/>/cust/grkl/saml/?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/>
|
||||
</xsl:attribute>hier</xsl:element> indien u de melding wilt inzien of een notitie (b.v. vragen of opmerkingen) bij deze melding wilt toevoegen.<br/><br/><br/><br/>
|
||||
</xsl:if>
|
||||
<xsl:if test="$srtnotificatiecode = 'MLDAFM'">
|
||||
<br/><br/>
|
||||
Beste <xsl:value-of select="voor/naam_friendly"/>,<br/><br/>
|
||||
Uw storingsmelding/aanvraag/vraag met nummer: <xsl:element name="a">
|
||||
<xsl:attribute name="href">
|
||||
https://<xsl:value-of select="$FacilitorRoot"/>/cust/grkl/saml/?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/>
|
||||
</xsl:attribute><xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/></xsl:element> is beantwoord/opgelost.<br/><br/>
|
||||
Via bovenstaande link kunt u direct naar deze melding/aanvraag toe.<br/><br/><br/>
|
||||
Wij hopen u hiermee van dienst te zijn geweest en dat het naar tevredenheid is uitgevoerd.<br/><br/><br/><br/>
|
||||
Klik <xsl:element name="a"><xsl:attribute name="href">https://<xsl:value-of select="$FacilitorRoot"/>/cust/grkl/saml/?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/></xsl:attribute>hier</xsl:element> indien u de melding wilt inzien of een notitie (b.v. vragen of opmerkingen) bij deze melding wilt toevoegen.<br/><br/><br/><br/>
|
||||
</xsl:if>
|
||||
<xsl:if test="$srtnotificatiecode='MLDAFM'">
|
||||
<br/><br/>Beste <xsl:value-of select="voor/naam_friendly"/>,<br/><br/>
|
||||
Uw storingsmelding/aanvraag/vraag met nummer: <xsl:element name="a"><xsl:attribute name="href">https://<xsl:value-of select="$FacilitorRoot"/>/cust/grkl/saml/?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/></xsl:attribute><xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/></xsl:element> is beantwoord/opgelost.<br/><br/>
|
||||
Via bovenstaande link kunt u direct naar deze melding/aanvraag toe.<br/><br/><br/>
|
||||
Wij hopen u hiermee van dienst te zijn geweest en dat het naar tevredenheid is uitgevoerd.<br/><br/><br/><br/>
|
||||
Met vriendelijke groet,<br/>
|
||||
ICT Helpdesk<br/><br/><br/><br/>
|
||||
|
||||
</xsl:if>
|
||||
<xsl:if test="$srtnotificatiecode = 'MLDNOT'">
|
||||
<br/><br/>
|
||||
Beste <xsl:value-of select="voor/naam_friendly"/>,<br/><br/>
|
||||
</xsl:if>
|
||||
<xsl:if test="$srtnotificatiecode='MLDNOT'">
|
||||
<br/><br/>Beste <xsl:value-of select="voor/naam_friendly"/>,<br/><br/>
|
||||
Wij hebben enige aanvulling nodig op uw storingsmelding/aanvraag/vraag: <xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/>.<br/><br/>
|
||||
<xsl:variable name="sorted">
|
||||
<xsl:for-each select="notes/note">
|
||||
<xsl:variable name="sorted">
|
||||
<xsl:for-each select="notes/note">
|
||||
<xsl:sort select="key" data-type="number" order="descending"/>
|
||||
<xsl:if test="flag = '1'">
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
<table border="0" width="100%" cellpadding="2">
|
||||
<tr>
|
||||
<td colspan="2" style="background-color: rgb(254, 241, 182);">
|
||||
<b>De ICT Helpdesk stelt u de volgende vraag:</b>
|
||||
<br/>
|
||||
<br/>
|
||||
<xsl:for-each select="msxml:node-set($sorted)/note">
|
||||
<xsl:if test="position() = '1'">
|
||||
<i>
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
</i>
|
||||
<xsl:if test="flag='1'"><xsl:copy-of select="."/></xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
<table border="0" width="100%" cellpadding="2">
|
||||
<tr>
|
||||
<td colspan="2" style="background-color: rgb(254, 241, 182);">
|
||||
<b>De ICT Helpdesk stelt u de volgende vraag:</b><br/><br/>
|
||||
<xsl:for-each select="msxml:node-set($sorted)/note">
|
||||
<xsl:if test="position()='1'">
|
||||
<i><xsl:call-template name="linebreaks"><xsl:with-param name="string" select="omschrijving"/></xsl:call-template></i>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<br/>
|
||||
<br/>
|
||||
<b>Klik
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="href">
|
||||
https://<xsl:value-of select="$FacilitorRoot"/>/cust/grkl/saml/?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/>&urole=fe&noteonly=1</xsl:attribute>hier</xsl:element> om via notities een antwoord/feedback te geven aan ICT Helpdesk.</b>
|
||||
<p style="font-size: 7pt"><br/>Instructie:<br/>
|
||||
1. Klik op het groene plusje helemaal rechts. <br/>
|
||||
2. Typ het antwoord in het betreffende veld. <br/>
|
||||
3. Sla op met de knop diskette helemaal rechts, jouw antwoord wordt opgeslagen in Facilitor.</p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<br/>
|
||||
<br/>
|
||||
Alvast onze dank hiervoor.<br/><br/>
|
||||
</xsl:for-each>
|
||||
<br/><br/><b>Klik <xsl:element name="a"><xsl:attribute name="href">https://<xsl:value-of select="$FacilitorRoot"/>/cust/grkl/saml/?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/>&urole=fe&noteonly=1</xsl:attribute>hier</xsl:element> om via notities een antwoord/feedback te geven aan ICT Helpdesk.</b>
|
||||
<p style="font-size: 7pt">
|
||||
<br/>Instructie:<br/>
|
||||
1. Klik op het groene plusje helemaal rechts.<br/>
|
||||
2. Typ het antwoord in het betreffende veld. <br/>
|
||||
3. Sla op met de knop diskette helemaal rechts, jouw antwoord wordt opgeslagen in Facilitor.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<br/><br/>Alvast onze dank hiervoor.<br/><br/>
|
||||
Indien u dit heeft uitgevoerd zullen wij deze weer oppakken.<br/><br/>
|
||||
Met vriendelijke groet,<br/>
|
||||
ICT Helpdesk<br/><br/><br/><br/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:if>
|
||||
<xsl:if test="$srtnotificatiecode='MLDBE2'">
|
||||
U bent behandelaar van deze melding. Klik <xsl:element name="a"><xsl:attribute name="href">https://<xsl:value-of select="$FacilitorRoot"/>/cust/grkl/saml/?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/></xsl:attribute>hier</xsl:element> om antwoord, reactie of opmerkingen bij deze melding te plaatsen.
|
||||
</xsl:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="2">Nadere gegevens over de melding:<br/><br/><br/><br/></td></tr>
|
||||
<tr>
|
||||
<td colspan="2" class="caption" style="padding-top:20px;padding-bottom:20px">
|
||||
<b><xsl:value-of select="//lcl/MLD/melding"/> <xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/></b>
|
||||
</td>
|
||||
<td colspan="2" class="caption" style="padding-top:20px;padding-bottom:20px">
|
||||
<xsl:if test="spoed<3"><b><xsl:value-of select="//lcl/MLD/spoed"/></b></xsl:if>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:if test="not(//opdracht/extra_key) and extra_key">
|
||||
<xsl:variable name="mx_key"><xsl:value-of select="extra_key"/></xsl:variable>
|
||||
<tr>
|
||||
<td style="padding-top:10px;"><b><xsl:value-of select="//lcl/FAC/bericht"/>:</b></td>
|
||||
<td colspan="3" style="padding-top:10px;"><xsl:call-template name="linebreaks"><xsl:with-param name="string" select="notes/note[key=$mx_key]/omschrijving"/></xsl:call-template></td>
|
||||
</tr>
|
||||
<tr><td colspan="4" style="padding-bottom:20px;"><hr/></td></tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td width="16%"><b><xsl:value-of select="//lcl/FAC/aanvrager"/>:</b></td>
|
||||
<td width="34%"><xsl:value-of select="voor/naam_full"/></td>
|
||||
<td width="16%"><b><xsl:value-of select="//lcl/FAC/telefoon"/>:</b></td>
|
||||
<td width="34%"><xsl:if test="voor/telefoonnr=''">-</xsl:if><xsl:value-of select="voor/telefoonnr"/></td>
|
||||
</tr>
|
||||
<xsl:if test="string(voor/naam_full)!=string(voor/naam_full)">
|
||||
<tr>
|
||||
<td width="16%"><b><xsl:value-of select="//lcl/MLD/meldingvoor"/>:</b></td>
|
||||
<td width="34%"><xsl:value-of select="voor/naam_full"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="$srtnotificatiecode = 'MLDBE2'">
|
||||
U bent behandelaar van deze melding. Klik <xsl:element name="a">
|
||||
<xsl:attribute name="href">
|
||||
https://<xsl:value-of select="$FacilitorRoot"/>/cust/grkl/saml/?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/>
|
||||
</xsl:attribute>hier</xsl:element> om antwoord, reactie of opmerkingen bij deze melding te plaatsen.
|
||||
<tr>
|
||||
<td><b><xsl:value-of select="//lcl/FAC/locatie"/>:</b></td>
|
||||
<td><xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/code"/> <xsl:if test="voor/werkplek/plaats/regio/district/locatie/omschrijving!=''">(<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/omschrijving"/>)</xsl:if></td>
|
||||
<td><b><xsl:value-of select="//lcl/FAC/afdeling"/>:</b></td>
|
||||
<td><xsl:value-of select="voor/afdeling/omschrijving"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b><xsl:value-of select="//lcl/FAC/werkplek"/>:</b>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/code"/>-<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/naam"/><br/>
|
||||
<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/code"/>.<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/> 
|
||||
<xsl:if test="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''">(<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if>
|
||||
</td>
|
||||
<td colspan="2"/>
|
||||
</tr>
|
||||
<tr height="40px"><td colspan="4"><hr/></td></tr>
|
||||
<tr>
|
||||
<td><b><xsl:value-of select="//lcl/FAC/locatie"/>:</b></td>
|
||||
<td><xsl:value-of select="plaats/regio/district/locatie/code"/> <xsl:if test="plaats/regio/district/locatie/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/omschrijving"/>)</xsl:if></td>
|
||||
<td><b><xsl:value-of select="//lcl/MLD/status"/>:</b></td>
|
||||
<td><xsl:value-of select="status"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="plaats/@type='T'">
|
||||
<td><b><xsl:value-of select="//lcl/FAC/terrein"/>:</b></td>
|
||||
<td><xsl:value-of select="plaats/regio/district/locatie/terrein/code"/>-<xsl:value-of select="plaats/regio/district/locatie/terrein/naam"/></td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td><b><xsl:value-of select="//lcl/FAC/gebouw"/>:</b></td>
|
||||
<td><xsl:value-of select="plaats/regio/district/locatie/gebouw/code"/>-<xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/></td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<td><b><xsl:value-of select="//lcl/MLD/melddatum"/>:</b></td>
|
||||
<td><xsl:value-of select="gemeld/datum"/> <xsl:value-of select="gemeld/tijd"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:if test="plaats/@type='T' or plaats/@type='G'">
|
||||
<td colspan="2"/>
|
||||
</xsl:if>
|
||||
<xsl:if test="plaats/@type!='T' and plaats/@type!='G'">
|
||||
<td><b><xsl:value-of select="//lcl/FAC/bouwlaag"/>:</b></td>
|
||||
<td><xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/code"/> <xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/omschrijving"/>)</xsl:if></td>
|
||||
</xsl:if>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:if test="plaats/@type='R'">
|
||||
<td><b><xsl:value-of select="//lcl/FAC/ruimte"/>:</b></td>
|
||||
<td><xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/> <xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if></td>
|
||||
</xsl:if>
|
||||
<xsl:if test="plaats/@type!='R'">
|
||||
<td colspan="2"/>
|
||||
</xsl:if>
|
||||
</tr>
|
||||
<xsl:if test="kenmerk[@naam='Ordernr']!=''">
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td><b><xsl:value-of select="//lcl/MLD/ordernr"/>:</b></td>
|
||||
<td><xsl:value-of select="kenmerk[@naam='Ordernr']"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" colspan="2">
|
||||
Nadere gegevens over de melding:<br/><br/><br/><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="caption" style="padding-top:20px;padding-bottom:20px">
|
||||
<b><xsl:value-of select="//lcl/MLD/melding"/> <xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/></b>
|
||||
</td>
|
||||
<td colspan="2" class="caption" style="padding-top:20px;padding-bottom:20px">
|
||||
<xsl:if test="spoed<3">
|
||||
<b><xsl:value-of select="//lcl/MLD/spoed"/></b>
|
||||
</xsl:if>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:if test="not(//opdracht/extra_key) and extra_key">
|
||||
<xsl:variable name="mx_key"><xsl:value-of select="extra_key"/></xsl:variable>
|
||||
<tr>
|
||||
<td align="right" valign="top" style="padding-top:10px;">
|
||||
<b><xsl:value-of select="//lcl/FAC/bericht"/>:</b>
|
||||
</td>
|
||||
<td colspan="3" style="padding-top:10px;">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="notes/note[key=$mx_key]/omschrijving"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4" style="padding-bottom:20px;">
|
||||
<hr/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td align="right" width="16%">
|
||||
<b><xsl:value-of select="//lcl/FAC/aanvrager"/>:</b>
|
||||
</td>
|
||||
<td align="left" width="34%">
|
||||
<xsl:value-of select="voor/naam_full"/>
|
||||
</td>
|
||||
<td align="right" width="16%">
|
||||
<b><xsl:value-of select="//lcl/FAC/telefoon"/>:</b>
|
||||
</td>
|
||||
<td align="left" width="34%">
|
||||
<xsl:if test="voor/telefoonnr=''">-</xsl:if>
|
||||
<xsl:value-of select="voor/telefoonnr"/>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:if test="string(voor/naam_full)!=string(voor/naam_full)">
|
||||
<tr>
|
||||
<td align="right" width="16%"><b><xsl:value-of select="//lcl/MLD/meldingvoor"/>:</b></td>
|
||||
<td align="left" width="34%"><xsl:value-of select="voor/naam_full"/></td>
|
||||
<tr height="30px"><td colspan="4"/></tr>
|
||||
<tr>
|
||||
<td><b><xsl:value-of select="//lcl/MLD/stdmelding"/>:</b></td>
|
||||
<td><xsl:if test="stdmelding/omschrijving=''">-</xsl:if><xsl:value-of select="stdmelding/omschrijving"/></td>
|
||||
<td><b><xsl:value-of select="//lcl/MLD/vakgroep"/>:</b></td>
|
||||
<td><xsl:if test="discipline/omschrijving=''">-</xsl:if><xsl:value-of select="discipline/omschrijving"/></td>
|
||||
</tr>
|
||||
<xsl:comment>als we binnen een opdracht zijn, tonen we de meldingtekst niet</xsl:comment>
|
||||
<tr>
|
||||
<td><b><xsl:value-of select="//lcl/FAC/omschrijving"/>:</b></td>
|
||||
<td colspan="3"><xsl:call-template name="linebreaks"><xsl:with-param name="string" select="omschrijving"/></xsl:call-template></td>
|
||||
</tr>
|
||||
<xsl:for-each select="kenmerk[@type!='L' and @type!='l' and @type!='Q' and count(@xmlnode)=0]">
|
||||
<xsl:sort select="@volgnummer" data-type="number"/>
|
||||
<xsl:if test=".!=''">
|
||||
<tr>
|
||||
<td><b><xsl:value-of select="@naam"/>:</b></td>
|
||||
<td colspan="3"><xsl:value-of select="."/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b><xsl:value-of select="//lcl/FAC/locatie"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/code"/> 
|
||||
<xsl:if test="voor/werkplek/plaats/regio/district/locatie/omschrijving!=''">(<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/omschrijving"/>)</xsl:if>
|
||||
</td>
|
||||
<td align="right" valign="top">
|
||||
<b><xsl:value-of select="//lcl/FAC/afdeling"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="voor/afdeling/omschrijving"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" valign="top">
|
||||
<b><xsl:value-of select="//lcl/FAC/werkplek"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/code"/>-<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/naam"/><br/>
|
||||
<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/code"/>.<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/> 
|
||||
<xsl:if test="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''">(<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if>
|
||||
</td>
|
||||
<td colspan="2"/>
|
||||
</tr>
|
||||
<tr height="40px">
|
||||
<td colspan="4">
|
||||
<hr/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b><xsl:value-of select="//lcl/FAC/locatie"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="plaats/regio/district/locatie/code"/> 
|
||||
<xsl:if test="plaats/regio/district/locatie/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/omschrijving"/>)</xsl:if>
|
||||
</td>
|
||||
<td align="right">
|
||||
<b><xsl:value-of select="//lcl/MLD/status"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="status"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="plaats/@type='T'">
|
||||
<td align="right">
|
||||
<b><xsl:value-of select="//lcl/FAC/terrein"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="plaats/regio/district/locatie/terrein/code"/>-<xsl:value-of select="plaats/regio/district/locatie/terrein/naam"/></td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td align="right">
|
||||
<b><xsl:value-of select="//lcl/FAC/gebouw"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="plaats/regio/district/locatie/gebouw/code"/>-<xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/></td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<td align="right">
|
||||
<b><xsl:value-of select="//lcl/MLD/melddatum"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="gemeld/datum"/> 
|
||||
<xsl:value-of select="gemeld/tijd"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:if test="plaats/@type='T' or plaats/@type='G'">
|
||||
<td colspan="2"/>
|
||||
</xsl:if>
|
||||
<xsl:if test="plaats/@type!='T' and plaats/@type!='G'">
|
||||
<td align="right">
|
||||
<b><xsl:value-of select="//lcl/FAC/bouwlaag"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/code"/> 
|
||||
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/omschrijving"/>)</xsl:if>
|
||||
</td>
|
||||
</xsl:if>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:if test="plaats/@type='R'">
|
||||
<td align="right" valign="top">
|
||||
<b><xsl:value-of select="//lcl/FAC/ruimte"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/> 
|
||||
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if>
|
||||
</td>
|
||||
</xsl:if>
|
||||
<xsl:if test="plaats/@type!='R'">
|
||||
<td colspan="2"/>
|
||||
</xsl:if>
|
||||
</tr>
|
||||
<xsl:if test="kenmerk[@naam='Ordernr']!=''">
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b><xsl:value-of select="//lcl/MLD/ordernr"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="kenmerk[@naam='Ordernr']"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr height="30px">
|
||||
<td colspan="4"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b><xsl:value-of select="//lcl/MLD/stdmelding"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:if test="stdmelding/omschrijving=''">-</xsl:if>
|
||||
<xsl:value-of select="stdmelding/omschrijving"/>
|
||||
</td>
|
||||
<td align="right">
|
||||
<b><xsl:value-of select="//lcl/MLD/vakgroep"/>:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:if test="discipline/omschrijving=''">-</xsl:if>
|
||||
<xsl:value-of select="discipline/omschrijving"/>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:comment>als we binnen een opdracht zijn, tonen we de meldingtekst niet</xsl:comment>
|
||||
<tr>
|
||||
<td align="right" valign="top">
|
||||
<b><xsl:value-of select="//lcl/FAC/omschrijving"/>:</b>
|
||||
</td>
|
||||
<td align="left" colspan="3">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:for-each select="kenmerk[@type!='L' and @type!='l' and @type!='Q' and count(@xmlnode)=0]">
|
||||
<xsl:sort select="@volgnummer" data-type="number"/>
|
||||
<xsl:if test=".!=''">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b>
|
||||
<xsl:value-of select="@naam"/>:</b>
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<xsl:value-of select="."/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:if test="count(deel)>0">
|
||||
<xsl:for-each select="deel">
|
||||
<xsl:sort select="omschrijving"/>
|
||||
<tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1">
|
||||
<td align="right" valign="top">
|
||||
<b><xsl:value-of select="//lcl/MLD/objecten"/>:</b>
|
||||
</xsl:for-each>
|
||||
<xsl:if test="count(deel)>0">
|
||||
<xsl:for-each select="deel">
|
||||
<xsl:sort select="omschrijving"/>
|
||||
<tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1"><td><b><xsl:value-of select="//lcl/MLD/objecten"/>:</b></td></xsl:when>
|
||||
<xsl:otherwise><td/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<td><xsl:value-of select="omschrijving"/></td>
|
||||
<td colspan="2"><xsl:comment>NADER TE DEFINIEREN</xsl:comment></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
<xsl:if test="behandelwijze=2">
|
||||
<xsl:for-each select="notes/note[flag=1]">
|
||||
<xsl:sort select="aanmaak/timestamp" order="ascending"/>
|
||||
<tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1"><td><b><xsl:value-of select="//lcl/MLD/behandeling"/>:</b></td></xsl:when>
|
||||
<xsl:otherwise><td/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<td colspan="3">
|
||||
<span class="mldbeh"><xsl:value-of select="aanmaak/datum"/> <xsl:value-of select="aanmaak/tijd"/> - <xsl:value-of select="noteur/naam_friendly"/></span> 
|
||||
<xsl:call-template name="linebreaks"><xsl:with-param name="string" select="omschrijving"/></xsl:call-template>
|
||||
</td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<td align="left" valign="top">
|
||||
<xsl:value-of select="omschrijving"/>
|
||||
</td>
|
||||
<td colspan="2" valign="top">
|
||||
<xsl:comment>NADER TE DEFINIEREN</xsl:comment>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
<xsl:if test="behandelwijze=2">
|
||||
<xsl:for-each select="notes/note[flag=1]">
|
||||
<xsl:sort select="aanmaak/timestamp" order="ascending"/>
|
||||
<tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() = 1">
|
||||
<td align="right" valign="top">
|
||||
<b><xsl:value-of select="//lcl/MLD/behandeling"/>:</b>
|
||||
</td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<td colspan="3">
|
||||
<span class="mldbeh"><xsl:value-of select="aanmaak/datum"/> <xsl:value-of select="aanmaak/tijd"/> - <xsl:value-of select="noteur/naam_friendly"/></span> 
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
<xsl:if test="opmerking!=''">
|
||||
<tr>
|
||||
<td align="right" valign="top">
|
||||
<b><xsl:value-of select="//lcl/MLD/afhandeling"/>:</b>
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="opmerking"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
<xsl:if test="opmerking!=''">
|
||||
<tr>
|
||||
<td><b><xsl:value-of select="//lcl/MLD/afhandeling"/>:</b></td>
|
||||
<td colspan="3"><xsl:call-template name="linebreaks"><xsl:with-param name="string" select="opmerking"/></xsl:call-template></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user