NMPC#39478 -- Badgeprint voor bezoekers
svn path=/Website/branches/v2017.2/; revision=36518
This commit is contained in:
@@ -638,6 +638,88 @@
|
|||||||
</TABLE>
|
</TABLE>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="bezoeker" mode="full">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$mode='summary'"></xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$srtnotificatiecode = 'BEZBAD'">
|
||||||
|
<xsl:apply-templates select="." mode="badge"/>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<html>
|
||||||
|
<xsl:comment>================================ BEZOEKER ==============================</xsl:comment>
|
||||||
|
<xsl:comment>FACILITOR default XSL template for bezoeker</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:apply-templates select="." mode="include"/>
|
||||||
|
<xsl:call-template name="pagefooter"/>
|
||||||
|
</xsl:element>
|
||||||
|
</html>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="bezoeker" mode="badge">
|
||||||
|
<html>
|
||||||
|
<xsl:call-template name="htmlhead"/>
|
||||||
|
<style>@page { size: auto; /* auto is the initial value */
|
||||||
|
margin: 0mm 0mm 0mm 5mm;
|
||||||
|
}</style>
|
||||||
|
<xsl:element name="body">
|
||||||
|
<xsl:if test="$mode!='email'">
|
||||||
|
<xsl:attribute name="onload">window.print();</xsl:attribute>
|
||||||
|
</xsl:if>
|
||||||
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="300px">
|
||||||
|
<tr>
|
||||||
|
<td colspan="4" style="text-align:left;">
|
||||||
|
<xsl:element name="img">
|
||||||
|
<xsl:attribute name="width">300px</xsl:attribute>
|
||||||
|
<xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/xsl/nid.png</xsl:attribute>
|
||||||
|
</xsl:element>
|
||||||
|
</td>
|
||||||
|
<tr>
|
||||||
|
<td> </td>
|
||||||
|
<td style="height: 1px"><hr color="#000000"/></td>
|
||||||
|
</tr>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:right; font-size:12px; font-weight: normal;">Visitor:  </td>
|
||||||
|
<td style="text-align:left; font-size:12px; font-weight: bold;"><xsl:value-of select="naam"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="height: 1px"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:right; font-size:12px; font-weight: normal;">Company:  </td>
|
||||||
|
<td style="text-align:left; font-size:12px; font-weight: bold;"><xsl:value-of select="bedrijf"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="height: 1px"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:right; font-size:12px; font-weight: normal;">Host:  </td>
|
||||||
|
<td style="text-align:left; font-size:12px; font-weight: bold;"><xsl:value-of select="afspraak/host_user/naam_full"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="height: 5px"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td/>
|
||||||
|
<td style="text-align:left; font-size:22px; color:#000000;font-weight: bold; normal;">
|
||||||
|
Guest / Visitor
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</TABLE>
|
||||||
|
</xsl:element>
|
||||||
|
</html>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="key">
|
<xsl:template match="key">
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|||||||
BIN
CUST/NMPC/xsl/nid.png
Normal file
BIN
CUST/NMPC/xsl/nid.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 94 KiB |
Reference in New Issue
Block a user