Bestellnummer und Lieferfirma auf Übernahmebestätigung

This commit is contained in:
Manfred Kindl
2018-02-26 17:45:07 +01:00
parent bf005a54a7
commit 3e92378922
3 changed files with 36 additions and 14 deletions
+27 -12
View File
@@ -222,20 +222,35 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
<text:p text:style-name="P18">Bestellnummer</text:p>
</table:table-cell>
<table:table-cell table:style-name="Tabelle2.B1" office:value-type="string">
<text:p text:style-name="P17"><xsl:value-of select="bestellnummer" /></text:p>
<text:p text:style-name="P17">
<xsl:choose>
<xsl:when test="bestellnummer=''">
<xsl:text>-</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="bestellnummer" />
</xsl:otherwise>
</xsl:choose>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Tabelle2.A1" office:value-type="string">
<text:p text:style-name="P18">Firma</text:p>
</table:table-cell>
<table:table-cell table:style-name="Tabelle2.B1" office:value-type="string">
<text:p text:style-name="P17">
<xsl:choose>
<xsl:when test="lieferfirma=''">
<xsl:text>-</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lieferfirma" />
</xsl:otherwise>
</xsl:choose>
</text:p>
</table:table-cell>
</table:table-row>
<!--add line "firma" only if hersteller is not null-->
<xsl:if test="hersteller != ''">
<table:table-row>
<table:table-cell table:style-name="Tabelle2.A1" office:value-type="string">
<text:p text:style-name="P18">Firma</text:p>
</table:table-cell>
<table:table-cell table:style-name="Tabelle2.B1" office:value-type="string">
<text:p text:style-name="P17"><xsl:value-of select="hersteller" /></text:p>
</table:table-cell>
</table:table-row>
</xsl:if>
<table:table-row>
<table:table-cell table:style-name="Tabelle2.A2" office:value-type="string">
<text:p text:style-name="P18">Inventarnummer</text:p>