Browse Source

Fix #2639 (#2641)

pull/2579/head
Ulysses Lara 6 years ago
committed by Cesar Carvalho
parent
commit
30aaf6c4e6
  1. 20
      sapl/templates/relatorios/relatorio_ata.html

20
sapl/templates/relatorios/relatorio_ata.html

@ -50,7 +50,7 @@
{% if assinatura_mesa or assinatura_presentes %} {% if assinatura_mesa or assinatura_presentes %}
<div style="page-break-before: always;padding:5px;margin-top:80px;border-top: 1px solid black;"> <div style="page-break-before: always;padding:5px;margin-top:0px;border-top: 1px solid black;">
<legend >{{texto_assinatura}}</legend> <legend >{{texto_assinatura}}</legend>
<table style="margin-top:80px"> <table style="margin-top:80px">
@ -60,14 +60,14 @@
<tbody> <tbody>
{% for p in assinatura_mesa %} {% for p in assinatura_mesa %}
{% if forloop.counter0|divisibleby:2 %} {% if forloop.counter0|divisibleby:2 %}
<tr style="margin-top:0px"> <tr style="margin-top:20px">
<td> <td>
<div style="float: left; position: relative; top: -80px; left: 8px; width: 120px">____________________ </br> <div style="float: left; position: relative; top: -50px; left: 8px; width: 120px">____________________ </br>
<p style="font-size:8pt"><b>{{p.cargo}}: </b> {{p.parlamentar.nome_completo}} / {{ p.parlamentar|filiacao_data_filter:object.data_inicio }}</p> <p style="font-size:8pt"><b>{{p.cargo}}: </b> {{p.parlamentar.nome_completo}} / {{ p.parlamentar|filiacao_data_filter:object.data_inicio }}</p>
</br></br></br> </br></br></br>
</div> </div>
{% else %} {% else %}
<div style="float: left; position: relative; top: -80px; left: 142px; width: 120px; margin-right:-220px;">____________________ </br> <div style="float: left; position: relative; top: -50px; left: 142px; width: 120px; margin-right:-220px;">____________________ </br>
<p style="font-size:8pt"><b>{{p.cargo}}: </b> {{p.parlamentar.nome_completo}} / {{ p.parlamentar|filiacao_data_filter:object.data_inicio }}</p> <p style="font-size:8pt"><b>{{p.cargo}}: </b> {{p.parlamentar.nome_completo}} / {{ p.parlamentar|filiacao_data_filter:object.data_inicio }}</p>
</br></br></br> </br></br></br>
</div> </div>
@ -78,15 +78,15 @@
{% for p in assinatura_presentes %} {% for p in assinatura_presentes %}
{% if forloop.counter0|divisibleby:2 %} {% if forloop.counter0|divisibleby:2 %}
<tr style="margin-top:0px"> <tr style="margin-top:20px">
<td> <td>
<div style="float: left; position: relative;top: -80px; left: 8px; width: 120px;">_____________________</br> <div style="float: left; position: relative;top: -50px; left: 8px; width: 120px;">_____________________</br>
<p style="font-size:8pt">{{p.nome_completo}} / {{ p|filiacao_data_filter:object.data_inicio }}</p> <p style="font-size:8pt"><b>{{p.cargo}}: </b> {{p.parlamentar.nome_completo}} / {{ p.parlamentar|filiacao_data_filter:object.data_inicio }}</p>
</br></br></br> </br></br></br>
</div> </div>
{% else %} {% else %}
<div style="float: left; position: relative; top: -80px;left: 142px; width: 120px; margin-right:-220px;">_____________________ </br> <div style="float: left; position: relative; top: -50px;left: 142px; width: 120px; margin-right:-220px;">_____________________ </br>
<p style="font-size:8pt">{{p.nome_completo}} / {{ p|filiacao_data_filter:object.data_inicio }}</p> <p style="font-size:8pt">{{p.parlamentar.nome_completo}} / {{ p.parlamentar|filiacao_data_filter:object.data_inicio }}</p>
</br></br></br> </br></br></br>
</div> </div>
</td> </td>

Loading…
Cancel
Save