fiscalizer 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34a5d71923c8d6d000befe77d5fb43fd23bd8849
4
- data.tar.gz: ed5e75220e3a7297d8bd2d0c3db7213df86834ae
3
+ metadata.gz: 5439e82bdd0f32d49e0074f573d9128e4eced208
4
+ data.tar.gz: 931cf25940e68ea5bcd81ebfc78ac2e27eca42ca
5
5
  SHA512:
6
- metadata.gz: 243478070f354f8e4dcfecaf45237e4a0db9e4998f89fe88d66d144c350badfe7dc6ca9dc860810652d3b9e7bd3dd1365d5b90a4e6361d8729fe6d110ad8fbcc
7
- data.tar.gz: 99ad408075abc325acc2fc7e11c5f4172bca77ae6431c97bfa009456bc949daec9a2bceb52e00ae6bdd6473faf1d1f95183793a81ab09141e5eff168c1e5c059
6
+ metadata.gz: 21acba55748c02761bab6d55d71b469bae68f36a3995c7af211fba3b0cf51988407c083c62ae497c8b0e02e8e624ae981e55b15d626d2db369f7311ceacfae8a
7
+ data.tar.gz: ce83a88e9d79a4a0984436308ff67284be71d5f4b37961641104bc07c7922788c5778f7a09637c9902316b8d4c7ad779621502889dd591be39c6e03294755845
@@ -111,14 +111,14 @@ class Fiscalizer
111
111
  xml['tns'].OznPoslProstora object.office_label
112
112
  xml['tns'].AdresniPodatak {
113
113
  xml['tns'].Adresa {
114
- xml['tns'].Ulica object.adress_street_name if object.adress_street_name != nil
115
- xml['tns'].KucniBroj object.adress_house_num if object.adress_house_num != nil
116
- xml['tns'].KucniBrojDodatak object.adress_house_num_addendum if object.adress_house_num_addendum != nil
117
- xml['tns'].BrojPoste object.adress_post_num if object.adress_post_num != nil
118
- xml['tns'].Naselje object.adress_settlement if object.adress_settlement != nil
119
- xml['tns'].Opcina object.adress_township if object.adress_township != nil
120
- } if object.adress_other == nil
121
- xml['tns'].OstaliTipoviPP object.adress_other if object.adress_other != nil
114
+ xml['tns'].Ulica object.adress_street_name if object.adress_street_name != nil && object.adress_street_name.length != 0
115
+ xml['tns'].KucniBroj object.adress_house_num if object.adress_house_num != nil && object.adress_house_num.length != 0
116
+ xml['tns'].KucniBrojDodatak object.adress_house_num_addendum if object.adress_house_num_addendum != nil && object.adress_house_num_addendum.length != 0
117
+ xml['tns'].BrojPoste object.adress_post_num if object.adress_post_num != nil && object.adress_post_num.length != 0
118
+ xml['tns'].Naselje object.adress_settlement if object.adress_settlement != nil && object.adress_settlement.length != 0
119
+ xml['tns'].Opcina object.adress_township if object.adress_township != nil && object.adress_township.length != 0
120
+ } if object.adress_other == nil || object.adress_other.length == 0
121
+ xml['tns'].OstaliTipoviPP object.adress_other if object.adress_other != nil && object.adress_other.length != 0
122
122
  }
123
123
  xml['tns'].RadnoVrijeme object.office_time
124
124
  xml['tns'].DatumPocetkaPrimjene object.take_effect_date_str
@@ -1,3 +1,3 @@
1
1
  class Fiscalizer
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fiscalizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanko Krtalić Rusendić