fina_files 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: 711ce75b93bc9df972cdd4693cae22825d9e0613
4
- data.tar.gz: 4c1e6bdc8cd93d62d577b563b17fcb1c4227f46f
3
+ metadata.gz: 4ec4d1ffdb85edab19d8af6a4e0fd94ace9cfd12
4
+ data.tar.gz: a4d58904e94ec51ce30eb48c6d8a43902b07d0a9
5
5
  SHA512:
6
- metadata.gz: 4ff661ec4f40ce43c0bba070d0224cb1fe76d5b050aa0c8e466d44f0100da6cbb0f528a004bee24eec79ca62b17da8ec53198f256bccc2478e4a94f5f39cbab9
7
- data.tar.gz: c489f4fa3ef71900fae258d95ada5788e9c23bb2af288c5f0c637635bcf317d304fc125402c74efe0ecddd6bfeebbe43d9bb10916d2d180b06c093e0fe904f8d
6
+ metadata.gz: da456e4c921d9b7c5857a38e0a913a1e059371908b87f407cbb8cb7c77c918b6dcd24e28d763241b006dfa06e0dbc18532b5647e04d33089785556a0a432b7dc
7
+ data.tar.gz: c657793f8de725988acdb621419a66d7ed69f88ae390e161acc7de0b180e19441723c1508ebabda2e8bd6796b7d6b3f382080c4e08d65550721baca54a720055
Binary file
Binary file
@@ -31,14 +31,21 @@ class Doprinosi
31
31
  result << [ "HR68 1880-#{postavke[:oib_platitelja]}-#{poziv_na_broj_godina_dan}","Porez prirez dohodak #{godina_mjesec}",get_iban('1001005-1713312009'),'Grad Zagreb', postavke[:porez_prirez_dohodak]]
32
32
  end
33
33
 
34
+ #broj racuna je za grad Donju Stubicu
35
+ unless postavke[:porez_prirez_dohodak_donja_stubica].nil?
36
+ result << [ "HR68 1880-#{postavke[:oib_platitelja]}-#{poziv_na_broj_godina_dan}","Porez prirez dohodak #{godina_mjesec}", "HR8710010051707912009", 'Donja Stubica', postavke[:porez_prirez_dohodak_donja_stubica]]
37
+ end
38
+
34
39
  unless postavke[:place].nil?
35
40
  postavke[:place].each do |placa|
36
- result << [ "HR01 #{postavke[:oib_platitelja]}-#{poziv_na_broj_godina_dan}-0",'Isplata place',get_iban("#{placa[:racun]}"),"#{placa[:prima]}", placa[:iznos] ]
41
+ result << [ "HR67 #{postavke[:oib_platitelja]}-#{poziv_na_broj_godina_dan}-0",'Isplata place',get_iban("#{placa[:racun]}"),"#{placa[:prima]}", placa[:iznos] ]
37
42
  end
38
43
  end
39
44
  unless postavke[:pdv].nil?
40
45
  result << [ "HR68 1201-#{postavke[:oib_platitelja]}","PDV #{godina_mjesec}",get_iban('1001005-1863000160'),'DRZAVNI PRORACUN REPUBLIKE HRVATSKE', postavke[:pdv]]
41
46
  end
47
+
48
+
42
49
  result
43
50
  end
44
51
 
@@ -1,3 +1,3 @@
1
1
  module FinaFiles
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fina_files
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - drKreso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2015-07-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: FINA formati na jednom mjestu
14
14
  email: