@@ -5,4 +5,205 @@
|
||||
<!-- 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">
|
||||
<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_name">
|
||||
<xsl:choose>
|
||||
<xsl:when test="plaats/regio/district/locatie/key='1'">Astellas Guest Services Team</xsl:when>
|
||||
<xsl:when test="plaats/regio/district/locatie/key='21'">Guest Services Team 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'">0522235379</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/><b><u>Call Acknowledgement</u></b>
|
||||
<br/><br/>Dear <xsl:value-of select="voor/naam_friendly"/>,
|
||||
<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>
|
||||
<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:when>
|
||||
<xsl:when test="$srtnotificatiecode='MLDAFM'">
|
||||
<br/><b><u>Call Close</u></b>
|
||||
<br/><br/>Dear <xsl:value-of select="voor/naam_friendly"/>,
|
||||
<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:when>
|
||||
<xsl:when test="$srtnotificatiecode='MLDREJ'">
|
||||
<br/><b><u>Call Acknowledgement</u></b>
|
||||
<br/><br/>Dear <xsl:value-of select="voor/naam_friendly"/>,
|
||||
<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:14pt;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><br/><b>Call Overview:</b></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/omschrijving"/>:</b></td>
|
||||
<td><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>
|
||||
<!--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>
|
||||
|
||||
Reference in New Issue
Block a user