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 +4 -4
- data/lib/fiscalizer/communication.rb +8 -8
- data/lib/fiscalizer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5439e82bdd0f32d49e0074f573d9128e4eced208
|
4
|
+
data.tar.gz: 931cf25940e68ea5bcd81ebfc78ac2e27eca42ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/fiscalizer/version.rb
CHANGED