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

	<xsl:template name="adres">
	 <tr>
	 	<td height="20px">
	 	</td>
	 </tr>
	 <tr>
		 <td class="caption" style="text-align:right;padding-bottom:0px; padding-top:0px;">
		 <xsl:value-of select="descendant::*/bedrijf/contact_persoon"/>
		<br/>
		 </td>
	 </tr>
	<tr>
		 <td class="adres" style="padding-bottom:0px">
		 <xsl:value-of select="descendant::*/bedrijf/bezoek_adres"/>
		<br/>
		<xsl:value-of select="descendant::*/bedrijf/bezoek_postcode"/>&#xA0;
		<xsl:value-of select="descendant::*/bedrijf/bezoek_plaats"/>
		<br/>
		<xsl:value-of select="descendant::*/bedrijf/telefoon"/>
		<br/>
		<xsl:value-of select="descendant::*/bedrijf/email"/>
		 </td>
	 </tr>	
	</xsl:template>

	<xsl:template name="header">
		<xsl:param name="node"/>
		<table cellpadding="0" cellspacing="0" border="10" width="100%" bordercolor="#000000">
			<tr>
				<td width="50%" style="text-align:justify" bordercolor="#FFFFFF">
					<xsl:choose>
						<xsl:when test="$mode='email'">
							<img src="cid:tmpl_logo.gif" width="400px"/>
						</xsl:when>
						<xsl:otherwise>
							<xsl:element name="img">
								<xsl:attribute name="src">../cust/<xsl:value-of select="//header/custId"/>/tmpl_logo.gif</xsl:attribute>
								<xsl:attribute name="width">400px</xsl:attribute>
							</xsl:element>
						</xsl:otherwise>
					</xsl:choose>
				</td>
				<td style="vertical-align:bottom">
					<xsl:choose>
						<xsl:when test="$node='opdr'">
							<table border="0" width="100%" bordercolor="#EEEEEE">
								<xsl:call-template name="adres"/>
							</table>
						</xsl:when>

						<xsl:otherwise>
							<table border="0" width="100%" bordercolor="#EEEEEE">
								<xsl:call-template name="adres"/>
							</table>
						</xsl:otherwise>
					</xsl:choose>
				</td>
			</tr>
		</table>
	</xsl:template>


	<xsl:template match="opdracht" mode="full">
		<html>
			<xsl:comment>================================ OPDRACHTEN ==============================</xsl:comment>
			<xsl:call-template name="htmlhead"/>
			<style>TABLE {
      border: 0;
	  border-spacing: 8px;
    }
    td {
      font-family: Tahoma,Verdana;
	  color: #000000;
	  text-align: left;
	}

     td.label {
      font-style: normal;
      font-size: 10pt;
     }

	  td.labelright {
      text-align: right;
     }

	  td.labelbold {
      font-weight: bold;
     }
    
    td.value {
      font-size: 10pt;
	  border: 1px solid #C0C0C0;
    
    

    }</style>
			<body onload="/*print_report();*/">



				<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
					<TR>
						<TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"></TD>
						<TD>
							<xsl:call-template name="header">
								<xsl:with-param name="node">opdr</xsl:with-param>
							</xsl:call-template>

							<table border="0" width="100%" CELLSPACING="8" bordercolor="#000000">
								<tr>
									<td align="left" width="100%" class="caption" colspan="5">Intake formulier verhuizing <xsl:value-of select="melding/discipline/srtdiscipline/prefix"/><xsl:value-of select="melding/key"/>/<xsl:value-of select="bedrijfopdr_volgnr"/><xsl:if test="melding/spoed!='0'">&#xA0;<b>SPOED!</b></xsl:if></td>
								</tr>
								<tr>
									<td class="labelbold" colspan="5">Aanvrager:</td>
								</tr>
								<tr>
									<td class="label" colspan="2">Naam:</td>
									<td class="value" colspan="3">&#xA0;
										<xsl:value-of select="melding/voor/naam_full"/>
									</td>
								</tr>
								<tr>
									<td class="label" colspan="2">Functie:</td>
									<td class="value" colspan="3">&#xA0;
										<xsl:value-of select="melding/voor/srtperslid/omschrijving"/>
									</td>
								</tr>
								<tr>
									<td class="label" colspan="2">Afdeling/Kostenplaats:</td>
									<td class="value" colspan="3">&#xA0;
										<xsl:value-of select="kostenplaats/nr"/>-<xsl:value-of select="kostenplaats/omschrijving"/></td>
								</tr>
								<tr>
									<td class="label" colspan="2">Telefoon:</td>
									<td class="value">&#xA0;
										<xsl:value-of select="melding/voor/telefoonnr"/>
									</td>
									<td class="label">Mobiel:</td>
									<td class="value">&#xA0;
										<xsl:value-of select="melding/voor/mobiel"/>
									</td>
								</tr>
								<tr>
									<td class="label" colspan="2">Email:</td>
									<td class="value">&#xA0;
										<xsl:value-of select="melding/voor/email"/>
									</td>
									<td class="label">Pandcode:</td>
									<td class="value">&#xA0;
										<xsl:value-of select="melding/voor/werkplek/plaats/regio/district/locatie/gebouw/code"/>
									</td>
								</tr>

								<tr>
									<td class="labelbold" colspan="5">Contactpersoon verhuizing:</td>
								</tr>
								<tr>
									<td class="label" colspan="2">Naam:</td>
									<td class="value" colspan="3">&#xA0;
										<xsl:value-of select="melding/kenmerk[@naam='Naam']"/>
									</td>
								</tr>
								<tr>
									<td class="label" colspan="2">Mobielnummer:</td>
									<td class="value" colspan="1">&#xA0;
										<xsl:value-of select="melding/kenmerk[@naam='Mobiel nr.']"/>
									</td>
									<td colspan="2"></td>
								</tr>
								<tr>
									<td class="label" colspan="2">Email:</td>
									<td class="value" colspan="3">&#xA0;
										<xsl:value-of select="melding/kenmerk[@naam='Email']"/>
									</td>
								</tr>
								<tr>
									<td class="labelbold" colspan="2">Gewenste datum verhuizing:</td>
									<td class="value" colspan="1">&#xA0;
										<xsl:value-of select="melding/kenmerk[@naam='Gewenste datum verhuizing']"/>
									</td>
									<td colspan="2"></td>
								</tr>
								<tr>
									<td class="labelbold" colspan="1">Van:</td>
									<td class="label" colspan="1">pandcode:</td>
									<td class="value" colspan="1">&#xA0;
										<xsl:value-of select="melding/kenmerk[@volgnummer='12']"/>
									</td>
									<td class="label" colspan="1">etage:</td>
									<td class="value" colspan="1">&#xA0;
										<xsl:value-of select="melding/kenmerk[@volgnummer='13']"/>
									</td>
								</tr>
								<tr>
									<td class="labelbold" colspan="1">Naar:</td>
									<td class="label" colspan="1">pandcode:</td>
									<td class="value" colspan="1">&#xA0;
										<xsl:value-of select="melding/kenmerk[@volgnummer='15']"/>
									</td>
									<td class="label" colspan="1">etage:</td>
									<td class="value" colspan="1">&#xA0;
										<xsl:value-of select="melding/kenmerk[@volgnummer='16']"/>
									</td>
								</tr>
								<tr>
									<td class="labelbold" colspan="2">Indicatie aantal te verhuizen medewerkers:</td>
									<td class="value" colspan="1">&#xA0;
										<xsl:value-of select="melding/kenmerk[@naam='Indicatie aantal te verhuizen medewerkers']"/>
									</td>
									<td colspan="2"></td>
								</tr>
								<tr height="50">
									<td colspan="5"></td>
								</tr>
								<tr>
									<td colspan="5">
										<table width="100%">
											<tr>
												<td style="width:40%" class="label">Handtekening klant:</td>
												<td style="width:20%"></td>
												<td style="width:40%" class="label">Handtekening leverancier:</td>
											</tr>

											<tr height="100">
												<td class="value">&#xA0;</td>
												<td></td>
												<td class="value">&#xA0;</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</TD>
						<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"></TD>
					</TR>
				</TABLE>

				<xsl:call-template name="pagefooter"/>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2006. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="file:///h:/UWVAopdracht93223.xml" htmlbaseurl="" outputurl="" processortype="internal" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
</metaInformation>
-->