MNNL#52146 CUST03-noti/Jira

svn path=/Website/branches/v2017.2/; revision=36882
This commit is contained in:
Maarten van der Heide
2018-02-07 16:20:51 +00:00
parent 5e8e2bed64
commit d4deb810ab

View File

@@ -6,7 +6,7 @@
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:variable name="Xsrtnotificatiecode">MLDAFM</xsl:variable>
<xsl:variable name="Xsrtnotificatiecode">CUST03</xsl:variable>
<xsl:template match="bestelling" mode="include">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
@@ -1412,6 +1412,18 @@
</xsl:if>
</xsl:for-each>
</xsl:when>
<!-- CUST03 => stdmelding/key=763=Intake business verzoek -->
<xsl:when test="$srtnotificatiecode='CUST03'">
<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="@volgnummer &gt;= '5' and @volgnummer &lt;= '160' and @key!='1012'">
<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:when>
<xsl:otherwise>
<tr>
<td colspan="4" class="caption" style="padding-top:20px;padding-bottom:20px">
@@ -1553,7 +1565,7 @@
</xsl:for-each>
</xsl:if>
<xsl:if test="opmerking!=''">
<xsl:if test="opmerking!='' and $srtnotificatiecode!='CUST03'">
<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>
@@ -1619,14 +1631,11 @@
</xsl:for-each>
</xsl:if>
<!-- aanroep -->
<!--vakgroeptypes: Incident', 'Incident (pilot)', 'Service Request', 'Service Request (LTB) op 'melding'-->
<!--key=21 key=61 key=22 key=101"key=1">-->
<xsl:if test="$srtnotificatiecode = 'MLDAFM' and (discipline/srtdiscipline/key=21 or discipline/srtdiscipline/key=61 or discipline/srtdiscipline/key=22 or discipline/srtdiscipline/key=101 or discipline/srtdiscipline/key=1)">
<tr>
<td colspan="4"><xsl:call-template name="fac_liketab"/></td>
</tr>
</xsl:if>
<!-- fac_liketab -->
<!-- Vakgroeptypes 1=Melding, 21=Service Request, 22=Incident, 61=Service Request (LTB) en 101=Incident (pilot) -->
<xsl:if test="$srtnotificatiecode='MLDAFM' and (discipline/srtdiscipline/key=1 or discipline/srtdiscipline/key=21 or discipline/srtdiscipline/key=22 or discipline/srtdiscipline/key=61 or discipline/srtdiscipline/key=101)">
<tr><td colspan="4"><xsl:call-template name="fac_liketab"/></td></tr>
</xsl:if>
</table>
</xsl:template>
@@ -1651,6 +1660,4 @@
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>