VLKC#55432 Bestelaanvragen

svn path=/Website/branches/v2018.2/; revision=41453
This commit is contained in:
Daan Brandt
2019-03-11 12:59:08 +00:00
parent 965028455d
commit e963f1770a

View File

@@ -6,7 +6,7 @@
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:variable name="Xsrtnotificatiecode">RESDEL</xsl:variable>
<xsl:variable name="srtnotificatiecode">BESNEW</xsl:variable>
<xsl:template name="stylesheet">
<style>body {
@@ -2626,5 +2626,320 @@ Andere voorwaarden zijn niet van toepassing en worden hierbij nadrukkelijk van d
<xsl:template match="bestelling" mode="include">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR>
<TD>
<table border="0" width="100%" bordercolor="#000000" CELLPADDING="2">
<!-- <tr>
<td align="left" width="100%" class="caption" colspan="4"><xsl:value-of select="//lcl/BES/bestelaanvraag"/>&#xA0;<xsl:value-of select="key"/>
<xsl:if test="ismutatie=1"> (WIJZIGING)</xsl:if>
<xsl:if test="isretour=1"> (RETOUR)</xsl:if>
</td>
</tr>-->
<tr collspan="4">
<td width="12%" class="tiny"><br/><br/>Datum: </td>
<td width="16%" class="tiny"><br/><br/><xsl:value-of select="datum/datum"/></td>
<td width="10%" class="tiny"><br/><br/>Email:</td>
<td class="tiny"><br/><br/><xsl:value-of select="voor/email"/></td>
</tr>
<tr>
<td width="12%" class="tiny">Bestelnummer:</td>
<td width="16%" class="tiny"><xsl:value-of select="key"/></td>
<td width="10%" class="tiny">Telefoon:</td>
<td class="tiny"><xsl:value-of select="voor/telefoonnr"/></td>
</tr>
<tr></tr>
<tr>
<td colspan="4">Betreft : Bestelaanvraag <xsl:value-of select="key"/></td><br/><br/>
</tr>
<xsl:if test="$srtnotificatiecode='BESACP'">
<br/>
<tr><td colspan="4">Hierbij bevestigen wij onderstaande</td><td> <b>Bestelaanvraag:</b></td></tr>
</xsl:if>
<xsl:if test="$srtnotificatiecode='BESNEW'">
<br/>
<tr><td colspan="4">Hierbij bevestigen wij onderstaande</td><td> <b>Bestelaanvraag:</b></td></tr>
</xsl:if>
<tr><td><br></br></td></tr>
<td colspan="4">Beste <xsl:value-of select="aanvrager/naam_friendly"/></td>
<xsl:choose>
<xsl:when test="string(aanvrager/naam_full)!=string(voor/naam_full)">
<tr>
<td width="12%" class="tiny"><b><br/><br/>Datum:</b></td>
<td width="16%" class="tiny"><br/><br/><xsl:value-of select="datum/datum"/></td>
<td width="10%" class="tiny"><br/><br/><b>Email:</b></td>
<td class="tiny"><br/><br/><xsl:value-of select="besteller/email"/></td>
</tr>
<tr>
<td width="12%" class="tiny"><b>Opdrachtnummer:</b></td>
<td width="16%" class="tiny">B<xsl:value-of select="id"/></td>
<td width="10%" class="tiny"><b>Telefoon:</b></td>
<td class="tiny"><xsl:value-of select="besteller/telefoonnr"/></td>
</tr>
<tr>
<td width="10%" class="tiny"><br/><br/><b>Aanvrager:</b></td>
<td width="26%" class="tiny"><br/><br/><xsl:value-of select="besteller/naam_friendly"/></td>
<td width="10%" class="tiny"><br/><br/><b>Kostenplaats:</b></td>
<td width="26%" class="tiny"><br/><br/><xsl:value-of select="bestelling/kostenplaats/nr"/></td>
</tr>
<tr>
<td width="13%" class="label" align="left"><xsl:value-of select="//lcl/FAC/aanvrager"/></td>
<td width="33%" class="value" align="right">: <xsl:value-of select="aanvrager/naam_full"/></td>
<td width="20%" class="label" align="left"><xsl:value-of select="//lcl/BES/aanvraagdatum"/></td>
<td width="32%" class="value" align="right">:
<xsl:value-of select="datum/datum"/>&#xA0;
<xsl:value-of select="datum/tijd"/>
</td>
</tr>
<tr>
<td class="label"><xsl:value-of select="//lcl/BES/bestelvoor"/></td>
<td class="value">: <xsl:value-of select="voor/naam_full"/></td>
<td colspan="2"/>
</tr>
</xsl:when>
<xsl:otherwise>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td width="13%" class="label" align="left"><xsl:value-of select="//lcl/FAC/aanvrager"/></td>
<td width="33%" class="value" align="right">: <xsl:value-of select="voor/naam_full"/></td>
<td width="5%" class="label" align="left"><xsl:value-of select="//lcl/FAC/kostenplaats"/></td>
<td width="40%" class="value" align="left">:
<xsl:value-of select="kostenplaats/nr"/>
</td>
</tr>
</xsl:otherwise>
</xsl:choose>
<tr>
<td class="label"><xsl:value-of select="//lcl/FAC/afdeling"/></td>
<td class="value">:
<xsl:if test="voor/afdeling/omschrijving=''">-</xsl:if>
<xsl:value-of select="voor/afdeling/omschrijving"/>
</td>
<td class="label"><xsl:value-of select="//lcl/FAC/telefoon"/></td>
<td class="value">: <xsl:value-of select="voor/telefoonnr"/></td>
</tr>
<xsl:if test="string(voor/email)!=''">
<tr>
<td class="label"><xsl:value-of select="//lcl/FAC/e-mail"/></td>
<td class="value">: <xsl:value-of select="voor/email"/></td>
<td colspan="2"/>
</tr>
</xsl:if>
<tr><td colspan="4" height="20px"></td></tr>
<tr>
<td class="label">Aanvraagdatum</td>
<td class="value">:
<xsl:value-of select="leverdatum/datum"/>
</td>
</tr>
<tr>
<td class="label" style="vertical-align:top">Aanvraagstatus</td>
<td class="value">:
<xsl:value-of select="//bestelling/status"/>
</td>
<td colspan="2"/>
</tr>
<tr><td colspan="4" heigth="20px"></td></tr>
<tr>
<td class="label"><xsl:value-of select="//lcl/BES/gewenste_afleverdatum"/></td>
<td class="value">:
<xsl:value-of select="leverdatum/datum"/>
</td>
</tr>
<tr>
<td class="label" style="vertical-align:top"><xsl:value-of select="//lcl/BES/afleveradres"/></td>
<td class="value">:
<xsl:value-of select="afleveradres/naam"/>
<xsl:if test="afleveradres/bezoek_adres">
<br/>&#xA0;
<xsl:value-of select="afleveradres/bezoek_adres"/>
<br/>&#xA0;
<xsl:value-of select="afleveradres/bezoek_postcode"/>&#xA0;
<xsl:value-of select="afleveradres/bezoek_plaats"/>
<br/>&#xA0;
<xsl:value-of select="afleveradres/bezoek_land"/>
</xsl:if>
</td>
<td colspan="2"/>
</tr>
<xsl:if test="bestel_opm">
<tr>
<td height="10px" colspan="4"/>
</tr>
</xsl:if>
<tr>
<td height="20px"/>
</tr>
<tr>
<td colspan="4" style="border-top:1px solid #000;"/>
</tr>
<tr>
<td colspan="4">
<table cellpadding="1" cellspacing="0" border="0" bordercolor="#000000" frame="box" width="99%">
<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">BTW</th>
<th class="besth" style="text-align:right"><xsl:value-of select="//lcl/FAC/totaal"/></th>
</tr>
<xsl:for-each select="bestelitem">
<tr>
<td class="besresult" style="text-align:left">
&#xA0;<xsl:value-of select="srtdeel/artikel_nummer"/>/
<xsl:value-of select="srtdeel/omschrijving"/>
</td>
<td class="besresult" style="text-align:right">
<xsl:value-of select="aantal"/>/<xsl:value-of select="srtdeel/eenheid"/>
</td>
<td class="besresult" style="text-align:right">
<xsl:value-of select="format-number(prijs, '0,00', 'european')"/>
</td>
<td class="besresult" style="text-align:right">
<xsl:if test="srtdeel/btw">
<xsl:value-of select="srtdeel/btw"/>%
</xsl:if>
</td>
<td class="besresult" style="text-align:right">
<xsl:value-of select="format-number(aantal*prijs, '0,00', 'european')"/>
</td>
</tr>
</xsl:for-each>
<tr>
<td colspan="6" height="6px" style="border-top:1px solid #000;"/>
</tr>
<xsl:if test="/facilitor/bestelling/levkosten != '0'">
<tr>
<td class="label" style="text-align:right;border-style:solid;border-width:0px;" colspan="4"><xsl:value-of select="//lcl/BES/transportkosten"/>:</td>
<td class="label" style="text-align:right;border-style:solid;border-width:0px;">
<xsl:value-of select="format-number(/facilitor/bestelling/levkosten, '0,00', 'european')"/>
</td>
</tr>
</xsl:if>
<tr>
<td class="tekstkop" style="text-align:right;border-style:solid;border-width:0px;" colspan="4"><xsl:value-of select="//lcl/FAC/totaal"/>:</td>
<td class="tekstkop" style="text-align:right;border-style:solid;border-width:0px;">
<xsl:value-of select="format-number(sum(/facilitor/bestelling/bestelitem/totaal)+ /facilitor/bestelling/levkosten, '0,00', 'european')"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
</TR>
<tr><td colspan="4" height="2px"></td></tr>
<xsl:if test="bestel_opm"></xsl:if>
<tr><td>Opmerking bestelaanvraag:<xsl:value-of select="bestel_opm"/></td></tr>
<tr><td colspan="4" height="20px"></td></tr>
<tr><td colspan="4"><u><b>LETOP:"de relatiegeschenken staan na 1 werkdag klaar bij de facilitydesk balie op L1.</b></u></td></tr>
<tr><td colspan="4" height="10px"></td></tr>
<tr>
<tr><td>Klik
<xsl:element name="a">
<xsl:attribute name="href">http://vlkc.facws001.sg.nl/branch20182/?fac_id=VLKC&amp;u=1WNF8Ik0NzK6_CtK
</xsl:attribute><u><b>Hier</b></u>
</xsl:element>
voor een actueel overzicht van je reserveringen<br/></td></tr>
<tr><td colspan="4" height="15px"></td></tr>
<tr><td>Indien je vragen en of opmerkingen hebt, verzoeken we je contact met ons op te nemen.</td></tr>
</tr>
<tr><td><br/><br/><br/>Met vriendelijke groet,
<br/><br/><b>Facilitydesk</b>
<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>
</td></tr>
<tr><td colspan="4" height="60px"></td></tr>
</TABLE>
<small>Gelieve in alle correspondentie betreffende deze reservering het RESERVERINGSNUMMER <xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/> te vermelden.</small>
</xsl:template>
<xsl:template match="bestelling" mode="kto">
<br/>Geachte heer/mevrouw <xsl:value-of select="voor/naam_full"/>,<br/><br/>
<br/>De bestelling <xsl:value-of select="key"/> is onlangs geleverd.
<br/>Om je in de toekomst nog beter van dienst te kunnen zijn, is je mening omtrent de uitgevoerde werkzaamheden van belang.
<br/>Wij verzoeken je
<xsl:call-template name="kto_url">
<xsl:with-param name="bmr">b</xsl:with-param>
</xsl:call-template> te volgen en je reactie te geven. Het invullen van dit formulier duurt ongeveer 2 minuten.
<br/>Bij voorbaat hartelijk dank voor je medewerking.
<br/>
<br/>Facilitair Service Centre
<br/>
<br/>Onderstaand tref je de gegevens van deze bestelling nogmaals aan:<br/><br/><br/>
<xsl:apply-templates select="." mode="include"/>
</xsl:template>
<xsl:template match="bestelling" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ BESTELLINGEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for bestellingen</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"/>
<xsl:choose>
<xsl:when test="$srtnotificatiecode = 'BESKTO'">
<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:template>
<xsl:template match="bestelling">
<xsl:choose>
<xsl:when test="@mode='preview'">
<xsl:apply-templates select="." mode="preview"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." mode="full"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>