Browse Source

Adiciona filtro para parlamentares ativos

pull/3323/head
Vinícius Cantuária 5 years ago
parent
commit
956c463d91
  1. 24
      sapl/templates/base/RelatorioPresencaSessao_filter.html

24
sapl/templates/base/RelatorioPresencaSessao_filter.html

@ -45,17 +45,19 @@
</thead>
<tbody>
{% for p in parlamentares %}
<tr>
<td><b>{{p.parlamentar}}</b> / {{p.parlamentar|filiacao_intervalo_filter:date_range|default:"Sem Partido"}}</td>
<td>{% if p.titular %} Sim {% else %} Não {% endif %}</td>
<td>{% if p.parlamentar.ativo %} Sim {% else %} Não {% endif %}</td>
<td>{{p.sessao_count}}</td>
<td>{{p.sessao_porc}}</td>
{% if exibir_ordem %}
<td>{{p.ordemdia_count}}</td>
<td>{{p.ordemdia_porc}}</td>
{% endif %}
</tr>
{% if not exibir_somente_titular or p.titular %}
<tr>
<td><b> {{p.parlamentar}}</b> / {{p.parlamentar|filiacao_intervalo_filter:date_range|default:"Sem Partido"}}</td>
<td>{% if p.titular %} Sim {% else %} Não {% endif %}</td>
<td>{% if p.parlamentar.ativo %} Sim {% else %} Não {% endif %}</td>
<td>{{p.sessao_count}}</td>
<td>{{p.sessao_porc}}</td>
{% if exibir_ordem %}
<td>{{p.ordemdia_count}}</td>
<td>{{p.ordemdia_porc}}</td>
{% endif %}
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>

Loading…
Cancel
Save