MDUX#54919 Notificaties periodieke taken

svn path=/Website/branches/v2018.2/; revision=40006
This commit is contained in:
Sander Schepers
2018-11-28 14:10:06 +00:00
parent 4ba4f0308d
commit b32a20fad3

View File

@@ -6,7 +6,7 @@
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:variable name="Xsrtnotificatiecode">BESAP1</xsl:variable>
<xsl:variable name="Xsrtnotificatiecode">CUST05</xsl:variable>
<xsl:template name="opdr_endtext">
<tr>
@@ -937,7 +937,6 @@
</xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template match="bestelopdracht" mode="include">
<xsl:variable name="ordernr">
<xsl:choose>
@@ -1421,7 +1420,7 @@
</tr>
<tr>
<td align="right" valign="top">
<b>Opmerking:</b>
<b>Onderwerp:</b>
</td>
<td align="left" colspan="3">
<xsl:call-template name="linebreaks">
@@ -1895,7 +1894,152 @@
</html>
</xsl:when>
<xsl:otherwise>
<xsl:when test="$srtnotificatiecode = 'CUST04'">
<html>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<!-- <xsl:if test="@view = 'MDUX_V_RAP_TAKEN_INTERN'"> -->
<table width="100%" CLASS='DefResultsetTable'>
<tr>
<td colspan = "4">
<br/>
Beste <xsl:value-of select="rapport_data/data_row/OBJBEHOMS"/>,<br/><br/>
De leverancier zal binnenkort contact met je opnemen om een <b>afspraak</b> in te plannen voor: onderstaande geplande taken van <i><xsl:value-of select="rapport_data/data_row/SDOMS"/></i>.<br/><br/>
Indien er meer dan één <i><xsl:value-of select="rapport_data/data_row/SDOMS"/></i> aanwezig is op jouw locatie, verzoeken wij je om te zorgen dat deze allemaal worden meegenomen.<br/><br/>
</td>
</tr>
<xsl:if test=" count(rapport_data/data_row) = 0">
<tr><td>
<center><b>Geen gegevens gevonden</b></center>
</td></tr>
</xsl:if>
<tr>
<td>
<table width="98%">
<xsl:variable name="sortedall">
<xsl:for-each select="rapport_data/data_row">
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:variable>
<tr>
<th width="15%" style="text-align:left">Omschrijving</th>
<th width="15%" style="text-align:left">Objectidentificatie</th>
<th width="15%" style="text-align:left">Locatie</th>
<th width="15%" style="text-align:left">Vestigingsmanager</th>
<th width="15%" style="text-align:left">Leverancier</th>
<th width="10%" style="text-align:left">Datum</th>
<th width="15%" style="text-align:left">Taak</th>
</tr>
<xsl:for-each select="rapport_data/data_row">
<xsl:sort order="descending" select="CPLAND"/>
<tr>
<td width="15%"><xsl:value-of select="SDOMS"/></td>
<td width="15%"><xsl:value-of select="DOMS"/></td>
<td width="15%"><xsl:value-of select="LOCOMS"/></td>
<td width="15%"><xsl:value-of select="OBJBEHOMS"/></td>
<td width="15%"><xsl:value-of select="LEVOMS"/></td>
<td width="10%"><xsl:value-of select="substring(CPLAND, 1, string-length(CPLAND) - 9)"/></td>
<td width="15%"><xsl:value-of select="SCOMS"/></td>
</tr>
</xsl:for-each>
</table>
</td>
</tr>
<tr>
<td>
<br/><br/>
Indien de leverancier <b>voor</b> het verstrijken van de datum van deze taken <b>geen afspraak</b> heeft gemaakt, horen wij dit graag via: facilitair@medux.nl. <br/><br/>
Hopende je voldoende te hebben geïnformeerd. <br/><br/><br/><br/>
Met vriendelijke groet,<br/><br/>
Afdeling Facilitaire Zaken<br/><br/><br/><br/>
<i>Dit is een geautomatiseerd bericht.</i>
</td>
</tr>
<tr height="20px">
<td colspan="6"/>
</tr>
</table>
</xsl:element>
</html>
</xsl:when>
<xsl:when test="$srtnotificatiecode = 'CUST05'">
<html>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<table width="100%" CLASS='DefResultsetTable'>
<xsl:if test=" count(rapport_data/data_row) = 0">
<tr><td>
<center><b>Geen gegevens gevonden</b></center>
</td></tr>
</xsl:if>
<tr>
<td colspan = "4">
<br/>
Beste <xsl:value-of select="rapport_data/data_row/LEVOMS"/>,<br/><br/>
Hierbij het verzoek voor het inplannen van onderstaande taak of taken van <i><xsl:value-of select="rapport_data/data_row/SDOMS"/></i> op bovengenoemde locatie.<br/><br/>
Indien er meer dan één <i><xsl:value-of select="rapport_data/data_row/SDOMS"/></i> aanwezig is op deze locatie, verzoeken wij u deze <b>allemaal</b> mee te nemen.<br/><br/>
De vestigingsmanager is op de hoogte dat jullie een afspraak met hen gaan inplannen.<br/><br/>
</td>
</tr>
<xsl:if test=" count(rapport_data/data_row) = 0">
<tr><td>
<center><b>Geen gegevens gevonden</b></center>
</td></tr>
</xsl:if>
<tr>
<td>
<table width="98%">
<xsl:variable name="sortedall">
<xsl:for-each select="rapport_data/data_row">
<xsl:sort select="CPLAND" order="descending"/>
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:variable>
<tr>
<th width="15%" style="text-align:left">Omschrijving</th>
<th width="15%" style="text-align:left">Objectidentificatie</th>
<th width="15%" style="text-align:left">Locatie</th>
<th width="15%" style="text-align:left">Vestigingsmanager</th>
<th width="15%" style="text-align:left">Leverancier</th>
<th width="10%" style="text-align:left">Datum</th>
<th width="15%" style="text-align:left">Taak</th>
</tr>
<xsl:for-each select="rapport_data/data_row">
<xsl:sort order="descending" select="CPLAND"/>
<tr>
<td width="15%"><xsl:value-of select="SDOMS"/></td>
<td width="15%"><xsl:value-of select="DOMS"/></td>
<td width="15%"><xsl:value-of select="LOCOMS"/></td>
<td width="15%"><xsl:value-of select="OBJBEHOMS"/></td>
<td width="15%"><xsl:value-of select="LEVOMS"/></td>
<td width="10%"><xsl:value-of select="substring(CPLAND, 1, string-length(CPLAND) - 9)"/></td>
<td width="15%"><xsl:value-of select="SCOMS"/></td>
</tr>
</xsl:for-each>
</table>
</td>
</tr>
<tr>
<td>
<br/><br/>
Zoals afgesproken ontvangen wij graag na het uitvoeren, de <b>rapport(en)</b> via facilitair@medux.nl.<br/><br/>
Hopende je voldoende te hebben geïnformeerd. <br/><br/><br/><br/>
Met vriendelijke groet,<br/><br/>
Afdeling Facilitaire Zaken<br/><br/><br/><br/>
<i>Dit is een geautomatiseerd bericht.</i>
</td>
</tr>
<tr height="20px">
<td colspan="6"/>
</tr>
</table>
</xsl:element>
</html>
</xsl:when>
<xsl:otherwise>
<html>
<xsl:if test="$srtnotificatiecode = 'CUST01'">
<!-- <xsl:if test="@view = 'MDUX_V_RAP_BES_OPEN_LEV'"> -->
@@ -1921,13 +2065,13 @@
</tr>
<tr>
<td>
<table width="98%">
<xsl:variable name="sortedall">
<xsl:for-each select="rapport_data/data_row">
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:variable>
<table width="98%">
<xsl:variable name="sortedall">
<xsl:for-each select="rapport_data/data_row">
<xsl:sort select="CPLAND" order="descending"/>
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:variable>
<tr>
<th width="20%" style="text-align:left">Ordernummer</th>
<th width="20%" style="text-align:left">Besteller</th>
@@ -2074,7 +2218,7 @@
<metaInformation>
<scenarios>
<scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\TEMP\MDUX_files\melding3376_20180910163302_263.xml" htmlbaseurl="" outputurl="" processortype="saxon8" useresolver="yes" profilemode="0"
<scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\TEMP\MDUX_files\rapport561_20181122122141_749.xml" htmlbaseurl="" outputurl="" processortype="saxon8" useresolver="yes" profilemode="0"
profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no"
validator="internal" customvalidator="">
<advancedProp name="bSchemaAware" value="true"/>
@@ -2095,8 +2239,13 @@
</scenario>
</scenarios>
<MapperMetaTag>
<MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/>
<MapperBlockPosition></MapperBlockPosition>
<MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no">
<SourceSchema srcSchemaPath="..\..\..\TEMP\MDUX_files\rapport561_20181122122141_749.xml" srcSchemaRoot="facilitor" AssociatedInstance="" loaderFunction="document" loaderFunctionUsesURI="no"/>
</MapperInfo>
<MapperBlockPosition>
<template name="opdr_endtext"></template>
<template match="rapport"></template>
</MapperBlockPosition>
<TemplateContext></TemplateContext>
<MapperFilter side="source"></MapperFilter>
</MapperMetaTag>