Skip to content

Commit

Permalink
Merge branch '153-bt-29-in-cii' into 'master'
Browse files Browse the repository at this point in the history
Resolve "BT-29 in CII"

Closes #153

See merge request xrechnung/xrechnung-visualization!110
  • Loading branch information
bdewein committed Jun 7, 2024
2 parents 51c32dd + b1e60ce commit 4ac0dae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ This release is compatible with XRechnung ?.?.?

### Fixed

* Wrong German translation for BT-10 (thanks to GitHub user @futurescenario9).
* Scheme identifier 'VAT' in BT-31 removed from templates
* Incorrect German translation for BT-10 (thanks to GitHub user @futurescenario9).
* BT-31: scheme identifier 'VAT' removed from templates
* condition removed from BT-29 in cii2xr conversion, which prevented display of multiple BT-29 from different bindings
* Display of specification identifier in PDF

## v2023-11-15
Expand Down
4 changes: 2 additions & 2 deletions src/xsl/cii-xr.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@
<xsl:apply-templates mode="BT-28"
select="./ram:SpecifiedLegalOrganization/ram:TradingBusinessName"/>
<xsl:apply-templates mode="BT-29"
select="./ram:ID[empty(following-sibling::ram:GlobalID/@schemeID)]"/>
select="./ram:ID"/>
<xsl:apply-templates mode="BT-29" select="./ram:GlobalID[exists(@schemeID)]"/>
<xsl:apply-templates mode="BT-30" select="./ram:SpecifiedLegalOrganization/ram:ID"/>
<xsl:apply-templates mode="BT-31"
Expand Down Expand Up @@ -424,7 +424,7 @@
</xr:Seller_trading_name>
</xsl:template>
<xsl:template mode="BT-29"
match="/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:ID[empty(following-sibling::ram:GlobalID/@schemeID)]">
match="/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:ID">
<xr:Seller_identifier>
<xsl:attribute name="xr:id" select="'BT-29'"/>
<xsl:attribute name="xr:src" select="xr:src-path(.)"/>
Expand Down

0 comments on commit 4ac0dae

Please sign in to comment.