<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:import href="../../../appl/shared/default.xsl"/>
 	<xsl:import href="../../aaxx/xsl/default.xsl"/>
	<xsl:variable name="Rev">
		<!-- Revision van deze cust.xsl -->
		<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
	</xsl:variable>

	<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="not(boolean(rsv_ruimte))">
							<table>
								<tr>
									<td height="20"/>
								</tr>
								<tr>
									<td class="caption"><xsl:value-of select="//lcl/RES/annulering"/></td>
								</tr>
								<tr>
									<td>
										<b><xsl:value-of select="//lcl/RES/annulering_text1"/><xsl:if test="key!=''"><xsl:value-of select="//lcl/RES/annulering_text2"/><xsl:value-of select="key"/></xsl:if><xsl:value-of select="//lcl/RES/annulering_text3"/></b>
										<br/>
										<br/><xsl:value-of select="//lcl/RES/annulering_text4"/><br/><br/>
                  <xsl:value-of select="//lcl/RES/annulering_text5"/></td>
								</tr>
							</table>
						</xsl:when>
						<xsl:otherwise>
							<!-- Bevestiging reservering -->

							<!-- 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(. &gt; //reservering/rsv_ruimte/volgnr)]"/>
							</xsl:variable>

							<table border="0" bordercolor="#ffffff" width="100%">
								<tr>
									<td class="caption" valign="top" colspan="2">
										<xsl:choose>
											<xsl:when test="@content='complete'"><xsl:value-of select="//lcl/RES/reservering"/> <xsl:value-of select="key"/><br/></xsl:when>
											<xsl:otherwise><xsl:value-of select="//lcl/RES/deelreservering"/> <xsl:value-of select="key"/> / <xsl:value-of select="$min_volgnr"/><br/></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>&#xA0;</td>
								</tr>
								<tr>
									<td width="20%" class="label"><xsl:value-of select="//lcl/FAC/aanvrager"/></td>
									<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_full"/></td>
								</tr>
								<tr>
									<td width="20%" class="label"><xsl:value-of select="//lcl/FAC/e-mail"/></td>
									<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/email"/></td>
								</tr>
								<tr>
									<td width="20%" class="label"><xsl:value-of select="//lcl/FAC/afdeling"/></td>
									<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/afdeling/omschrijving"/></td>
								</tr>
								<tr>
									<td width="20%" class="label"><xsl:value-of select="//lcl/RES/gastheer_vrouw"/></td>
									<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/host_user/naam_full"/></td>
								</tr>
								<tr>
									<td width="20%" class="label"><xsl:value-of select="//lcl/FAC/kostenplaats"/></td>
									<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/kostenplaats/nr"/>&#xA0;
										<xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/kostenplaats/omschrijving"/>
									</td>
								</tr>
								<tr>
									<td height="30px"/>
								</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 width="20%" class="label"><xsl:value-of select="//lcl/FAC/datum"/></td>
										<td width="80%" class="value">: <xsl:value-of select="datum/datum"/></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:otherwise>
												<xsl:call-template name="res_begintext"/>
											</xsl:otherwise>
										</xsl:choose>
									</td>
								</tr>
								<tr>
									<td height="10px"/>
								</tr>
								<tr>
									<td class="tekstkop" colspan="2" style="text-decoration:underline"><xsl:value-of select="//lcl/RES/reserveringsgegevens"/></td>
								</tr>
								<tr>
									<td height="5px"/>
								</tr>
								<xsl:if test="string(rsv_ruimte[volgnr=$min_volgnr]/opmerking)!=''">
									<tr>
										<td colspan="2" class="label"><xsl:value-of select="//lcl/FAC/opmerking"/></td>
									</tr>
									<tr>
										<td colspan="2" class="value">
											<xsl:call-template name="linebreaks">
												<xsl:with-param name="string" select="rsv_ruimte[volgnr=$min_volgnr]/opmerking"/>
											</xsl:call-template>
										</td>
									</tr>
									<tr>
										<td height="5px"/>
									</tr>
								</xsl:if>
								<tr>
									<td colspan="2">
										<table cellpadding="0" cellspacing="0" border="1" 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 -->
											<tr>
												<td height="10px" style="border-style:solid;border-width:0px;"/>
											</tr>
											<tr>
												<td class="tekstkop" align="right" colspan="2" style="border-width:0px;"><xsl:value-of select="//lcl/RES/totaalprijs_reservering"/>:</td>
												<td class="tekstkop" 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>
										</table>
									</td>
								</tr>
								<xsl:call-template name="res_endtext">
									<xsl:with-param name="min_volgnr" select="$min_volgnr"/>
								</xsl:call-template>
							</table>
							<!-- Bevestiging reservering -->
						</xsl:otherwise>
					</xsl:choose>
				</TD>
				<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
			</TR>
		</TABLE>
	</xsl:template>	

	<!-- Klantspecifieke begintekst voor reserveringsgegevens op reserveringsbon -->
	<xsl:template name="res_begintext">
		<tr>
			<td colspan="2" class="tekst">
				<xsl:choose>
					<xsl:when test="$srtnotificatiecode = 'RESINF'">Geachte heer, mevrouw,
						<br/>
						<br/>Onderstaande reservering staat geregistreerd in ons systeem. 
            Indien deze reservering niet meer van toepassing is dient u deze binnen 1 werkdag te annuleren.
						<br/>
						<br/>Eventuele wijzigingen in uw reservering kunt u doorgeven aan de AAFM service desk
            (tel: 3030 (optie 2), e-mail: servicedeskhuntsman@aa-fm.com) onder vermelding van bovenstaand reserveringsnummer.
            Aanvullende catering bestellingen kunt u doorgeven aan de cateraar op uw locatie.
            Aan catering bestellingen of vergaderfaciliteiten zijn kosten verbonden.
            Indien u niet tijdig annuleert worden deze in rekening gebracht.
						<br/>
						<br/>Wanneer de reservering gewoon doorgang vindt, hoeft u niet op deze herinnering te reageren.
						<br/>
					</xsl:when>
					<xsl:otherwise>
					</xsl:otherwise>
				</xsl:choose>
			</td>
		</tr>
	</xsl:template>
	
	<xsl:template match="bestelling" mode="include">
		<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
			<TR>
				<TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"></TD>
				<TD>
					<table border="0" width="100%" bordercolor="#000000">
						<tr>
							<td align="left" width="100%" class="caption" colspan="2"><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>
							<td width="20%" class="label"><xsl:value-of select="//lcl/FAC/aanvrager"/></td>
							<td width="80%" class="value">: <xsl:value-of select="voor/naam_full"/></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>
							</tr>
						</xsl:if>
						<xsl:if test="voor/telefoonnr!=''">
							<tr>
								<td class="label"><xsl:value-of select="//lcl/FAC/telefoon"/></td>
								<td class="value">: <xsl:value-of select="voor/telefoonnr"/></td>
							</tr>
						</xsl:if>
						<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>
						</tr>
						<xsl:if test="string(voor/naam_full)!=string(voor/naam_full)">
													<tr>
								<td class="label"><xsl:value-of select="//lcl/BES/bestelvoor"/></td>
								<td class="value">: <xsl:value-of select="voor/naam_full"/></td>
							</tr>
						</xsl:if>
						<tr>
							<td class="label"><xsl:value-of select="//lcl/FAC/kostenplaats"/></td>
							<td class="value">:
								<xsl:if test="kostenplaats/nr=''">-</xsl:if>
								<xsl:value-of select="kostenplaats/nr"/>
							</td>
						</tr>
						<tr>
							<td height="20px"/>
						</tr>
						<tr>
							<td class="label"><xsl:value-of select="//lcl/BES/aanvraagdatum"/></td>
							<td class="value">:
								<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/aanvraagstatus"/></td>
							<td class="value">: <xsl:value-of select="status"/></td>
						</tr>
						<tr>
							<td class="label">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"/>
								<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"/>
							</td>
						</tr>
						<tr>
							<td height="20px"/>
						</tr>
						<xsl:for-each select="kenmerk[count(@xmlnode)=0]">
						<xsl:if test="(@type!='L' and @type!='l')">
							<tr>
								<td class="label">
									<xsl:value-of select="@naam"/>
								</td>
								<td class="value">: <xsl:value-of select="."/></td>
							</tr>
							</xsl:if>
						</xsl:for-each>
						<tr>
							<td height="20px"/>
						</tr>	
						   <xsl:if test="status='Geleverd'">
							<tr>
	   							<td class="label">Commentaar levering</td>
	   							<td class="value">: <xsl:value-of select="bestelopdracht/leveringopmerking"/></td>	
							</tr>
						   </xsl:if>											
						<tr>
							<td height="20px"/>
						</tr>
						<tr>
							<td colspan="2">
								<table cellpadding="0" cellspacing="0" border="1" bordercolor="#303030" width="100%">
									<tr>
										<th><xsl:value-of select="//lcl/BES/artikelnr"/></th>
										<th><xsl:value-of select="//lcl/FAC/omschrijving"/></th>
										<th><xsl:value-of select="//lcl/FAC/opmerkingen"/></th>
										<th style="text-align:right"><xsl:value-of select="//lcl/FAC/aantal"/></th>
										<th style="text-align:right"><xsl:value-of select="//lcl/FAC/prijs"/></th>
										<th style="text-align:right"><xsl:value-of select="//lcl/FAC/totaal"/></th>
									</tr>
									<xsl:for-each select="bestelitem">
										<tr>
											<td class="result" style="text-align:left">
												<xsl:value-of select="srtdeel/artikel_nummer"/>
											</td>
											<td class="result" style="text-align:left">
												<xsl:value-of select="srtdeel/omschrijving"/>
											</td>
											<td class="result">
												<xsl:for-each select="kenmerk[count(@xmlnode)=0]">
												<xsl:if test="(@type!='L' and @type!='l')">
													<xsl:value-of select="@naam"/>:
													<xsl:value-of select="."/>
													<br/>
												</xsl:if>	
												</xsl:for-each>&#xA0;</td>
											<td class="result" style="text-align:right">
												<xsl:value-of select="aantal"/>
											</td>
											<td class="result" style="text-align:right">
												<xsl:value-of select="format-number(prijs, '0,00', 'european')"/>
											</td>
											<td class="result" style="text-align:right">
												<xsl:value-of select="format-number(aantal*prijs, '0,00', 'european')"/>
											</td>
										</tr>
									</xsl:for-each>
									<tr>
										<td height="6px" style="border-style:solid;border-width:0px;"/>
									</tr>
									<tr>
										<td class="tekstkop" style="text-align:right;border-style:solid;border-width:0px;" colspan="5"><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), '0,00', 'european')"/>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</TD>
				<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
			</TR>
		</TABLE>
	</xsl:template>

	<xsl:template match="bestelopdracht" mode="include">
		<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
			<TR>
				<TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"></TD>
				<TD>
					<!-- Bestelopdracht -->
					<table border="0" bordercolor="#FFFFFF" width="100%">
						<tr>
							<td colspan="5" class="caption" style="text-align:center">
								<b><xsl:value-of select="//lcl/BES/inkooporder"/></b>
							</td>
						</tr>
						<tr>
							<td colspan="5" style="height:30"/>
						</tr>
						<tr>
							<td colspan="2" style="width:47%">
								<b><xsl:value-of select="//lcl/BES/factuur_aan"/>:</b>
							</td>
							<td style="width:6%"></td>
							<td colspan="2" style="width:47%">
								<b><xsl:value-of select="//lcl/BES/leverancier"/>:</b>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								AAFM Facility Management BV
								<br/>
								t.a.v. Crediteurenadministratie Huntsman
								<br/>
								Postbus 80009
								<br/>
								5600 JZ&#xA0;
								Eindhoven
							</td>
							<td/>
							<td colspan="2">
								<xsl:value-of select="bedrijf/naam"/>
								<br/>
								<xsl:value-of select="bedrijf/post_adres"/>
								<br/>
								<xsl:value-of select="bedrijf/post_postcode"/>&#xA0;
								<xsl:value-of select="bedrijf/post_plaats"/>
								<br/>
								<xsl:value-of select="bedrijf/post_land"/>
							</td>
						</tr>
						<tr>
							<td colspan="5" style="height:20"/>
						</tr>
						<tr>
							<td colspan="2">
								<b><xsl:value-of select="//lcl/FAC/contactgegevens"/>:</b>
							</td>
							<td/>
							<td colspan="2">
								<b/>
							</td>
						</tr>
						<tr>
							<td colspan="2" style="vertical-align:top">
								<b><xsl:value-of select="//lcl/BES/besteller"/>:&#xA0;</b>
								<xsl:value-of select="bestelling/aanvrager/naam_full"/>
								<br/>
								<b><xsl:value-of select="//lcl/FAC/e-mail"/>:&#xA0;</b>
								<xsl:value-of select="bestelling/aanvrager/email"/>
								<br/>
								<b><xsl:value-of select="//lcl/FAC/telefoon"/>:&#xA0;</b>
								<xsl:value-of select="bestelling/aanvrager/telefoonnr"/>
								<br/>
								<b><xsl:value-of select="//lcl/FAC/kostenplaats"/>:&#xA0;</b>
								<xsl:value-of select="bestelling/kostenplaats/nr"/>
								<br/>
								<b><xsl:value-of select="//lcl/FAC/werkplek"/>:&#xA0;</b>
								<xsl:value-of select="bestelling/plaats"/>
							</td>
							<td/>
							<td colspan="2" style="vertical-align:top">
								<b><xsl:value-of select="//lcl/BES/aanvraagnummers"/>:&#xA0;</b>
								<xsl:value-of select="bestelling/key"/>
								<br/>
								<b><xsl:value-of select="//lcl/BES/opdrachtnummer"/>:&#xA0;</b>
								BE <xsl:value-of select="id"/>
								<br/>
								<b><xsl:value-of select="//lcl/BES/orderdatum"/>:&#xA0;</b>
								<xsl:value-of select="datum/datum"/>
							</td>
						</tr>
						<tr>
							<td colspan="5" style="height:20"/>
						</tr>
						<tr>
							<td colspan="2">
								<b><xsl:value-of select="//lcl/BES/afleveradres"/>:</b>
							</td>
							<td/>
							<td colspan="2">
								<b/>
							</td>
						</tr>
						<tr>
							<td colspan="2" style="vertical-align:top">
								<xsl:value-of select="afleveradres/naam"/>
								<br/>
								<xsl:value-of select="afleveradres/bezoek_adres"/>
								<br/>
								<xsl:value-of select="afleveradres/bezoek_postcode"/>&#xA0;
								<xsl:value-of select="afleveradres/bezoek_plaats"/>
								<br/>
								<xsl:value-of select="afleveradres/bezoek_land"/>
							</td>
							<td/>
						</tr>	
						<tr>
							<td colspan="3">
							</td>
							<td colspan="2" style="vertical-align:top">
							 <b>Afleverdatum: </b>
							 <xsl:value-of select="bestelling/leverdatum/datum"/>
							</td>
						</tr>
						<tr>
							<td colspan="3">
							</td>		
							<td colspan="2" style="vertical-align:top">
								<xsl:for-each select="bestelling/kenmerk">
								<xsl:if test="(@type!='L' and @type!='l')">
									<b>
										<xsl:value-of select="@naam"/>: </b>
									<xsl:value-of select="."/>
									<br/>
								</xsl:if>	
								</xsl:for-each>&#xA0;</td>
						</tr>
						<tr>
							<td colspan="5" style="height:20"/>
						</tr>
						<TR>
							<TD colspan="5">
								<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#303030" width="100%">
									<tr>
										<th style="width:20"><xsl:value-of select="//lcl/BES/regel"/></th>
										<th style="width:20"><xsl:value-of select="//lcl/BES/artikelnr"/></th>
										<th style="width:200"><xsl:value-of select="//lcl/FAC/omschrijving"/></th>
										<th style="width:20"><xsl:value-of select="//lcl/FAC/eenheid"/></th>
										<th style="width:20; text-align:right"><xsl:value-of select="//lcl/FAC/aantal"/></th>
										<xsl:if test="aantal_geleverd &gt; 0">
											<th style="width:20; text-align:right"><xsl:value-of select="//lcl/BES/geleverd"/></th>
										</xsl:if>
										<th style="width:20; text-align:right"><xsl:value-of select="//lcl/FAC/prijs"/></th>
										<th style="width:20; text-align:right"><xsl:value-of select="//lcl/FAC/totaal"/></th>
									</tr>
									<xsl:for-each select="bestelopdrachtitem">
										<xsl:sort select="srtdeel/omschrijving"/>
										<xsl:sort select="posnr" data-type="number"/>
										<tr>
											<td class="result">
												<xsl:value-of select="posnr"/>
											</td>
											<td class="result">
												<xsl:value-of select="bestelitem/srtdeel/artikel_nummer"/>
											</td>
											<td class="result">
												<xsl:value-of select="bestelitem/srtdeel/omschrijving"/>&#xA0;
												<xsl:for-each select="bestelitem/kenmerk">
												<xsl:if test="(@type!='L' and @type!='l')">
													<br/>
													<xsl:value-of select="@naam"/>: <xsl:value-of select="."/>
												</xsl:if>	
												</xsl:for-each>
											</td>
											<td class="result">
												<xsl:value-of select="bestelitem/srtdeel/eenheid"/>
											</td>
											<td class="result" style="text-align:right">
												<xsl:value-of select="aantal"/>
											</td>
											<xsl:if test="../aantal_geleverd &gt; 0">
												<td class="result" style="text-align:right">
													<xsl:value-of select="aantalontv"/>
												</td>
											</xsl:if>
											<xsl:choose>
												<xsl:when test="inkprijs!=''">
													<td class="result" style="text-align:right">
														<xsl:value-of select="format-number(inkprijs, '0,00', 'european')"/>
													</td>
													<td class="result" style="text-align:right">
														<xsl:value-of select="format-number(inktotaal, '0,00', 'european')"/>
													</td>
												</xsl:when>
												<xsl:otherwise>
													<td class="result" style="text-align:right">
														<xsl:value-of select="format-number(prijs, '0,00', 'european')"/>
													</td>
													<td class="result" style="text-align:right">
														<xsl:value-of select="format-number(totaal, '0,00', 'european')"/>
													</td>
												</xsl:otherwise>
											</xsl:choose>
										</tr>
									</xsl:for-each>
									<tr>
										<td colspan="6" style="border:0; text-align:right">excl BTW&#xA0;</td>
										<xsl:if test="aantal_geleverd &gt; 0">
											<td/>
										</xsl:if>
										<td style="text-align:right">
											<b>
												<xsl:choose>
													<xsl:when test="bestelopdrachtitem/inktotaal !=''">
														<xsl:value-of select="format-number(sum(bestelopdrachtitem/inktotaal), '0,00', 'european')"/>
													</xsl:when>
													<xsl:otherwise>
														<xsl:value-of select="format-number(sum(bestelopdrachtitem/totaal), '0,00', 'european')"/>
													</xsl:otherwise>
												</xsl:choose>
											</b>
										</td>
									</tr>
								</TABLE>
							</TD>
						</TR>
						<tr>
							<td colspan="5" style="height:40"/>
						</tr>
						<xsl:if test="aantal_geleverd &gt; 0">
							<tr>
								<td colspan="5"><xsl:value-of select="//lcl/BES/order_geleverd_op1"/><xsl:value-of select="leverdatum"/><xsl:value-of select="//lcl/BES/order_geleverd_op2"/></td>
							</tr>
							<tr>
								<td colspan="5"><xsl:value-of select="//lcl/BES/order_status_is"/><xsl:value-of select="status"/></td>
							</tr>
							<tr>
								<td colspan="5" style="height:40"/>
							</tr>
						</xsl:if>
						<tr>
							<td colspan="5" style="font-size:9px"> 
                Op alle door AAFM Facility Management BV verstrekte offerteaanvragen en opdrachten zullen uitsluitend en onverkort de algemene inkoopvoorwaarden, versie 2010 van AAFM Facility Management BV van toepassing zijn, op te vragen via: <a href="http://www.aa-fm.com" target="_blank">http://www.aa-fm.com</a> met uitzondering van met AAFM Facility Management BV overeengekomen schriftelijke (contractuele) afspraken.
              </td>
             </tr>
             <tr> 
              <td colspan="5" style="text-align:center; font-size:9px">Trade register AAFM no. 09130306</td>	
						</tr>
					</table>
				</TD>
				<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
			</TR>
		</TABLE>
	</xsl:template>

</xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. -->