formatos-febraban 0.3.23 → 0.3.24

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: 66e4c6f43c1ae22579b3909dceb3fd2f405133d3
4
- data.tar.gz: 0cfdd5c67ffec53bc95b88deb6f77e5ee09e3912
3
+ metadata.gz: 76eef21dbb62a9bc2a0d0c39c05e374b8b1f2859
4
+ data.tar.gz: c27c1eed150d807e1c7a8e4092d6d4f2c57ca20a
5
5
  SHA512:
6
- metadata.gz: e65dcc0c1fae7e54f102bd1cbaeea7a9540923bcbb7d4fd8e19e4340a5454130019c6e1a5ff26ed36878c9ef43a13c825a1072542535c82d9aa64abec944a93a
7
- data.tar.gz: 70263bd1a5abd7eec06ad5cd830ac964c987134ba703208b5a978f702bcb47ddc765c917cbff674aec089eb10ae63a44ef54a2a69030c265a6cf77c34d935cf8
6
+ metadata.gz: dd818e98981cab4da683354e7d7a2ac83407f1e7571d2794e03f9beead8f538274b6ff70323fc834b18919706895d1a6120301a7d8fce6696f317f424144e95f
7
+ data.tar.gz: 80e77d56634d542b54fcd1f85743b2c2d6636c7f1cbded4806d76e981c45b51c04d094c062bcfdcdec59f69a25b3b5e37f15f5caa1ed8399f108d72017dac6f6
@@ -1,5 +1,5 @@
1
1
  module Formatos
2
2
  module Febraban
3
- VERSION = '0.3.23'
3
+ VERSION = '0.3.24'
4
4
  end
5
5
  end
@@ -156,17 +156,30 @@ class Febraban150
156
156
 
157
157
  section = self.get_new_section("E")
158
158
 
159
- section.set_id_cliente_empresa id_cliente_empresa
160
- section.set_agencia_debito agencia_debito
161
- section.set_id_cliente_banco id_cliente_banco
162
- section.set_data_vencimento data_vencimento
163
- section.set_valor_debito valor_debito
164
- section.set_codigo_moeda codigo_moeda
165
- section.set_obs_empresa obs_empresa
166
- section.set_tipo_id_cliente tipo_id_cliente
167
- section.set_id_cliente id_cliente
168
- section.set_reservado ""
169
- section.set_cod_movimento cod_movimento
159
+ case @versao
160
+ when '04'
161
+ section.set_id_cliente_empresa id_cliente_empresa
162
+ section.set_agencia_debito agencia_debito
163
+ section.set_id_cliente_banco id_cliente_banco
164
+ section.set_data_vencimento data_vencimento
165
+ section.set_valor_debito valor_debito
166
+ section.set_codigo_moeda codigo_moeda
167
+ section.set_obs_empresa obs_empresa
168
+ section.set_reservado ''
169
+ section.set_cod_movimento cod_movimento
170
+ when '05'
171
+ section.set_id_cliente_empresa id_cliente_empresa
172
+ section.set_agencia_debito agencia_debito
173
+ section.set_id_cliente_banco id_cliente_banco
174
+ section.set_data_vencimento data_vencimento
175
+ section.set_valor_debito valor_debito
176
+ section.set_codigo_moeda codigo_moeda
177
+ section.set_obs_empresa obs_empresa
178
+ section.set_tipo_id_cliente tipo_id_cliente
179
+ section.set_id_cliente id_cliente
180
+ section.set_reservado ''
181
+ section.set_cod_movimento cod_movimento
182
+ end
170
183
 
171
184
  self.add_section_from_business section
172
185
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formatos-febraban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.23
4
+ version: 0.3.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Ricardo Almeida