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

Alunos acima da média aparecem na tela de recuperações por etapa #83

Open
robson-alcantara opened this issue Aug 25, 2021 · 2 comments

Comments

@robson-alcantara
Copy link

MENU:

Recuperações -> Diário de recuperações por etapas

DESCRIÇÃO:

Alunos acima da média aparecem na tela de recuperações por etapa

OBSERVAÇÕES:

No arquivo school_term_recovery_diary_records_controller.rb, o sistema filtra os alunos abaixo da média, mas na tela, todos aparecem

students_in_recovery = fetch_students_in_recovery
mark_students_not_in_recovery_for_destruction(students_in_recovery)
mark_exempted_disciplines(students_in_recovery)
add_missing_students(students_in_recovery)

AMBIENTE:

  • Versão do i-diario: 1.3.3
@robson-alcantara
Copy link
Author

image

@robson-alcantara
Copy link
Author

robson-alcantara commented Aug 25, 2021

Substituindo as duas primeiras linhas do arquivo "views/school_term_recovery_diary_records/_student_fields.html.erb" por:

<tr class="nested-fields <%= f.object.persisted? ? "existing" : "dynamic" %>" style="<%= "display: none;" if f.object.marked_for_destruction? %>">

resolveu para mim

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

No branches or pull requests

1 participant