HPJI#38363 gebouwkostenplaats (conditioneel) op opdrachtbon

svn path=/Website/branches/v2016.2/; revision=31879
This commit is contained in:
Ruud Lipper
2016-12-07 12:04:58 +00:00
parent 6929b0ae8d
commit 964b728d55

View File

@@ -1085,11 +1085,24 @@
</tr>
<tr>
<td colspan="2">Locatie: <xsl:value-of select="melding/voor/werkplek/plaats/regio/district/locatie/code"/> (<xsl:value-of select="melding/voor/werkplek/plaats/regio/district/locatie/omschrijving"/>)</td>
<!-- als er een gebouw kostenplaats bestaat en de uitvoerende is klus2fix (32840) dan tonen we alleen de gebouwkostenplaats -->
<xsl:choose>
<xsl:when test="melding/plaats/regio/district/locatie/gebouw/kostenplaats/nr and uitvoerende/bedrijf/key=32840">
<td colspan="2"/>
</xsl:when>
<xsl:otherwise>
<td colspan="2">Kostenplaats: <xsl:value-of select="kostenplaats/nr"/>&#xA0;(<xsl:value-of select="kostenplaats/omschrijving"/>)</td>
</xsl:otherwise>
</xsl:choose>
</tr>
<tr>
<td colspan="2">Telefoon: 050-851<xsl:value-of select="melding/voor/telefoonnr"/></td>
<td colspan="2"/>
<xsl:choose>
<xsl:when test="melding/plaats/regio/district/locatie/gebouw/kostenplaats/nr">
<td colspan="2">Gebouwkostenplaats: <xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kostenplaats/nr"/>&#xA0;(<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kostenplaats/omschrijving"/>)</td>
</xsl:when>
<xsl:otherwise><td colspan="2"/></xsl:otherwise>
</xsl:choose>
</tr>
</table>
<table border="0" width="100%" cellpadding="2">