correction mise en page rapport pdf ref #58

This commit is contained in:
2021-03-04 09:26:18 +01:00
parent 6bd189271f
commit 5343d61401

View File

@@ -90,7 +90,6 @@
{% endblock %}
{% block body %}
{% if fgprint is defined and fgprint %}<h1>Planning</h1>{%endif%}
{% if access=="customer" and not app.user %}
@@ -127,8 +126,6 @@
<h3>RAPPORT</h3>
<div class="small">
<div class="new-page">&nbsp;</div>
{% for month in project.months %}
<h3 class="month">{{ month.monthlabel }}</h3>
<table>
@@ -179,7 +176,6 @@
<td class="text-right">{{ month.totala|number_format(2, '.', ' ') }}</td>
</tr>
{% endif %}
<tfoot>
<tr>
<td style="min-width:200px">TOTAL</td>
@@ -188,12 +184,7 @@
</tfoot>
</table>
{% endif %}
{% endfor %}
<h4>CUMUL HEBDOMADAIRE</h4>
<table>
{% for year, weeks in project.weeks %}
@@ -219,7 +210,6 @@
</tr>
{% endfor %}
</table>
<div class="new-page">&nbsp;</div>
{% if not project.offers is empty %}
<h4>COMMANDES</h4>
{% set count=(project.offers|length)-8 %}
@@ -326,8 +316,6 @@
<td class="text-right">{{ (project.proposed - project.validate)|number_format(2, '.', ' ') }}</td>
</tfoot>
</table>
<div class="new-page">&nbsp;</div>
{% endif %}
<h4>CONSOMMATION PASSEE</h4>
{% if project.hors!=0 %}
@@ -359,7 +347,6 @@
{% endfor %}
</table>
{% if not project.beforeastreinte is empty %}
<h4>ASTREINTES PASSEES</h4>
<table>
@@ -390,6 +377,7 @@
</div>
</div>
</div>
<div class="new-page">&nbsp;</div>
{% endif %}
{% endfor %}
<br>