Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions schemas/Metals/v0.1.1/stylesheet.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1500,6 +1500,20 @@
<xsl:if test="Date"><xsl:value-of select="Date" /></xsl:if>
</fo:block>
</xsl:if>
<!-- The customer's own wording for the product (Order) and the
supplier's internal order number (Delivery), each on its own
line and only when non-empty, so a certificate without them
renders exactly as before (material-identity/schema#426). -->
<xsl:if test="normalize-space(CustomerProductName)">
<fo:block font-size="6.5pt" color="#4A4A4A">
<xsl:value-of select="mi:label('CustomerProductName', 'Customer Product Name')" /><xsl:text>: </xsl:text><xsl:value-of select="CustomerProductName" />
</fo:block>
</xsl:if>
<xsl:if test="normalize-space(InternalOrderId)">
<fo:block font-size="6.5pt" color="#4A4A4A">
<xsl:value-of select="mi:label('InternalOrderId', 'Internal Order ID')" /><xsl:text>: </xsl:text><xsl:value-of select="InternalOrderId" />
</fo:block>
</xsl:if>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
Expand Down
Binary file modified test/fixtures/Metals/v0.1.1/valid_address_fields.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_backward_compatibility.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_basic_certificate.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_bilingual_labels.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_cast_number.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_country_of_melt_and_pour.pdf
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"Date": "2025-04-14",
"Quantity": 2400,
"QuantityUnit": "m",
"CustomerProductId": "WS-Z-6060-T66"
"CustomerProductId": "WS-Z-6060-T66",
"CustomerProductName": "Z-profile 40 x 30 x 2, window sash, drawing WS-114 rev C"
},
"Delivery": {
"Id": "DN-2025-0466",
Expand Down
Binary file modified test/fixtures/Metals/v0.1.1/valid_extruded_aluminium_profile.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_individual_statements.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_international_addresses.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_mechanical_properties.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_physical_properties.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_product_analysis.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_product_shapes.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_production_identifiers.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_regulatory_markings.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_result_types.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_statement_links.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_supplementary_tests.pdf
Binary file not shown.
Binary file modified test/fixtures/Metals/v0.1.1/valid_word_wrap_breaks.pdf
Binary file not shown.