Open
Conversation
- Corrige o relatório de matérias em tramitação para apresentar o nome do relator da matéria, caso exista. issue interlegis#3570
- Corrige bug onde o template de votação/leitura exibia sempre o último turno da tramitação da matéria. - Agora, o turno exibido é o vigente na inclusão da matéria na Ordem do Dia, usando a propriedade turno_vigente. - Ajuste nos templates para usar o.turno_vigente em vez de o.materia.tramitacao_set.first.turno. Closes interlegis#3570
6a6f002 to
10691ac
Compare
f92c461 to
3faba84
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix(ordem-dia): exibe turno correto na inclusão da matéria
Closes #3570
Motivação e Contexto
A exibição do turno nas Ordens do Dia estava incorreta, pois sempre mostrava o último turno da tramitação da matéria, mesmo para registros passados. Com esta correção, o sistema passa a exibir o turno vigente no momento da inclusão da matéria na Ordem do Dia, preservando o histórico correto.
Como foi testado
Tipo de mudança
Checklist