xrechnung 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06252face0554e39218ad09f6de658da8ceefab529414974c3cbea5066c03f94
4
- data.tar.gz: 37fdbaf09d8b6506f9c49bbb9951aba92fb0d640a11a235b2c4838ca9c6f7ec8
3
+ metadata.gz: a8f06335d2cec3854dbfb7aa9c301542866dfd21e0e4f887d3f233703f9abe8c
4
+ data.tar.gz: '097753bcab2300e8164f77b9234010d14d8432e4f2187db8efa869428f4c5234'
5
5
  SHA512:
6
- metadata.gz: c039758300cab1eb0bfabd785a3c4efc9eba14f0c94f6f72741c0fbb922e3bc0eeab612b3a9842f66244666f230d918a226fc41741eba86005347bff8c4b1c73
7
- data.tar.gz: '038c45111d8b65bc6290b78048a30aae81ff04283784efd335c73a34eede869dd9aa5adb33a9a736763065bed4345054cb614e1e23b662510d34edeb9ee3ac24'
6
+ metadata.gz: cbcc25b03d3156daa375fe8402a7eac30753d6f8d1980fa73e8668447854c666988db6304f413eba35a799749406d984f07d44f39b6e1e1cecc67078b1caad1f
7
+ data.tar.gz: 3b2534d253d899a64593875aaeeefba1d02db61456464e3d851ad14ba5af6c5f14b7ccba2a5a5376248a1a296a81814d7416779ffe614f85a51cb3a905ace411
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xrechnung (0.6.3)
4
+ xrechnung (0.6.4)
5
5
  activesupport
6
6
  base64
7
7
  bigdecimal
@@ -20,7 +20,8 @@ module Xrechnung
20
20
  #
21
21
  # Note: S, Z, E, AE, K, G, L and M require either a seller VAT identifier (BT-31),
22
22
  # a seller tax registration identifier (BT-32), or a seller tax representative
23
- # party (BG-11). Xrechnung::Document currently only supports the VAT identifier.
23
+ # party (BG-11). Xrechnung::Document currently does not support adding the seller
24
+ # tax representative party.
24
25
  #
25
26
  # @!attribute id
26
27
  # @return [String]
@@ -1,3 +1,3 @@
1
1
  module Xrechnung
2
- VERSION = "0.6.3".freeze
2
+ VERSION = "0.6.4".freeze
3
3
  end
data/lib/xrechnung.rb CHANGED
@@ -373,8 +373,10 @@ module Xrechnung
373
373
 
374
374
  payee_party&.to_xml(xml) unless self.class.members[:payee_party].optional && payee_party.nil?
375
375
 
376
- xml.cac :PaymentTerms do
377
- xml.cbc :Note, payment_terms_note
376
+ unless payment_terms_note.blank?
377
+ xml.cac :PaymentTerms do
378
+ xml.cbc :Note, payment_terms_note
379
+ end
378
380
  end
379
381
 
380
382
  allowance_charges.each { _1.to_xml(xml) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xrechnung
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Kornberger