NMMS#41014 QR rapport genereert geen codes
svn path=/Website/branches/v2017.1/; revision=34380
This commit is contained in:
@@ -1349,5 +1349,57 @@ Voor nadere informatie kunt u contact opnemen met de Servicedesk: Tel nr: 085-00
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="@view = 'aaxx_v_rap_mld_qrc' or @view = 'AAXX_V_RAP_MLD_QRC'">
|
||||
<xsl:variable name="p_rows" select="3"/>
|
||||
<xsl:variable name="p_cols" select="2"/>
|
||||
|
||||
<table>
|
||||
<tr height="200">
|
||||
<td width="50%" align="center">
|
||||
<span style="font-size:24pt;color:#000000">QR-codes</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="200">
|
||||
<td width="50%" align="center">
|
||||
<span style="font-size:24pt;color:#000000">object-meldingen</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="200">
|
||||
<td width="50%" align="center">
|
||||
<span style="font-size:24pt;color:#000000">(startpagina tbv. uitlijning)</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<xsl:for-each select="//facilitor/rapport/rapport_data/data_row">
|
||||
<xsl:sort select="FCLT_F_SOORTMELDING"/>
|
||||
<xsl:sort select="FCLT_F_LOCATIE"/>
|
||||
<xsl:sort select="FCLT_F_GEBOUW"/>
|
||||
<xsl:sort select="FCLT_F_VERDIEPING"/>
|
||||
<xsl:sort select="PLAATS"/>
|
||||
<xsl:sort select="FCLT_F_OBJECTGROEP"/>
|
||||
<xsl:sort select="FCLT_F_OBJECTSOORT"/>
|
||||
<xsl:sort select="INS_DEEL_OMSCHRIJVING"/>
|
||||
<xsl:if test="position() mod ($p_rows * $p_cols) = 0">
|
||||
<div style="page-break-before:always"> </div>
|
||||
<xsl:comment>=== Na elke 2 records (2x1 passen op 1 A4) =====</xsl:comment>
|
||||
<xsl:call-template name="qrc_ins_new_page">
|
||||
<xsl:with-param name="p_page" select="floor(position() div ($p_rows * $p_cols))"/>
|
||||
<xsl:with-param name="p_rows" select="$p_rows"/>
|
||||
<xsl:with-param name="p_cols" select="$p_cols"/>
|
||||
</xsl:call-template>
|
||||
</xsl:if>
|
||||
<xsl:if test="position() = last() and position() mod ($p_rows * $p_cols) != 0 ">
|
||||
<div style="page-break-before:always"> </div>
|
||||
<xsl:comment>=== De laatste paar, zijn minder dan 2 =====</xsl:comment>
|
||||
<xsl:call-template name="qrc_ins_new_page">
|
||||
<xsl:with-param name="p_page" select="floor((position() div ($p_rows * $p_cols)) + 1)"/>
|
||||
<xsl:with-param name="p_rows" select="$p_rows"/>
|
||||
<xsl:with-param name="p_cols" select="$p_cols"/>
|
||||
</xsl:call-template>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
Reference in New Issue
Block a user