MARX#38735: Lange (opdracht)omschrijvingen voldoen niet aan ketenstandaard.nl

svn path=/Website/branches/v2016.2/; revision=31962
This commit is contained in:
Marcel Bourseau
2016-12-14 09:27:01 +00:00
parent 1b7965f61e
commit 5cc9da27b4

View File

@@ -99,8 +99,8 @@
<!-- Zie MARX#37078: Opdrachtomschrijving ook in de node in InstructionData/FreeText -->
<FreeText>
<xsl:choose>
<xsl:when test="kenmerk[@key=12] != ''"><xsl:value-of select="kenmerk[@key='12']"/></xsl:when>
<xsl:otherwise><xsl:value-of select="omschrijving"/></xsl:otherwise>
<xsl:when test="kenmerk[@key=12] != ''"><xsl:value-of select="substring(normalize-space(kenmerk[@key='12']),1,1000)"/></xsl:when>
<xsl:otherwise><xsl:value-of select="substring(normalize-space(omschrijving),1,1000)"/></xsl:otherwise>
</xsl:choose>
</FreeText>
<!-- SIDB - Gegevens waarmee gerefereerd wordt aan een contract. Optioneel -->
@@ -129,7 +129,7 @@
<City><xsl:value-of select="melding/kenmerk[@key='4']"/></City>
<!-- SIDB - Tekstveld met de naam van de huismeester of huurder die de onderhoudsmelding heeft gedaan. Optioneel, C(35) -->
<!-- Melding kenmerk key 1 is huurder -->
<ContactPersonName><xsl:value-of select="melding/kenmerk[@key='1']"/></ContactPersonName>
<ContactPersonName><xsl:value-of select="substring(melding/kenmerk[@key='1'],1,35)"/></ContactPersonName>
<!-- SIDB - Nummer waarmee via de telefoon contact kan worden opgenomen. Optioneel, C(20) -->
<!-- Melding kenmerk key 5 is telefoon van huurder -->
<PhoneNumber1><xsl:value-of select="melding/kenmerk[@key='5']"/></PhoneNumber1>
@@ -180,8 +180,8 @@
<xsl:with-param name="p_NormPriceCode" select="''"/>
<xsl:with-param name="p_Area" select="melding/kenmerk[@key='6']"/>
<xsl:with-param name="p_ShortDescription" select="substring(normalize-space(omschrijving),1,35)"/>
<xsl:with-param name="p_LongDescription" select="info"/>
<xsl:with-param name="p_FreeText" select="extra3"/>
<xsl:with-param name="p_LongDescription" select="substring(normalize-space(info),1,70)"/>
<xsl:with-param name="p_FreeText" select="substring(normalize-space(extra3),1,1000)"/>
</xsl:call-template>
</InstructionLine>
</xsl:for-each>
@@ -196,16 +196,16 @@
<xsl:with-param name="p_NormPriceCode" select="''"/>
<xsl:with-param name="p_Area" select="melding/kenmerk[@key='6']"/>
<xsl:with-param name="p_ShortDescription" select="substring(normalize-space(omschrijving),1,35)"/>
<xsl:with-param name="p_LongDescription">
<xsl:with-param name="p_LongDescription" select="substring(normalize-space(omschrijving),1,70)"/>
<xsl:with-param name="p_FreeText">
<!-- als memo veld (key 12) is gevuld, dan gaan we die tonen, anders de opdrachtomschrijving (waar de memo ook in zit, dit is alleen bij oude opdrachten van voor release MARX07 -->
<xsl:choose>
<xsl:when test="kenmerk[@key=12] != ''"><xsl:value-of select="kenmerk[@key=12]"/></xsl:when>
<xsl:otherwise><xsl:value-of select="omschrijving"/></xsl:otherwise>
</xsl:choose>
</xsl:with-param>
<xsl:with-param name="p_FreeText" select="''"/>
<xsl:when test="kenmerk[@key=12] != ''"><xsl:value-of select="substring(normalize-space(kenmerk[@key=12]),1,1000)"/></xsl:when>
<xsl:otherwise><xsl:value-of select="substring(normalize-space(omschrijving),1,1000)"/></xsl:otherwise>
</xsl:choose>
</xsl:with-param>
</xsl:call-template>
</InstructionLine>
</InstructionLine>
</xsl:otherwise>
</xsl:choose>
</InstructionData>