Skip to content

Commit 241eba2

Browse files
authored
[FIX] itau.rb prazo instrução protesto: 09, 34 e 35 (kivanio#259)
1 parent cd928e8 commit 241eba2

File tree

1 file changed

+3
-1
lines changed
  • lib/brcobranca/remessa/cnab400

1 file changed

+3
-1
lines changed

lib/brcobranca/remessa/cnab400/itau.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ def monta_detalhe(pagamento, sequencial)
140140
end
141141

142142
def prazo_instrucao(pagamento)
143-
return '03' unless pagamento.cod_primeira_instrucao == '09'
143+
return "03" unless %w[09 34 35].include?(
144+
pagamento.cod_primeira_instrucao
145+
)
144146

145147
pagamento.dias_protesto.rjust(2, '0')
146148
end

0 commit comments

Comments
 (0)