From 491cfcf67d4ee9ef43f6812f8a9b4f1b1383ab44 Mon Sep 17 00:00:00 2001 From: Edward Oliveira Date: Wed, 28 Jun 2023 18:34:48 -0700 Subject: [PATCH] =?UTF-8?q?Adiciona=20coluna=20de=20justificativa=20de=20a?= =?UTF-8?q?us=C3=AAncia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/base/views.py | 3 +-- sapl/templates/relatorios/RelatorioPresencaSessao_filter.html | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sapl/base/views.py b/sapl/base/views.py index 197a813f8..dd8f7ef27 100644 --- a/sapl/base/views.py +++ b/sapl/base/views.py @@ -47,8 +47,7 @@ from sapl.parlamentares.models import ( Filiacao, Legislatura, Mandato, Parlamentar) from sapl.protocoloadm.models import (Anexado, Protocolo) from sapl.relatorios.views import (relatorio_estatisticas_acesso_normas) -from sapl.sessao.models import ( - Bancada, SessaoPlenaria) +from sapl.sessao.models import (Bancada, SessaoPlenaria) from sapl.settings import EMAIL_SEND_USER from sapl.utils import (gerar_hash_arquivo, intervalos_tem_intersecao, mail_service_configured, SEPARADOR_HASH_PROPOSICAO, show_results_filter_set, google_recaptcha_configured, sapl_as_sapn, diff --git a/sapl/templates/relatorios/RelatorioPresencaSessao_filter.html b/sapl/templates/relatorios/RelatorioPresencaSessao_filter.html index 3d4b2e785..155acca08 100644 --- a/sapl/templates/relatorios/RelatorioPresencaSessao_filter.html +++ b/sapl/templates/relatorios/RelatorioPresencaSessao_filter.html @@ -33,6 +33,7 @@ Ativo? Sessão {% if exibir_ordem %} Ordem do Dia {% endif %} + Ausências Justificadas (Sessão) (Qtd) @@ -55,6 +56,7 @@ {{p.ordemdia_count}} {{p.ordemdia_porc}} {% endif %} + {{p.ausencia_justificada_count}} ({{p.ausencia_justificadas_porc}}%) {% endfor %}