AKZA#37894 lay out print V + badge
svn path=/Website/branches/v2016.2/; revision=31268
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
|
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<xsl:variable name="Xsrtnotificatiecode">CUST04</xsl:variable>
|
<xsl:variable name="Xsrtnotificatiecode">BEZBAD</xsl:variable>
|
||||||
|
|
||||||
<xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'" />
|
<xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'" />
|
||||||
<xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
|
<xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
|
||||||
@@ -2290,6 +2290,124 @@ p.MsoNormal {
|
|||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="bezoeker" mode="full">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$srtnotificatiecode = 'BEZBAD'">
|
||||||
|
<xsl:apply-templates select="." mode="badge"/>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:apply-imports/>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="bezoeker" mode="badge">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
|
||||||
|
<!--Generic Facilitor HTML head for ANY report-->
|
||||||
|
<meta http-equiv="pragma" content="no-cache"/>
|
||||||
|
<meta http-equiv="expires" content="0"/>
|
||||||
|
<meta http-equiv="cache-control" content="no-cache"/>
|
||||||
|
<title><xsl:value-of select="//lcl/FAC/facilitorformulier"/></title>
|
||||||
|
<xsl:call-template name="stylesheet"/>
|
||||||
|
<style>
|
||||||
|
html,body {
|
||||||
|
padding:0; margin:0;
|
||||||
|
border: none;
|
||||||
|
width:85mm; height:52mm;
|
||||||
|
position: absolute;
|
||||||
|
font-family: Calibri, Tahoma, Verdana, Arial;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
div {
|
||||||
|
position: absolute;
|
||||||
|
left: 8mm;
|
||||||
|
width: 75mm;
|
||||||
|
margin: 0; padding: 0;
|
||||||
|
vertical-align: top;
|
||||||
|
font-size: 12pt;
|
||||||
|
font-weight: normal;
|
||||||
|
line-height: 5mm;
|
||||||
|
color: #000;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
div#header {
|
||||||
|
width: 67mm;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 20pt;
|
||||||
|
line-height: 8mm;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
div#naam {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 16pt;
|
||||||
|
line-height: 6mm;
|
||||||
|
top: 10mm;
|
||||||
|
}
|
||||||
|
div#datum {
|
||||||
|
top: 24mm;
|
||||||
|
}
|
||||||
|
div#gastheer {
|
||||||
|
top: 30mm;
|
||||||
|
}
|
||||||
|
div#footer {
|
||||||
|
top: 40mm;
|
||||||
|
left: 0;
|
||||||
|
height: 12mm;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer img {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<xsl:element name="body">
|
||||||
|
<xsl:attribute name="onload">window.print();</xsl:attribute>
|
||||||
|
<div id="header">Bezoeker</div>
|
||||||
|
<div id="naam"><xsl:value-of select="naam"/><br/><xsl:value-of select="bedrijf"/></div>
|
||||||
|
<div id="datum"><xsl:value-of select="afspraak/datum/datum"/></div>
|
||||||
|
<div id="gastheer">Bezoekt: <xsl:value-of select="afspraak/gastheer"/><br/><xsl:value-of select="pasnr"/></div>
|
||||||
|
<div id="footer">
|
||||||
|
<xsl:element name="img">
|
||||||
|
<xsl:attribute name="id">footer</xsl:attribute>
|
||||||
|
<xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/tmpl_logo.gif</xsl:attribute>
|
||||||
|
</xsl:element>
|
||||||
|
</div>
|
||||||
|
</xsl:element>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="bezoeker" mode="badge2">
|
||||||
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" style="width: 75mm; height: 44mm;">
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:center; font-size:10pt; font-weight: bold; height: 7mm;"><xsl:value-of select="//lcl/BEZ/bezoeker"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left; font-size:8pt; font-weight: bold; height:5mm;"><xsl:value-of select="naam"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left; font-size:8pt; font-weight: bold; height:5mm;"><xsl:value-of select="bedrijf"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left; font-size:8pt; height:7mm;"><xsl:value-of select="afspraak/datum/datum"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left; font-size:8pt; height:7mm;">Bezoekt: <xsl:value-of select="afspraak/gastheer"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left; font-size:8pt; height:5mm;"><xsl:value-of select="pasnr"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:center;">
|
||||||
|
<xsl:element name="img">
|
||||||
|
<xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/tmpl_logo.gif</xsl:attribute>
|
||||||
|
<xsl:attribute name="height">10mm</xsl:attribute>
|
||||||
|
</xsl:element>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</TABLE>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="reservering" mode="include">
|
<xsl:template match="reservering" mode="include">
|
||||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
|
||||||
<TR>
|
<TR>
|
||||||
|
|||||||
Reference in New Issue
Block a user