VLKC#55432 Reserveringen final? + bestelopdrachten opzet

svn path=/Website/branches/v2018.2/; revision=41512
This commit is contained in:
Daan Brandt
2019-03-12 14:38:05 +00:00
parent b669bfc858
commit bd00523086

View File

@@ -6,7 +6,7 @@
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:variable name="Xsrtnotificatiecode">BESNEW</xsl:variable>
<xsl:variable name="Xsrtnotificatiecode">RESDEL</xsl:variable>
<xsl:template name="stylesheet">
<style>body {
@@ -1841,12 +1841,12 @@ Wanneer de opdracht is uitgevoerd dient u de opdracht via Facilitor af te melden
<xsl:variable name="fd_mail"><a href="mailto:facilitydesk@vanlanschotkempen.com">facilitydesk@vanlanschotkempen.com</a></xsl:variable>
<!--style>.pagebreak {page-break-after:always;}</style-->
<table border="0" width="100%" style="border-collapse:collapse;" cellpadding="0" cellspacing="0">
<xsl:choose>
<!--xsl:choose>
<xsl:when test="$srtnotificatiecode='RESDEL' and verwijder">
<tr><td height="20px"/></tr>
<tr><td style="font-size:14pt;color:red;padding-top:20px;padding-bottom:20px;"><xsl:value-of select="//lcl/RES/annulering"/></td></tr>
</xsl:when>
</xsl:choose>
</xsl:choose-->
<!-- Bevestiging reservering -->
<!-- Ook tonen voor verwijderde reserveringen -->
<!-- De algemene gegevens van de deelreservering met het laagste volgnummer worden gebruikt als referentie gegevens! -->
@@ -1867,16 +1867,16 @@ Wanneer de opdracht is uitgevoerd dient u de opdracht via Facilitor af te melden
</tr> -->
<table border="0" width="100%" cellpadding="2" cellspacing="2">
<tr>
<td width="12%" class="tiny"><b><br/><br/>Datum:</b></td>
<td width="14%" class="tiny"><br/><br/><xsl:value-of select="//datum/localdatum"/></td>
<td width="10%" class="tiny"><br/><br/><b>E-mail:</b></td>
<td width="26%" class="tiny"><br/><br/>facilitydesk@vanlanschotkempen.com</td>
<td width="12%" ><br/><br/>Datum:</td>
<td width="14%" ><br/><br/><xsl:value-of select="//datum/localdatum"/></td>
<td width="10%" ><br/><br/>E-mail:</td>
<td width="26%" ><br/><br/>facilitydesk@vanlanschotkempen.com</td>
</tr>
<tr>
<td width="12%" class="tiny"><b>Meldingnummer:</b></td>
<td width="14%" class="tiny"><xsl:value-of select="key"/>/<xsl:value-of select="//rsv_ruimte/volgnr"/></td>
<td width="10%" class="tiny"><b>Telefoon :</b></td>
<td colspan="3" class="tiny"><xsl:value-of select="$fd_tel"/></td>
<td width="12%" >Reserveringsnummer:</td>
<td width="14%" ><xsl:value-of select="key"/>/<xsl:value-of select="//rsv_ruimte/volgnr"/></td>
<td width="10%" >Telefoon :</td>
<td colspan="3" ><xsl:value-of select="$fd_tel"/></td>
</tr>
</table>
<br/>
@@ -1908,7 +1908,7 @@ Wanneer de opdracht is uitgevoerd dient u de opdracht via Facilitor af te melden
<td><xsl:value-of select="ingevoerd_user/naam_friendly"/></td>
</tr>
</xsl:if-->
<tr><td>Betreft: <xsl:value-of select="//key"/>&#xA0; / <xsl:value-of select="volgnr"/></td><xsl:value-of select="//res_activiteit/omschrijving"/></tr><br/> <br/>
<tr><td>Betreft: reservering <xsl:value-of select="//key"/>&#xA0; - <xsl:value-of select="volgnr"/></td><xsl:value-of select="//res_activiteit/omschrijving"/></tr><br/> <br/>
<xsl:if test="$srtnotificatiecode='RESDEL'">
<tr>
<!--<td><xsl:value-of select="//lcl/RES/begintijd"/>:</td>
@@ -1921,23 +1921,23 @@ Wanneer de opdracht is uitgevoerd dient u de opdracht via Facilitor af te melden
<td colspan="4">
<xsl:choose>
<xsl:when test="$srtnotificatiecode='RESDEL'">
<br/>Beste <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_friendly"/>,
<br/><br/>Hierbij bevestigen wij dat onderstaande reservering is <b>vervallen</b>:
<br/>Beste <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/voornaam"/>,
<br/><br/>Hierbij bevestigen wij dat onderstaande reservering is <u><b>vervallen</b></u>:
</xsl:when>
<xsl:when test="$srtnotificatiecode='RESNEW' and rsv_ruimte[volgnr=$min_volgnr]/status_fokey!='2'">
<br/>Beste <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_friendly"/>,
<br/><br/>Hierbij bevestigen wij dat onderstaande reservering is geregistreerd:
<br/>Beste <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/voornaam"/>,
<br/><br/>Hierbij bevestigen wij dat onderstaande reservering is<u><b>geregistreerd</b></u>:
</xsl:when>
<xsl:when test="($srtnotificatiecode='RESNEW' and rsv_ruimte[volgnr=$min_volgnr]/status_fokey='2') or $srtnotificatiecode='RESBEV'">
<br/>Beste <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_friendly"/>,
<br/><br/>Hierbij bevestigen wij dat onderstaande reservering is geregistreerd:
<br/>Beste <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/voornaam"/>,
<br/><br/>Hierbij bevestigen wij dat onderstaande reservering is <u><b>geregistreerd</b></u>:
</xsl:when>
<xsl:when test="$srtnotificatiecode='RESCPY'">
<br/>Beste <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_friendly"/>,
<br/>Beste <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/voornaam"/>,
<br/><br/>Hierbij <u><b>informeren</b></u> wij je dat je reservering is uitgebreid:
</xsl:when>
<xsl:when test="$srtnotificatiecode='RESUPD' or $srtnotificatiecode='RESMLT'">
<br/>Beste <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_friendly"/>,
<br/>Beste <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/voornaam"/>,
<br/><br/>Hierbij informeren wij je dat je reservering is <u><b>gewijzigd</b></u>:
</xsl:when>
<xsl:otherwise/>
@@ -2014,7 +2014,7 @@ Klik
<br/><br/><b>Facilitydesk</b>
<br/><br/>Van Lanschot Kempen
<br/>T +31 (0)20 348 9400
<br/>E <a href="mailto:facilitydesk@vanlanschotkempen.com">facilitydesk@vanlanschotkempen.com</a> | <a href="mailto:facilitydesk@vanlanschotkempen.com">facilitydesk@vanlanschotkempen.com</a>
<br/>E <a href="mailto:facilitydesk@vanlanschotkempen.com">facilitydesk@vanlanschotkempen.com</a>
</xsl:when>
<xsl:otherwise>
<br></br><br/>
@@ -2029,7 +2029,7 @@ Klik
<br/><br/><b>Facilitydesk</b>
<br/><br/>Van Lanschot Kempen
<br/>T +31 (0)20 348 9400
<br/>E <a href="mailto:facilitydesk@vanlanschotkempen.com">facilitydesk@vanlanschotkempen.com</a> | <a href="mailto:facilitydesk@vanlanschotkempen.com">facilitydesk@vanlanschotkempen.com</a>
<br/>E <a href="mailto:facilitydesk@vanlanschotkempen.com">facilitydesk@vanlanschotkempen.com</a>
</xsl:otherwise>
</xsl:choose>
</td>
@@ -2044,22 +2044,22 @@ Klik
<tr>
<xsl:choose>
<xsl:when test="res_ruimte!=''">
<td colspan="7"><br/><u><b>
<td colspan="7"><br/><b>
<xsl:if test="dirtlevel!='0'"><span class="fatal"><xsl:value-of select="//lcl/RES/ongeldig"/></span>&#xA0;</xsl:if>
<xsl:value-of select="van/datum"/>&#xA0;
<xsl:value-of select="//lcl/RES/deelreservering"/>&#xA0;<xsl:value-of select="../key"/>/<xsl:value-of select="volgnr"/>&#xA0;
<xsl:if test="string(res_activiteit/omschrijving)!=''">(<xsl:value-of select="res_activiteit/omschrijving"/>)&#xA0;</xsl:if>
<xsl:value-of select="res_ruimte/plaats/regio/district/locatie/omschrijving"/></b></u>
<xsl:value-of select="res_ruimte/plaats/regio/district/locatie/omschrijving"/></b>
</td>
</xsl:when>
<!-- "roomservice" -->
<xsl:otherwise>
<td colspan="7"><br/><u><b>
<td colspan="7"><br/><b>
<xsl:if test="dirtlevel!='0'"><span class="fatal"><xsl:value-of select="//lcl/RES/ongeldig"/></span>&#xA0;</xsl:if>
<xsl:value-of select="van/datum"/>&#xA0;<xsl:if test="string(van/datum)!=string(tot/datum)"> - <xsl:value-of select="tot/datum"/></xsl:if>&#xA0;
<xsl:value-of select="//lcl/RES/deelreservering"/>&#xA0;<xsl:value-of select="../key"/>/<xsl:value-of select="volgnr"/>&#xA0;
<xsl:if test="string(res_activiteit/omschrijving)!=''">(<xsl:value-of select="res_activiteit/omschrijving"/>)&#xA0;</xsl:if>
<xsl:value-of select="plaats/plaatsaanduiding"/></b></u>
<xsl:value-of select="plaats/plaatsaanduiding"/></b>
</td>
</xsl:otherwise>
</xsl:choose>
@@ -2088,13 +2088,16 @@ Klik
<tr>
<td><xsl:value-of select="//lcl/RES/status"/>:</td>
<td colspan="6"><xsl:value-of select="status_fo"/></td>
</tr>
<!--xsl:if test="string(contact_user/naam_friendly)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_friendly)">
</tr>
<xsl:value-of select="voor/afdeling/omschrijving"/>
<tr>
<td><xsl:value-of select="//lcl/FAC/aanvrager"/>:</td>
<td colspan="6"><xsl:value-of select="contact_user/naam_friendly"/></td>
</tr>
</xsl:if-->
<tr>
<td>Afdeling:</td>
<td colspan="6"><xsl:value-of select="contact_user/afdeling"/></td>
</tr>
<tr>
<td><xsl:value-of select="//lcl/RES/gastheer_vrouw"/>:</td>
<td colspan="6"><xsl:value-of select="host_user/naam_friendly"/></td>
@@ -2386,7 +2389,7 @@ Andere voorwaarden zijn niet van toepassing en worden hierbij nadrukkelijk van d
<tr>
<xsl:choose>
<xsl:when test="res_ruimte!=''">
<td class="tekstkop" colspan="10" frame="box"><u>
<td class="tekstkop" colspan="10" frame="box">
<br/>
<xsl:if test="dirtlevel!='0'">
<span class="fatal"><xsl:value-of select="//lcl/RES/ongeldig"/></span>&#xA0;
@@ -2394,7 +2397,7 @@ Andere voorwaarden zijn niet van toepassing en worden hierbij nadrukkelijk van d
<xsl:value-of select="van/datum"/>&#xA0;
<xsl:value-of select="//lcl/RES/deelreservering"/>&#xA0;<xsl:value-of select="../key"/>&#xA0;/<xsl:value-of select="volgnr"/>&#xA0;
<xsl:if test="string(res_activiteit/omschrijving)!=''">(<xsl:value-of select="res_activiteit/omschrijving"/>)&#xA0;</xsl:if>
<xsl:value-of select="res_ruimte/plaats/regio/district/locatie/omschrijving"/></u><br/>
<xsl:value-of select="res_ruimte/plaats/regio/district/locatie/omschrijving"/><br/>
</td>
</xsl:when>
<!-- "roomservice" -->
@@ -2418,37 +2421,43 @@ Andere voorwaarden zijn niet van toepassing en worden hierbij nadrukkelijk van d
<xsl:if test="string(omschrijving)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/omschrijving)">
<tr>
<td class="label"><xsl:value-of select="//lcl/FAC/omschrijving"/></td>
<td class="value" colspan="9">
<td colspan="9">
: <xsl:value-of select="omschrijving"/>
</td>
</tr>
</xsl:if>
<xsl:if test="string(contact_user/naam_full)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_full)">
<tr>
<td class="label"><xsl:value-of select="//lcl/FAC/aanvrager"/></td>
<td class="value" colspan="9">
: <xsl:value-of select="contact_user/naam_full"/>/ <xsl:value-of select="contact_user/werkplek/plaats/regio/district/locatie/omschrijving"/></td>
</tr>
</xsl:if>
<tr>
<td class="label"><xsl:value-of select="//lcl/RES/status"/></td>
<td class="value" colspan="5">: <xsl:value-of select="status_fo"/>
<td colspan="5">: <xsl:value-of select="status_fo"/>
</td>
</tr>
<tr>
<td class="label"><xsl:value-of select="//lcl/FAC/aanvrager"/></td>
<td colspan="9">
: <xsl:value-of select="contact_user/naam_full"/></td>
</tr>
<tr>
<td class="label">Afdeling</td>
<td colspan="5">
: <xsl:value-of select="contact_user/afdeling/naam1"/></td>
</tr>
<tr>
<td class="label"><xsl:value-of select="//lcl/RES/gastheer_vrouw"/></td>
<td class="value" colspan="5">: <xsl:value-of select="host_user/naam_full"/></td>
<td colspan="5">: <xsl:value-of select="host_user/naam_full"/></td>
</tr>
<tr>
<td class="label"><xsl:value-of select="//lcl/FAC/kostenplaats"/></td>
<td class="value" colspan="5">: <xsl:value-of select="kostenplaats/nr"/>&#xA0;
<td colspan="5">: <xsl:value-of select="kostenplaats/nr"/>&#xA0;
<xsl:value-of select="kostenplaats/omschrijving"/>
</td>
</tr>
<xsl:if test="string(opmerking)!=''">
<tr>
<td class="label"> <xsl:value-of select="//lcl/FAC/opmerking"/></td>
<td class="value" colspan="9">
<td colspan="9">
: <xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="opmerking"/>
</xsl:call-template>
@@ -2804,7 +2813,7 @@ Andere voorwaarden zijn niet van toepassing en worden hierbij nadrukkelijk van d
<tr>
<th class="besth" style="text-align:left"><xsl:value-of select="//lcl/BES/artikelnr"/>/<xsl:value-of select="//lcl/FAC/omschrijving"/></th>
<th class="besth" style="text-align:right"><xsl:value-of select="//lcl/FAC/aantal"/>/Eenheid</th>
<th class="besth" style="text-align:right">Nettoprijs excl. btw</th>
<th class="besth" style="text-align:right">Prijs</th>
<th class="besth" style="text-align:right">BTW</th>
<th class="besth" style="text-align:right"><xsl:value-of select="//lcl/FAC/totaal"/></th>
</tr>