CONN#57009 -- Omzetten CONN naar SaaS
svn path=/Website/branches/v2019.1/; revision=42038
This commit is contained in:
File diff suppressed because it is too large
Load Diff
328
CUST/CONN/xsl/melding.xsl
Normal file
328
CUST/CONN/xsl/melding.xsl
Normal file
@@ -0,0 +1,328 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
|
||||
<xsl:import href="../../../appl/shared/default.xsl"/>
|
||||
<xsl:variable name="Rev">
|
||||
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:template name="pageheader">
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td width="34%" bordercolor="#FFFFFF" align="center">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$mode='email'">
|
||||
<xsl:choose>
|
||||
<xsl:when test="/facilitor/melding/discipline/key = '1961'">
|
||||
<img src="cid:tmpl_logo_tsn.gif"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<img src="cid:tmpl_logo.gif"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="/facilitor/melding/discipline/key = '1961'">
|
||||
<xsl:element name="img">
|
||||
<xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/tmpl_logo_tsn.gif</xsl:attribute>
|
||||
</xsl:element>
|
||||
</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:element>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<td width="33%"></td>
|
||||
<td width="33%" align="right" valign="bottom" style="text-align:right">
|
||||
<b>Afdrukdatum: </b>
|
||||
<xsl:value-of select="//header/dateTime"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<xsl:template match="melding" mode="include">
|
||||
<xsl:variable name="Inkooporder">
|
||||
<xsl:choose>
|
||||
<xsl:when test="discipline/srtdiscipline/key = '321'">Bestelbon TSN</xsl:when>
|
||||
<xsl:otherwise>0</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<table border="0" width="100%" cellpadding="2">
|
||||
<tr>
|
||||
<td colspan="2" class="caption" style="padding-top:20px;padding-bottom:20px">
|
||||
<b>
|
||||
<xsl:if test="$Inkooporder!=0">Opdracht</xsl:if>
|
||||
<xsl:if test="$Inkooporder=0">Melding</xsl:if>
|
||||
 <xsl:value-of select="discipline/srtdiscipline/prefix"/>
|
||||
<xsl:value-of select="key"/>
|
||||
</b> 
|
||||
<xsl:if test="geprint = 1">(kopie)</xsl:if>
|
||||
</td>
|
||||
<td colspan="2" class="caption" style="padding-top:20px;padding-bottom:20px">
|
||||
<xsl:if test="spoed<3">
|
||||
<b>SPOED!</b>
|
||||
</xsl:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="16%">
|
||||
<b>Aanvrager:</b>
|
||||
</td>
|
||||
<td align="left" width="34%">
|
||||
<xsl:value-of select="voor/naam_full"/>
|
||||
</td>
|
||||
<td align="right" width="16%">
|
||||
<b>Telefoon:</b>
|
||||
</td>
|
||||
<td align="left" width="34%">
|
||||
<xsl:if test="voor/telefoonnr=''">-</xsl:if>
|
||||
<xsl:value-of select="voor/telefoonnr"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b>Locatie:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/code"/> 
|
||||
<xsl:if test="voor/werkplek/plaats/regio/district/locatie/omschrijving!=''">(<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/omschrijving"/>)</xsl:if>
|
||||
</td>
|
||||
<td align="right" valign="top">
|
||||
<b>Afdeling:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="voor/afdeling/omschrijving"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" valign="top">
|
||||
<b>Werkplek:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/code"/>-<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/naam"/><br/>
|
||||
<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/code"/>.<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/> 
|
||||
<xsl:if test="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''">(<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if>
|
||||
</td>
|
||||
<td colspan="2"/>
|
||||
</tr>
|
||||
<tr height="40px">
|
||||
<td colspan="4">
|
||||
<hr/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b>Locatie:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="plaats/regio/district/locatie/code"/> 
|
||||
<xsl:if test="plaats/regio/district/locatie/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/omschrijving"/>)</xsl:if>
|
||||
</td>
|
||||
<td align="right">
|
||||
<b>Melddatum:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="gemeld/datum"/> 
|
||||
<xsl:value-of select="gemeld/tijd"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="plaats/@type='T'">
|
||||
<td align="right">
|
||||
<b>Terrein:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="plaats/regio/district/locatie/terrein/code"/>-<xsl:value-of select="plaats/regio/district/locatie/terrein/naam"/></td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td align="right">
|
||||
<b>Gebouw:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="plaats/regio/district/locatie/gebouw/code"/>-<xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/></td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<td align="right">
|
||||
<b>Ordernr:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="kenmerk[@naam='Ordernr']"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:if test="plaats/@type='T' or plaats/@type='G'">
|
||||
<td colspan="2"/>
|
||||
</xsl:if>
|
||||
<xsl:if test="plaats/@type!='T' and plaats/@type!='G'">
|
||||
<td align="right">
|
||||
<b>Bouwlaag:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/code"/> 
|
||||
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/omschrijving"/>)</xsl:if>
|
||||
</td>
|
||||
</xsl:if>
|
||||
<td align="right">
|
||||
<b>Uitvoertijd:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="uitvoertijd"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="uitvoertijd[@eenheid='U']"> <xsl:value-of select="//lcl/MLD/uren"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise> <xsl:value-of select="//lcl/FAC/dagen"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:if test="plaats/@type='R'">
|
||||
<td align="right" valign="top">
|
||||
<b>Ruimte:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/> 
|
||||
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if>
|
||||
</td>
|
||||
</xsl:if>
|
||||
<xsl:if test="plaats/@type!='R'">
|
||||
<td colspan="2"/>
|
||||
</xsl:if>
|
||||
<td align="right">
|
||||
<b>Status:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="status"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="30px">
|
||||
<td colspan="4"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b>Melding:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:if test="stdmelding/omschrijving=''">-</xsl:if>
|
||||
<xsl:value-of select="stdmelding/omschrijving"/>
|
||||
</td>
|
||||
<td align="right">
|
||||
<b>Vakgroep:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:if test="discipline/omschrijving=''">-</xsl:if>
|
||||
<xsl:value-of select="discipline/omschrijving"/>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:comment>als we binnen een opdracht zijn, tonen we de meldingtekst niet</xsl:comment>
|
||||
<tr>
|
||||
<td align="right" valign="top">
|
||||
<b>Omschrijving:</b>
|
||||
</td>
|
||||
<td align="left" colspan="3">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:for-each select="kenmerk[@type!='L' and @type!='Q']">
|
||||
<xsl:sort select="@volgnummer" data-type="number"/>
|
||||
<xsl:if test=".!=''">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b>
|
||||
<xsl:value-of select="@naam"/>:</b>
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<xsl:value-of select="."/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:if test="/facilitor/melding/discipline/key = '1961'">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b>Factuuradres:</b>
|
||||
</td>
|
||||
<td align="left">Connexxion Techno Service Nederland<br/>
|
||||
Postbus 57<br/>
|
||||
2770 AB  Boskoop</td>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="count(deel)>0">
|
||||
<xsl:for-each select="deel">
|
||||
<xsl:sort select="omschrijving"/>
|
||||
<tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1">
|
||||
<td align="right" valign="top">
|
||||
<b>Objecten:</b>
|
||||
</td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<td align="left" valign="top">
|
||||
<xsl:value-of select="omschrijving"/>
|
||||
</td>
|
||||
<td colspan="2" valign="top">
|
||||
<xsl:comment>NADER TE DEFINIEREN</xsl:comment>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
<xsl:if test="opmerking!=''">
|
||||
<tr>
|
||||
<td align="right" valign="top">
|
||||
<b>Opmerking:</b>
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="opmerking"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="$Inkooporder!=0">
|
||||
<tr>
|
||||
<td colspan="4">Op leveringen die gedaan zijn op basis van dit formulier zijn onze algemene leveringsvoorwaarden van toepassing. Indien sprake is van een mantelovereenkomst geschiedt deze order onder de bepalingen uit de mantelovereenkomst. Facturen zonder vermelding van kostenplaats (<xsl:value-of select="kostenplaats/nr"/>) worden niet in behandeling genomen.</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$mode='getExtension'">
|
||||
<xsl:element name="format">
|
||||
<xsl:element name="extension">html</xsl:element>
|
||||
</xsl:element>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates select="facilitor"/>
|
||||
|
||||
<xsl:apply-templates select="portfolie"/>
|
||||
<xsl:apply-templates select="rental_mutation"/>
|
||||
<xsl:apply-templates select="cXML"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved.
|
||||
<metaInformation>
|
||||
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\TEMP\CONN_files\opdracht59249_20140605095632.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>
|
||||
-->
|
||||
2161
CUST/CONN/xsl/opdracht.xsl
Normal file
2161
CUST/CONN/xsl/opdracht.xsl
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user