correction fermeture div dans rapport ref #57

This commit is contained in:
2021-03-04 09:18:17 +01:00
parent ce10df9293
commit 6bd189271f

View File

@@ -59,7 +59,7 @@
}
.astreinte {
height: 12px;
font-size: 10px;
font-size: 10px;
}
{% if fgprint is defined and fgprint %}
@@ -68,7 +68,7 @@
float:none !important;
margin:0px;
}
table { width:100%; font-size:10px;}
.card-header .synthese {
@@ -83,10 +83,10 @@
.small { font-size:10px;}
h4 {
padding-top: 20px;
padding-top: 20px;
}
{% endif %}
{% endif %}
{% endblock %}
@@ -104,7 +104,7 @@
{% for i in 1..48 %}
{% set selected="" %}
{%if i==app.session.get('nbmonth') %}
{% set selected="selected" %}
{% set selected="selected" %}
{% endif %}
<option value="{{i}}" {{selected}}>{{i}}</option>
{% endfor %}
@@ -126,7 +126,7 @@
<div class="card-body">
<h3>RAPPORT</h3>
<div class="small">
<div class="new-page">&nbsp;</div>
{% for month in project.months %}
@@ -185,14 +185,14 @@
<td style="min-width:200px">TOTAL</td>
<td class="text-right" style="min-width:100px">{{ (month.total + month.totala)|number_format(2, '.', ' ') }}</td>
</tr>
</tfoot>
</tfoot>
</table>
{% endif %}
{% endfor %}
<h4>CUMUL HEBDOMADAIRE</h4>
<table>
@@ -204,17 +204,17 @@
{% for week in weeks %}
<th class="text-center">
S{{ week.weeknumber}}
</th>
</th>
{% endfor %}
</thead>
<tr class="text-center">
<td class="text-center">
</td>
{% for week in weeks %}
<td class="text-center">
{{ week.cumul}}
</td>
</td>
{% endfor %}
</tr>
{% endfor %}
@@ -236,15 +236,15 @@
</thead>
{% set tot=0 %}
{% for offer in project.offers %}
{% if loop.index<count %}
{% if loop.index<count %}
{% set totbefore10=totbefore10+offer.quantity %}
{% if loop.index+1==count %}
<tr>
<td colspan="2">Précédente</td>
<td class="text-right">{{ totbefore10|number_format(2, '.', ' ') }}</td>
<td class="text-right">
{% if decovalidate >= totbefore10 %}
{% if decovalidate >= totbefore10 %}
{{ totbefore10|number_format(2, '.', ' ') }}
{% set todel=totbefore10 %}
{% else %}
@@ -272,9 +272,9 @@
<td>{{ offer.name }}</td>
<td>{{ offer.ref }}</td>
<td class="text-right">{{ offer.quantity|number_format(2, '.', ' ') }}</td>
<td class="text-right">
{% if decovalidate >= offer.quantity %}
{% if decovalidate >= offer.quantity %}
{{ offer.quantity|number_format(2, '.', ' ') }}
{% set todel=offer.quantity %}
{% else %}
@@ -299,9 +299,9 @@
<td>{{ offer.name }}</td>
<td>{{ offer.ref }}</td>
<td class="text-right">{{ offer.quantity|number_format(2, '.', ' ') }}</td>
<td class="text-right">
{% if decovalidate >= 0 %}
{% if decovalidate >= 0 %}
{{ decovalidate|number_format(2, '.', ' ') }}
{% set todel=decovalidate %}
{% else %}
@@ -316,7 +316,7 @@
{% set decoproposed=decoproposed-totbefore10 %}
</td>
</tr>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
<tfoot>
@@ -358,7 +358,7 @@
</tr>
{% endfor %}
</table>
{% if not project.beforeastreinte is empty %}
<h4>ASTREINTES PASSEES</h4>
@@ -389,6 +389,7 @@
{% endif %}
</div>
</div>
</div>
{% endif %}
{% endfor %}
<br>