Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrumar o valor do "Seu Número" na Remessa 400 do Banco do Brasil. #250

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

antoniospneto
Copy link
Contributor

Arruma o Número atribuído pela empresa (Seu Número) para pegar o valor correto, antes estava sendo atribuído o nosso_numero erroneamente.

@@ -120,7 +120,7 @@ def monta_detalhe(pagamento, sequencial)
detalhe << tipo_cobranca.to_s.ljust(5, ' ') # tipo de cobranca 9[05] 102 a 106
detalhe << carteira # carteira 9[02] 107 a 108
detalhe << pagamento.identificacao_ocorrencia # comando / ocorrência 9[02] 109 a 110
detalhe << pagamento.nosso_numero.to_s.rjust(10, '0') # numero atribuido pela empresa X[10] 111 a 120
detalhe << pagamento.documento_ou_numero.to_s.rjust(10, '0') # numero atribuido pela empresa X[10] 111 a 120
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Metrics/LineLength: Line is too long. [129/80]

@kivanio kivanio merged commit 3aa3176 into kivanio:master Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants