-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
Nova ocorrencia #163
Nova ocorrencia #163
Conversation
@@ -70,6 +70,8 @@ class Pagamento | |||
attr_accessor :data_multa | |||
# <b>OPCIONAL</b>: Número da Parcela | |||
attr_accessor :parcela | |||
# <b>OPCIONAL</b>: Código de protesto |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use only ascii symbols in comments.
# Preencher de acordo com o código informado na posição 221. | ||
# Para código '1' – é possível, de 6 a 29 dias, 35o, 40o, dia corrido. | ||
# Para código '2' – é possível, 3o, 4o ou 5o dia útil. | ||
# Para código '3' preencher com Zeros. | ||
segmento_p << '00' # dias para protesto 2 * | ||
segmento_p << pagamento.dias_protesto # dias para protesto 2 * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [117/80]
@@ -226,12 +226,12 @@ def monta_segmento_p(pagamento, nro_lote, sequencial) | |||
# No caso de carteira 31 ou carteira 11/17 modalidade Vinculada, | |||
# se não informado nenhum código, | |||
# o sistema assume automaticamente Protesto em 3 dias úteis. | |||
segmento_p << '3' # cod. para protesto 1 * | |||
segmento_p << pagamento.codigo_protesto # cod. para protesto 1 * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary spacing detected.
Line is too long. [117/80]
@@ -156,7 +156,7 @@ def monta_segmento_p(pagamento, nro_lote, sequencial) | |||
# 30 – Recusa da Alegação do Sacado, | |||
# 31 – Alteração de Outros Dados, | |||
# 40 – Alteração de Modalidade. | |||
segmento_p << '01' # cod. movimento remessa 2 | |||
segmento_p << pagamento.identificacao_ocorrencia || '01' # cod. movimento remessa 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Line is too long. [113/80]
No description provided.