Refactored comparison operator for ChargeIndicator

This commit is contained in:
trashcandrummer
2020-02-12 16:36:54 +01:00
parent 1869e67f4d
commit 9f507eaaab

View File

@@ -1007,7 +1007,7 @@ Kosten, Verluste bzw. Schäden hätte normalerweise vorhergesehen werden können
<xsl:for-each select="ram:ChargeIndicator">
<xsl:for-each select="udt:Indicator">
<span>
<xsl:value-of select="if (. eq fn:true())then &apos;Zuschlag&apos; else &apos;Abschlag&apos;"/>
<xsl:value-of select="if (. = fn:true())then &apos;Zuschlag&apos; else &apos;Abschlag&apos;"/>
</span>
</xsl:for-each>
</xsl:for-each>
@@ -1924,7 +1924,7 @@ Kosten, Verluste bzw. Schäden hätte normalerweise vorhergesehen werden können
<xsl:for-each select="ram:ChargeIndicator">
<xsl:for-each select="udt:Indicator">
<span>
<xsl:value-of select="if (. eq fn:true())then &apos;Zuschlag&apos; else &apos;Abschlag&apos;"/>
<xsl:value-of select="if (. = fn:true())then &apos;Zuschlag&apos; else &apos;Abschlag&apos;"/>
</span>
</xsl:for-each>
</xsl:for-each>
@@ -1982,7 +1982,7 @@ Kosten, Verluste bzw. Schäden hätte normalerweise vorhergesehen werden können
<xsl:for-each select="ram:ActualAmount">
<span>
<xsl:variable name="altova:seqContentStrings_37">
<xsl:value-of select="format-number(number(if (../ram:ChargeIndicator/udt:Indicator eq fn:true()) then . else -1 * .), '##0,00', 'format1')"/>
<xsl:value-of select="format-number(number(if (../ram:ChargeIndicator/udt:Indicator = fn:true()) then . else -1 * .), '##0,00', 'format1')"/>
</xsl:variable>
<xsl:variable name="altova:sContent_37" select="string($altova:seqContentStrings_37)"/>
<xsl:value-of select="$altova:sContent_37"/>