Skip to content

Commit

Permalink
Rename SalesOrderID to ID
Browse files Browse the repository at this point in the history
  • Loading branch information
corny committed Jan 3, 2025
1 parent 9ecb598 commit c3746d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
xrechnung (0.6.0)
xrechnung (0.6.1)
builder (~> 3.2)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/xrechnung.rb
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def to_xml(indent: 2, target: "")
xml.cbc :ID, purchase_order_reference
end
unless self.class.members[:sales_order_reference].optional && sales_order_reference.nil?
xml.cbc :SalesOrderID, sales_order_reference
xml.cbc :ID, sales_order_reference
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/xrechnung/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Xrechnung
VERSION = "0.6.0".freeze
VERSION = "0.6.1".freeze
end

0 comments on commit c3746d1

Please sign in to comment.