|
|
@ -21,8 +21,8 @@ |
|
|
|
{% block action %}deleta_itens_carrinho{% endblock %} |
|
|
|
|
|
|
|
{% block tabela %} |
|
|
|
<table> |
|
|
|
<thead> |
|
|
|
<table class="table table-striped"> |
|
|
|
<thead class="thead-dark"> |
|
|
|
<tr> |
|
|
|
{%if not carIsEmpty%} |
|
|
|
<th class="sorted ascending"><!-- <input type="checkbox" id="action-toggle" style="display: inline;">--> |
|
|
@ -38,7 +38,7 @@ |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
{% for convenio in paginas.object_list %} |
|
|
|
<tr class="{% cycle 'row1' 'row2' %}"> |
|
|
|
<tr> |
|
|
|
{%if not carIsEmpty%} |
|
|
|
<th><input type="checkbox" name="_selected_action" |
|
|
|
value="{{convenio.id|safe}}" class="action-select" /></th> |
|
|
@ -56,107 +56,103 @@ |
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
{% block botoes %} |
|
|
|
<div id="tabs"> |
|
|
|
|
|
|
|
<ul> |
|
|
|
<li><a href="#tabs-1">{% trans 'Relatório' %}</a></li> |
|
|
|
<li><a href="#tabs-2">{% trans 'Arquivo CSV (Excel, Calc)' %}</a></li> |
|
|
|
</ul> |
|
|
|
<div id="tabs-1"> |
|
|
|
<form action="../reports/{{ query_str }}" method="post">{% csrf_token %} |
|
|
|
<fieldset> |
|
|
|
<legend>{% trans 'Relatório por' %}</legend> |
|
|
|
<ul class="tabs-conteudo"> |
|
|
|
<li> |
|
|
|
<input type="radio" name="filtro_casa" value="tudo" checked="checked"/> |
|
|
|
<label>{% trans 'Todos' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<input type="radio" name="filtro_casa" value="cm"/> |
|
|
|
<label>{% trans 'Câmara Municipal' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<input type="radio" name="filtro_casa" value="al" /> |
|
|
|
<label>{% trans 'Assembléia Legislativa' %}</label> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
<ul class="nav nav-tabs" role="tablist"> |
|
|
|
<li class="active" role="presentation"><a href="#tabs-1" aria-controls="tabs-1" role="tab" data-toggle="tab">{% trans 'Relatório' %}</a></li> |
|
|
|
<li role="presentation"><a href="#tabs-2" aria-controls="tabs-2" role="tab" data-toggle="tab">{% trans 'Arquivo CSV (Excel, Calc)' %}</a></li> |
|
|
|
</ul> |
|
|
|
<div class="tab-content"> |
|
|
|
<div role="tabpanel" class="tab-pane active" id="tabs-1"> |
|
|
|
<form action="../reports/{{ query_str }}" method="post">{% csrf_token %} |
|
|
|
<fieldset> |
|
|
|
<legend>{% trans 'Relatório por' %}</legend> |
|
|
|
<ul class="tabs-conteudo"> |
|
|
|
<li> |
|
|
|
<input type="radio" name="filtro_casa" value="tudo" checked="checked"/> |
|
|
|
<label>{% trans 'Todos' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<input type="radio" name="filtro_casa" value="cm"/> |
|
|
|
<label>{% trans 'Câmara Municipal' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<input type="radio" name="filtro_casa" value="al" /> |
|
|
|
<label>{% trans 'Assembléia Legislativa' %}</label> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</fieldset> |
|
|
|
<fieldset> |
|
|
|
<legend>{% trans 'Com data de aceite? (Equipada)' %}</legend> |
|
|
|
<ul class="tabs-conteudo"> |
|
|
|
<li> |
|
|
|
<input type="radio" name="data_aceite" value="sim" checked="checked" /> |
|
|
|
<label>{% trans 'Sim' %}</label> |
|
|
|
</li> |
|
|
|
<input type="radio" name="data_aceite" value="sim" checked="checked" /> |
|
|
|
<label>{% trans 'Sim' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<input type="radio" name="data_aceite" value="nao" /> |
|
|
|
<label>{% trans 'Não' %}</label> |
|
|
|
</li> |
|
|
|
<input type="radio" name="data_aceite" value="nao" /> |
|
|
|
<label>{% trans 'Não' %}</label> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</fieldset> |
|
|
|
<ul class="botoes"> |
|
|
|
<li><input type="submit" value="Gerar Relatório"></li> |
|
|
|
</ul> |
|
|
|
</form> |
|
|
|
<input type="submit" value="Gerar Relatório" type="button" class="btn btn-primary"> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
<div id="tabs-2"> |
|
|
|
<div role="tabpanel" class="tab-pane" id="tabs-2"> |
|
|
|
<form action="../csv/{{query_str}}" method="post">{% csrf_token %} |
|
|
|
<fieldset><legend>{% trans 'Escolha os atributos para exportar' %}</legend> |
|
|
|
<ul id="sortable" class="tabs-conteudo"> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="No. Processo" |
|
|
|
<fieldset> |
|
|
|
<legend>{% trans 'Escolha os atributos para exportar' %}</legend> |
|
|
|
<ul id="sortable" class="tabs-conteudo"> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="No. Processo" |
|
|
|
class="action-select" checked="checked" /> |
|
|
|
<label>{% trans 'Nº Processo' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="No. Convênio" |
|
|
|
<label>{% trans 'Nº Processo' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="No. Convênio" |
|
|
|
class="action-select" checked="checked" /> |
|
|
|
<label>{% trans 'Nº Convênio' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Projeto" |
|
|
|
<label>{% trans 'Nº Convênio' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Projeto" |
|
|
|
class="action-select" checked="checked" /> |
|
|
|
<label>{% trans 'Projeto' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Casa Legislativa" |
|
|
|
<label>{% trans 'Projeto' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Casa Legislativa" |
|
|
|
class="action-select" checked="checked" /> |
|
|
|
<label>{% trans 'Casa Legislativa' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Data de Adesão" |
|
|
|
<label>{% trans 'Casa Legislativa' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Data de Adesão" |
|
|
|
class="action-select" checked="checked" /> |
|
|
|
<label>{% trans 'Data de Adesão' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Data de Convênio" |
|
|
|
<label>{% trans 'Data de Adesão' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Data de Convênio" |
|
|
|
class="action-select" checked="checked" /> |
|
|
|
<label>{% trans 'Data de Convênio' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Data da Publicacao no D.O." |
|
|
|
<label>{% trans 'Data de Convênio' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Data da Publicacao no D.O." |
|
|
|
class="action-select" checked="checked" /> |
|
|
|
<label>{% trans 'Data da Publicação no Diário Oficial' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Data Equipada" |
|
|
|
<label>{% trans 'Data da Publicação no Diário Oficial' %}</label> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
<input type="checkbox" name="itens_csv_selected" value="Data Equipada" |
|
|
|
class="action-select" checked="checked" /> |
|
|
|
<label>{% trans 'Data Equipada' %}</label> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</fieldset> |
|
|
|
<ul class="botoes"> |
|
|
|
<li><input type="submit" value="Exportar CSV" /></li> |
|
|
|
</ul> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
<label>{% trans 'Data Equipada' %}</label> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</fieldset> |
|
|
|
<input type="submit" value="Exportar CSV" type="button" class="btn btn-primary"/> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endblock %} |
|
|
|