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

Nova ocorrencia #163

Closed
wants to merge 16 commits into from
Closed

Nova ocorrencia #163

wants to merge 16 commits into from

Conversation

AllanHorst
Copy link

No description provided.

@@ -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
Copy link
Collaborator

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 *
Copy link
Collaborator

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 *
Copy link
Collaborator

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
Copy link
Collaborator

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]

@AllanHorst AllanHorst closed this Jul 19, 2017
@AllanHorst AllanHorst deleted the nova-ocorrencia branch July 19, 2017 13:23
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 99.239% when pulling cd3eca7 on AllanHorst:nova-ocorrencia into 689e486 on kivanio:master.

1 similar comment
@coveralls
Copy link

coveralls commented Jul 19, 2017

Coverage Status

Coverage decreased (-0.1%) to 99.239% when pulling cd3eca7 on AllanHorst:nova-ocorrencia into 689e486 on kivanio:master.

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.

None yet

4 participants