CSUN#52860 -- Afmeldtijdstip aanpassen in Heyday koppeling.

svn path=/Website/branches/v2017.3/; revision=37550
This commit is contained in:
Arthur Egberink
2018-04-04 15:02:59 +00:00
parent e930e87683
commit 5a6b928b4a

View File

@@ -7,7 +7,7 @@
<xsl:param name="mode"/>
<xsl:param name="srtnotificatiecode"/>
<xsl:variable name="xsrtnotificatiecode">MLDACP</xsl:variable>
<xsl:variable name="xsrtnotificatiecode">MLDAFM</xsl:variable>
<xsl:variable name="Rev">
<!-- Revision van deze yahu2sys.xsl -->
@@ -163,10 +163,20 @@
</xsl:when>
<xsl:when test="$srtnotificatiecode='MLDAFM'">
<xsl:attribute name="type">update</xsl:attribute>
<mut_datum>
<xsl:value-of select="tracking/track[@code='MLDAFM']/datum/jaar"/>-<xsl:value-of select="tracking/track[@code='MLDAFM']/datum/maand"/>-<xsl:value-of select="tracking/track[@code='MLDAFM']/datum/dag"/>
<xsl:text> </xsl:text>
<xsl:value-of select="tracking/track[@code='MLDAFM']/datum/tijd"/>:00</mut_datum>
<xsl:choose>
<xsl:when test="kenmerk[@naam='Correctie afmelddatum']">
<mut_datum>
<xsl:value-of select="concat(substring(kenmerk[@naam='Correctie afmelddatum'], 7,4), '-', substring(kenmerk[@naam='Correctie afmelddatum'], 4,2), '-', substring(kenmerk[@naam='Correctie afmelddatum'], 1,2))"/>
<xsl:text> </xsl:text>
<xsl:value-of select="kenmerk[@naam='Correctie afmeldtijdstip']"/>:00</mut_datum>
</xsl:when>
<xsl:otherwise>
<mut_datum>
<xsl:value-of select="tracking/track[@code='MLDAFM']/datum/jaar"/>-<xsl:value-of select="tracking/track[@code='MLDAFM']/datum/maand"/>-<xsl:value-of select="tracking/track[@code='MLDAFM']/datum/dag"/>
<xsl:text> </xsl:text>
<xsl:value-of select="tracking/track[@code='MLDAFM']/datum/tijd"/>:00</mut_datum>
</xsl:otherwise>
</xsl:choose>
<status>ORDAFM</status>
<xsl:if test="opmerking!=''">
<opmerking>
@@ -282,4 +292,4 @@
<xsl:template match="melder">
</xsl:template>
</xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. -->
</xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2009. Progress Software Corporation. All rights reserved. -->