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