svn path=/Website/branches/v2019.1/; revision=42325
This commit is contained in:
Daan Brandt
2019-05-01 08:52:29 +00:00
parent cc641b4147
commit 48810ca087

View File

@@ -139,6 +139,92 @@
</style>
</xsl:template>
<xsl:template name="pageheader">
<xsl:variable name="lev5">
<xsl:value-of select="//voor/afdeling/parent/parent/parent/parent/bedrijf/key"/>
</xsl:variable>
<xsl:variable name="lev4">
<xsl:value-of select="//voor/afdeling/parent/parent/key"/>
</xsl:variable>
<xsl:variable name="lev3">
<xsl:value-of select="//voor/afdeling/parent/key"/>
</xsl:variable>
<xsl:variable name="lev2">
<xsl:value-of select="//voor/afdeling/key"/>
</xsl:variable>
<xsl:variable name="lev1">
<xsl:value-of select="//voor/afdeling/bedrijf/key"/>
</xsl:variable>
<xsl:variable name="res5">
<xsl:value-of select="//host_user/afdeling/parent/parent/parent/parent/bedrijf/key"/>
</xsl:variable>
<xsl:variable name="res4">
<xsl:value-of select="//host_user/afdeling/parent/parent/key"/>
</xsl:variable>
<xsl:variable name="res3">
<xsl:value-of select="//host_user/afdeling/parent/key"/>
</xsl:variable>
<xsl:variable name="res2">
<xsl:value-of select="//host_user/afdeling/key"/>
</xsl:variable>
<xsl:variable name="res1">
<xsl:value-of select="//host_user/afdeling/bedrijf/key"/>
</xsl:variable>
<xsl:variable name="isWxl">
<xsl:choose>
<xsl:when test="$lev5='721'">1</xsl:when>
<xsl:when test="$lev4='721'">1</xsl:when>
<xsl:when test="$lev3='721'">1</xsl:when>
<xsl:when test="$lev2='721'">1</xsl:when>
<xsl:when test="$lev1='721'">1</xsl:when>
<xsl:when test="$res5='721'">1</xsl:when>
<xsl:when test="$res4='721'">1</xsl:when>
<xsl:when test="$res3='721'">1</xsl:when>
<xsl:when test="$res2='721'">1</xsl:when>
<xsl:when test="$res1='721'">1</xsl:when>
<xsl:otherwise>0</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<table border="0" width="100%">
<tr>
<td width="34%" bordercolor="#FFFFFF">
<xsl:choose>
<xsl:when test="$mode='email'">
<xsl:if test="$isWxl=1">
<img src="cid:tmpl_logo-weenerxl.gif"/>
</xsl:if>
<xsl:if test="$isWxl != 1">
<img src="cid:tmpl_logo.gif"/>
</xsl:if>
</xsl:when>
<xsl:otherwise>
<xsl:if test="$isWxl=1">
<xsl:element name="img">
<xsl:attribute name="class">flogoimg</xsl:attribute>
<xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/tmpl_logo-weenerxl.gif</xsl:attribute>
</xsl:element>
</xsl:if>
<xsl:if test="$isWxl != 1">
<xsl:element name="img">
<xsl:attribute name="class">flogoimg</xsl:attribute>
<xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/tmpl_logo.gif</xsl:attribute>
</xsl:element>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</td>
<td width="33%"></td>
<td width="33%" align="right" valign="bottom" style="text-align:right" class="fheaddate">
<b><xsl:value-of select="//lcl/FAC/printdatum"/>:&#xA0;</b>
<xsl:value-of select="//header/dateTime"/>
</td>
</tr>
</table>
</xsl:template>
<xsl:template name="prijsEx">
<xsl:param name="prijsInc" select="0"/>
<xsl:param name="btw" select="0"/>