formatos-febraban 0.3.24 → 0.3.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/formatos/febraban/version.rb +1 -1
- data/lib/formatos/febraban150/febraban_150_e.rb +6 -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: b0b27e360b7a6909600d38625711c6b2bc5f55bd
|
4
|
+
data.tar.gz: 031c16e22b916e61eb2a9a3135ec0167d4c99a6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f45e0e166ca5bede7688528e9aec53b1301bb8b67aa0f6c8d2be9f926e659653905edcd950a1524b984eaf58897b68c22821890d41addb9700516873d6c6abaf
|
7
|
+
data.tar.gz: 958f1ff24e305df95ef9288438e777c3f4261217df6d38ff1531d9b3cfb6219d033b2fd398b5daf07b70528c38135b3b18902d281b25c91fa1f96923405d0605
|
@@ -295,7 +295,12 @@ class Febraban150E < FormatSection
|
|
295
295
|
cod_movimento = cod_movimento.to_i
|
296
296
|
|
297
297
|
if cod_movimento == 0 or cod_movimento == 1
|
298
|
-
|
298
|
+
case @versao
|
299
|
+
when '04'
|
300
|
+
self.set_section_value(9, cod_movimento)
|
301
|
+
when '05'
|
302
|
+
self.set_section_value(11, cod_movimento)
|
303
|
+
end
|
299
304
|
else
|
300
305
|
raise "#{self.get_id}: Código de Movimentação deve ser de Débito Nacional ou Cnacelamento:
|
301
306
|
0 = Débito Normal
|