PCHW#51581 - dgs logo op reservering
svn path=/Website/branches/v2017.2/; revision=36380
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<xsl:import href="../../../appl/shared/default.xsl"/>
|
<xsl:import href="../../../appl/shared/default.xsl"/>
|
||||||
<xsl:import href="../../pchx/xsl/default.xsl"/>
|
<xsl:import href="../../pchx/xsl/default.xsl"/>
|
||||||
|
|
||||||
<xsl:variable name="Xsrtnotificatiecode">RESINF</xsl:variable>
|
<xsl:variable name="srtnotificatiecode">RESINF</xsl:variable>
|
||||||
|
|
||||||
<xsl:template match="bestelopdracht" mode="include">
|
<xsl:template match="bestelopdracht" mode="include">
|
||||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
|
||||||
@@ -672,143 +672,9 @@
|
|||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="reservering" mode="include">
|
|
||||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
|
|
||||||
<TR>
|
|
||||||
<TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"/>
|
|
||||||
<TD>
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="$srtnotificatiecode='RESDEL' and verwijder">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td height="20"/>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="caption" style="color: red"><xsl:value-of select="//lcl/RES/annulering"/></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</xsl:when>
|
|
||||||
</xsl:choose>
|
|
||||||
<!-- Bevestiging reservering -->
|
|
||||||
<!-- Ook tonen voor verwijderde reserveringen -->
|
|
||||||
|
|
||||||
<!-- De algemene gegevens van de deelreservering met het laagste volgnummer worden gebruikt als referentie gegevens! -->
|
|
||||||
<xsl:variable name="min_volgnr">
|
|
||||||
<xsl:value-of select="//reservering/rsv_ruimte/volgnr[not(. > //reservering/rsv_ruimte/volgnr)]"/>
|
|
||||||
</xsl:variable>
|
|
||||||
|
|
||||||
<table border="0" bordercolor="#000000" width="100%">
|
<xsl:template match="rapport">
|
||||||
<tr>
|
|
||||||
<td class="caption" valign="top" colspan="4">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="@content='complete'"><xsl:value-of select="//lcl/RES/reservering"/> <xsl:value-of select="key"/></xsl:when>
|
|
||||||
<xsl:otherwise><xsl:value-of select="//lcl/RES/deelreservering"/> <xsl:value-of select="key"/> /<xsl:value-of select="$min_volgnr"/></xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
<xsl:if test="string(rsv_ruimte[volgnr=$min_volgnr]/omschrijving)!=''"> - <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/omschrijving"/></xsl:if> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="tekstkop" colspan="4" style="text-decoration:underline">Contactgegevens:</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="13%" class="label"><xsl:value-of select="//lcl/FAC/aanvrager"/></td>
|
|
||||||
<td width="37%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_full"/></td>
|
|
||||||
<td width="13%" class="label"><xsl:value-of select="//lcl/FAC/afdeling"/></td>
|
|
||||||
<td width="37%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/afdeling/omschrijving"/></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="13%" class="label"><xsl:value-of select="//lcl/FAC/telefoon"/></td>
|
|
||||||
<td width="37%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/telefoonnr"/></td>
|
|
||||||
<xsl:if test="string(rsv_ruimte[volgnr=$min_volgnr]/contact_user/werkplek/plaats/regio/district/locatie/omschrijving)!=''">
|
|
||||||
<td width="13%" class="label"><xsl:value-of select="//lcl/FAC/locatie"/></td>
|
|
||||||
<td width="37%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/werkplek/plaats/regio/district/locatie/omschrijving"/></td>
|
|
||||||
</xsl:if>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="15%" class="label"><xsl:value-of select="//lcl/FAC/e-mail"/></td>
|
|
||||||
<td colspan="3" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/email"/></td>
|
|
||||||
</tr>
|
|
||||||
<xsl:if test="$srtnotificatiecode='RESDEL'">
|
|
||||||
<tr>
|
|
||||||
<td width="20%" class="label"><xsl:value-of select="//lcl/RES/begintijd"/></td>
|
|
||||||
<td width="80%" colspan="3" class="value">: <xsl:value-of select="rsv_ruimte/van/datum"/> <xsl:value-of select="rsv_ruimte/van/tijd"/></td>
|
|
||||||
</tr>
|
|
||||||
</xsl:if>
|
|
||||||
<tr>
|
|
||||||
<td height="25px"/>
|
|
||||||
</tr>
|
|
||||||
<xsl:if test="rsv_ruimte[volgnr=$min_volgnr]/contact_user/key!=ingevoerd_user/key">
|
|
||||||
<tr>
|
|
||||||
<td width="20%" class="label"><xsl:value-of select="//lcl/RES/behandeld_door"/></td>
|
|
||||||
<td width="80%" class="value">: <xsl:value-of select="ingevoerd_user/naam_full"/></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td height="30px"/>
|
|
||||||
</tr>
|
|
||||||
</xsl:if>
|
|
||||||
<tr>
|
|
||||||
<td colspan="2" class="tekst">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="$srtnotificatiecode='RESNEW'"/>
|
|
||||||
<xsl:when test="$srtnotificatiecode='RESDEL'"><xsl:value-of select="//lcl/RES/reservering_vervallen"/></xsl:when>
|
|
||||||
<xsl:when test="$srtnotificatiecode='RESINF'">
|
|
||||||
<br /><br />Geachte <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_full"/>,<br /><br />Hierbij willen wij u herinneren aan deze reservering. <br /><br />Indien deze reservering niet doorgaat kunt u uw reservering annuleren via deze link:
|
|
||||||
<xsl:element name="a">
|
|
||||||
<xsl:attribute name="href">https://<xsl:value-of select="$FacilitorRoot"/>/?<xsl:value-of select="../bookmarks/reservering"/><xsl:value-of select="rsv_ruimte/key"/>&urole=fe</xsl:attribute>
|
|
||||||
Klik hier</xsl:element>
|
|
||||||
|
|
||||||
<br /><br />Met vriendelijke groet, <br />Facility team PCH<br /><br />
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:call-template name="res_begintext"/>
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="$srtnotificatiecode!='RESDEL'">
|
|
||||||
<tr>
|
|
||||||
<td height="10px"/>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="4">
|
|
||||||
<table cellpadding="1" border="0" WIDTH="99%" bordercolor="#000000" frame="box">
|
|
||||||
<!-- rsv_ruimte -->
|
|
||||||
<xsl:for-each select="rsv_ruimte">
|
|
||||||
<xsl:sort select="van/timestamp"/>
|
|
||||||
<xsl:call-template name="rsv_ruimte">
|
|
||||||
<xsl:with-param name="min_volgnr" select="$min_volgnr"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:for-each>
|
|
||||||
<!-- totaal reservering -->
|
|
||||||
<xsl:if test="@content='complete'">
|
|
||||||
<tr>
|
|
||||||
<td colspan="9" height="15px" style="border-bottom:1px solid #000;"/>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="tekstkop" align="right" colspan="5" style="border-width:0px;"><xsl:value-of select="//lcl/RES/totaalprijs_reservering"/>:</td>
|
|
||||||
<td class="tekstkop" colspan="2" style="text-align:right;border-width:0px;">
|
|
||||||
<xsl:call-template name="europrijs">
|
|
||||||
<xsl:with-param name="prijs" select="sum(rsv_ruimte/prijs[string(number(.))!='NaN'])+sum(rsv_ruimte/rsv_deel/prijs[string(number(.))!='NaN'])+sum(rsv_ruimte/rsv_artikel/prijs[string(number(.))!='NaN'])"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</xsl:if>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<xsl:call-template name="res_endtext">
|
|
||||||
<xsl:with-param name="min_volgnr" select="$min_volgnr"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:when>
|
|
||||||
</xsl:choose>
|
|
||||||
</table>
|
|
||||||
<!-- Bevestiging reservering -->
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="rapport">
|
|
||||||
<style>
|
<style>
|
||||||
td { border-bottom: 1px solid #ccc; padding: 4px 3px 8px 3px;}
|
td { border-bottom: 1px solid #ccc; padding: 4px 3px 8px 3px;}
|
||||||
</style>
|
</style>
|
||||||
@@ -1409,6 +1275,41 @@ function alternate(){
|
|||||||
</TABLE>
|
</TABLE>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="reservering" mode="full">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$mode='summary'"></xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$srtnotificatiecode = 'OUTLOOK' or $mode='ics'">
|
||||||
|
<xsl:apply-templates select="." mode="outlook"/>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<html>
|
||||||
|
<xsl:comment>================================ RESERVERINGEN ==============================</xsl:comment>
|
||||||
|
<xsl:comment>FACILITOR default XSL template for reservering</xsl:comment>
|
||||||
|
<xsl:call-template name="htmlhead"/>
|
||||||
|
<xsl:element name="body">
|
||||||
|
<xsl:if test="$mode!='email'">
|
||||||
|
<xsl:attribute name="onload">window.print();</xsl:attribute>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:call-template name="pageheader-dgs"/>
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$srtnotificatiecode = 'RESKTO'">
|
||||||
|
<xsl:apply-templates select="." mode="kto"/>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:apply-templates select="." mode="include"/>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
<xsl:call-template name="pagefooter"/>
|
||||||
|
</xsl:element>
|
||||||
|
</html>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</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. --><!-- 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. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2009. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2009. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2009. 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-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. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2009. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2009. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2009. Progress Software Corporation. All rights reserved. -->
|
||||||
Reference in New Issue
Block a user