ASTE#35775: Aanpassingen mldbon ASTE#35779: Aanpassingen mldbon ASTE#35900: handtekening Leiden svn path=/Website/branches/v2015.3/; revision=28610
252 lines
13 KiB
XML
252 lines
13 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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="Xsrtnotificatiecode">RESBEV</xsl:variable>
|
|
|
|
<xsl:template name="pageheader">
|
|
<table border="0" width="100%">
|
|
<tr>
|
|
<td width="33%" style="text-align:left;">
|
|
<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>
|
|
<td width="34%"/>
|
|
<td/>
|
|
</tr>
|
|
</table>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="melding" mode="include">
|
|
<style>
|
|
td, p {
|
|
font-size: 10pt;
|
|
}
|
|
</style>
|
|
<xsl:variable name="slatijd">
|
|
<xsl:choose>
|
|
<xsl:when test="uitvoertijd[@eenheid='U']"><xsl:value-of select="uitvoertijd"/> <xsl:value-of select="//lcl/MLD/uren"/></xsl:when>
|
|
<xsl:otherwise><xsl:value-of select="uitvoertijd"/> <xsl:value-of select="//lcl/FAC/dagen"/></xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:variable>
|
|
<xsl:variable name="team_naam">
|
|
<xsl:choose>
|
|
<xsl:when test="plaats/regio/district/locatie/key='1'">Facility department Meppel</xsl:when>
|
|
<xsl:when test="plaats/regio/district/locatie/key='21'">Service desk Mirai House</xsl:when>
|
|
<xsl:when test="plaats/regio/district/locatie/key='22'">Astellas Guest Services Team</xsl:when>
|
|
<xsl:otherwise></xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:variable>
|
|
<xsl:variable name="team_email">
|
|
<xsl:choose>
|
|
<xsl:when test="plaats/regio/district/locatie/key='1'"><a href="mailto:Facility@astellas.com">Facility@astellas.com</a></xsl:when>
|
|
<xsl:when test="plaats/regio/district/locatie/key='21'"><a href="mailto:Servicedesk.miraihouse@astellas.com">Servicedesk.miraihouse@astellas.com</a></xsl:when>
|
|
<xsl:when test="plaats/regio/district/locatie/key='22'"><a href="mailto:HW.Guestservices@astellas.com">HW.Guestservices@astellas.com</a></xsl:when>
|
|
<xsl:otherwise></xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:variable>
|
|
<xsl:variable name="team_tel">
|
|
<!--xsl:value-of select="plaats/regio/district/locatie/verantw_tel"/-->
|
|
<xsl:choose>
|
|
<xsl:when test="plaats/regio/district/locatie/key='1'">0522-235016</xsl:when>
|
|
<xsl:when test="plaats/regio/district/locatie/key='21'">071 545 5050</xsl:when>
|
|
<xsl:when test="plaats/regio/district/locatie/key='22'">0203 379 8485</xsl:when>
|
|
<xsl:otherwise></xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:variable>
|
|
<table border="0" width="100%">
|
|
<tr>
|
|
<td colspan="4">
|
|
<xsl:choose>
|
|
<xsl:when test="$srtnotificatiecode='MLDNEW'">
|
|
<br/><br/>Dear <xsl:value-of select="voor/voornaam"/>,
|
|
<xsl:choose>
|
|
<xsl:when test="discipline/srtdiscipline/key='5' or discipline/srtdiscipline/key='41' or discipline/srtdiscipline/key='42'">
|
|
<br/><br/>We would like to thank you for your compliment which is much appreciated.
|
|
Your kind words have been shared with other members of the Facilities team and we also use your feedback to improve our service delivery to you.
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<xsl:choose>
|
|
<xsl:when test="//language='NL'"><br/><br/>Wij danken u voor het voor het maken van de melding bij Facility departement Meppel. Wij nemen de melding in behandeling en informeren
|
|
U over de voortgang en gereed melding. Wanneer u in de tussentijd onze hulp nodig heeft, neemt u alstublieft contact op met Facility departement Meppel en gebruik als referentie het meldingsnummer. </xsl:when>
|
|
<xsl:otherwise>
|
|
<br/><br/>Thank you for your call which has now been allocated to a member of the Facilities team to solve.
|
|
We will inform you once your call has been completed.
|
|
In the meantime if you require any further assistance please contact the Guest Services Team providing the Call ID number given below.
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:when>
|
|
<xsl:when test="$srtnotificatiecode='MLDAFM'">
|
|
<xsl:choose>
|
|
<xsl:when test="//language='NL'"><br/><br/>Beste <xsl:value-of select="voor/voornaam"/>,
|
|
<br/><br/>Wij zijn blij u mede te delen dat de melding is afgesloten. Wij hopen dat de oplossing voor deze melding binnen uw verwachtingen passen.
|
|
Mocht het niet naar tevredenheid zijn uitgevoerd neemt u alstublieft contact op met de Facility departement Meppel en gebruik,
|
|
als referentie het meldingsnummer.
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<br/><br/>Dear <xsl:value-of select="voor/voornaam"/>,
|
|
<br/><br/>We are happy to inform you that your call as detailed below has been resolved.
|
|
We hope that this resolution has met your expectations, however please contact the Guest Services Team if you require further assistance.
|
|
Please provide your Call ID number given below and we will be more than happy to help.
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:when>
|
|
<xsl:when test="$srtnotificatiecode='MLDREJ'">
|
|
<br/><br/>Dear <xsl:value-of select="voor/voornaam"/>,
|
|
<br/><br/>We are sorry to inform you that your call as detailed below cannot be resolved by the Guest Services Team.
|
|
</xsl:when>
|
|
<xsl:otherwise/>
|
|
</xsl:choose>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4" style="font-size:16pt;padding-top:20px;padding-bottom:20px;">
|
|
<b><xsl:value-of select="//lcl/MLD/melding"/> <xsl:value-of select="key"/><xsl:if test="spoed<3"> (<xsl:value-of select="//lcl/MLD/spoed"/>)</xsl:if></b>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="18%"><b><xsl:value-of select="//lcl/FAC/aanvrager"/>:</b></td>
|
|
<td width="32%"><xsl:value-of select="voor/naam_friendly"/> </td>
|
|
<td width="18%"><b><xsl:value-of select="//lcl/FAC/telefoon"/>:</b></td>
|
|
<td width="32%"><xsl:choose><xsl:when test="voor/telefoonnr!=''"><xsl:value-of select="voor/telefoonnr"/></xsl:when><xsl:otherwise><xsl:value-of select="voor/mobiel"/></xsl:otherwise></xsl:choose></td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><xsl:value-of select="//lcl/FAC/locatie"/>:</b></td>
|
|
<td><xsl:value-of select="plaats/regio/district/locatie/omschrijving"/></td>
|
|
<td><b><xsl:value-of select="//lcl/FAC/afdeling"/>:</b></td>
|
|
<td><xsl:value-of select="voor/afdeling/omschrijving"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td><br/><b><xsl:value-of select="//lcl/MLD/melddatum"/>:</b></td>
|
|
<td><br/><xsl:value-of select="gemeld/datum"/> <xsl:value-of select="gemeld/tijd"/></td>
|
|
<td><br/><b><xsl:value-of select="//lcl/MLD/status"/>:</b></td>
|
|
<td><br/><xsl:value-of select="status"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td><br/><b><xsl:value-of select="//lcl/FAC/locatie"/>:</b></td>
|
|
<td><br/><xsl:value-of select="plaats/regio/district/locatie/omschrijving"/></td>
|
|
<td>
|
|
<xsl:choose>
|
|
<xsl:when test="//language='NL'">
|
|
<br/><b>Soort melding:</b>
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<br/><b>Call Overview:</b>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</td>
|
|
<td><br/><xsl:value-of select="substring-before(discipline/omschrijving, ' ')"/></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/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/naam"/></td>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
<td><b><xsl:value-of select="//lcl/MLD/vakgroep"/>:</b></td>
|
|
<td><xsl:value-of select="discipline/omschrijving"/></td>
|
|
</tr>
|
|
<tr>
|
|
<xsl:choose>
|
|
<xsl:when test="plaats/regio/district/locatie/gebouw/verdieping!=''">
|
|
<td><b><xsl:value-of select="//lcl/FAC/bouwlaag"/>:</b></td>
|
|
<td><xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/code"/></td>
|
|
</xsl:when>
|
|
<xsl:otherwise><td colspan="2"/></xsl:otherwise>
|
|
</xsl:choose>
|
|
<td><b><xsl:value-of select="//lcl/MLD/stdmelding"/>:</b></td>
|
|
<td><xsl:value-of select="stdmelding/omschrijving"/></td>
|
|
</tr>
|
|
<tr>
|
|
<xsl:choose>
|
|
<xsl:when test="plaats/regio/district/locatie/gebouw/verdieping/ruimte!=''">
|
|
<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:when>
|
|
<xsl:otherwise><td colspan="2"/></xsl:otherwise>
|
|
</xsl:choose>
|
|
<td><b><xsl:value-of select="//lcl/FAC/behandelaar"/>:</b></td>
|
|
<td><xsl:value-of select="behandelaar/naam_friendly"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td><br/><br/>
|
|
</td>
|
|
</tr>
|
|
<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>
|
|
</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 colspan="3"><xsl:value-of select="omschrijving"/></td>
|
|
</tr>
|
|
</xsl:for-each>
|
|
</xsl:if>
|
|
<tr>
|
|
<td><br/><br/>
|
|
</td>
|
|
</tr>
|
|
<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>
|
|
<tr>
|
|
<td colspan="4">
|
|
<xsl:choose>
|
|
<xsl:when test="$srtnotificatiecode='MLDNEW' or $srtnotificatiecode='MLDAFM' or $srtnotificatiecode='MLDREJ'">
|
|
<br/><br/>With kind regards,
|
|
<br/><br/><b><xsl:value-of select="$team_naam"/></b>
|
|
<br/><br/>Email: <xsl:value-of select="$team_email"/>
|
|
<br/>Tel: <xsl:value-of select="$team_tel"/>
|
|
</xsl:when>
|
|
<xsl:otherwise/>
|
|
</xsl:choose>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|
|
<!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved.
|
|
<metaInformation>
|
|
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\TEMP\ASTE_files\melding14_20160322160741.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>
|
|
--> |