ALLI#41752 outlook reservering - kenteken in titel

svn path=/Website/branches/v2017.2/; revision=35666
This commit is contained in:
Dennis Hartmann
2017-10-12 13:12:11 +00:00
parent d0e8b83407
commit 2bfc7fefb0

View File

@@ -7,6 +7,34 @@
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/> <xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable> </xsl:variable>
<xsl:template match="reservering" mode="outlook">
BEGIN:VCALENDAR
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
UID:FCLTRES<xsl:value-of select="rsv_ruimte/key"/>
DTSTAMP:<xsl:value-of select="datum/utcdatum"/>T<xsl:value-of select="datum/utctijd"/>Z
DTSTART:<xsl:value-of select="rsv_ruimte/van/utcdatum"/>T<xsl:value-of select="rsv_ruimte/van/utctijd"/>Z
DTEND:<xsl:value-of select="rsv_ruimte/tot/utcdatum"/>T<xsl:value-of select="rsv_ruimte/tot/utctijd"/>Z
SUMMARY;ENCODING=QUOTED-PRINTABLE:<xsl:value-of select="rsv_ruimte/res_activiteit/omschrijving"/>: <xsl:choose><xsl:when test="rsv_ruimte/res_ruimte/nr"><xsl:value-of select="rsv_ruimte/omschrijving"/></xsl:when><xsl:otherwise><xsl:value-of select="rsv_ruimte/omschrijving"/>-<xsl:value-of select="rsv_ruimte/rsv_deel/res_deel/omschrijving"/></xsl:otherwise></xsl:choose>
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:<xsl:value-of select="rsv_ruimte/res_activiteit/opmerking"/>
LOCATION;ENCODING=QUOTED-PRINTABLE:<xsl:value-of select="rsv_ruimte/res_ruimte/nr"/>
ORGANIZER;CN=<xsl:value-of select="rsv_ruimte/contact_user/naam_full"/>:MAILTO:reservering-noreply@facilitor.nl
<xsl:for-each select="rsv_ruimte/afspraak/bezoeker">
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;CN=<xsl:value-of select="naam"/>
<xsl:if test="string(bedrijf)!=''"> (<xsl:value-of select="bedrijf"/>)</xsl:if>:MAILTO:<xsl:if test="boolean(intern_user)">
<xsl:value-of select="intern_user/email"/></xsl:if></xsl:for-each>
SEQUENCE:<xsl:for-each select="rsv_ruimte/tracking/track">
<xsl:sort select="./datum/timestamp" data-type="number" order="descending"/>
<xsl:if test="position() = 1">
<xsl:value-of select="./datum/timestamp"/>
</xsl:if>
</xsl:for-each>
PRIORITY:5
END:VEVENT
END:VCALENDAR
</xsl:template>
<xsl:template match="bestelling" mode="include"> <xsl:template match="bestelling" mode="include">
<xsl:choose> <xsl:choose>
<xsl:when test="($srtnotificatiecode = 'CUST01' or $srtnotificatiecode = 'BESREJ') and bestelitem[1]/srtdeel/srtgroep/discipline/key = 521"> <xsl:when test="($srtnotificatiecode = 'CUST01' or $srtnotificatiecode = 'BESREJ') and bestelitem[1]/srtdeel/srtgroep/discipline/key = 521">
@@ -1041,7 +1069,7 @@
</table> </table>
</xsl:template> </xsl:template>
<xsl:template match="opdracht" mode="include"> <xsl:template match="opdracht" mode="include">