Browse Source

Adiciona coluna de justificativa de ausência

pull/3654/head
Edward Ribeiro 2 years ago
parent
commit
491cfcf67d
  1. 3
      sapl/base/views.py
  2. 2
      sapl/templates/relatorios/RelatorioPresencaSessao_filter.html

3
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,

2
sapl/templates/relatorios/RelatorioPresencaSessao_filter.html

@ -33,6 +33,7 @@
<th rowspan="2">Ativo?</th>
<th colspan="2">Sessão</th>
{% if exibir_ordem %} <th colspan="2">Ordem do Dia</th> {% endif %}
<th rowspan="2">Ausências Justificadas (Sessão)</th>
</tr>
<tr class="active">
<th>(Qtd)</th>
@ -55,6 +56,7 @@
<td>{{p.ordemdia_count}}</td>
<td>{{p.ordemdia_porc}}</td>
{% endif %}
<td>{{p.ausencia_justificada_count}} ({{p.ausencia_justificadas_porc}}%)</td>
</tr>
{% endfor %}
</tbody>

Loading…
Cancel
Save