Masse salariale: sous-total et arrondis
[auf_rh_dae.git] / project / rh / templates / rh / rapports / masse_salariale.html
CommitLineData
df37184c
JPC
1{% extends 'rh/rapports/base.html' %}
2{% load adminmedia rapports i18n %}
3
4{% block nomrapport %}Rapport Postes{% endblock %}
5{% block count_elements %}<h2>{{ count }} postes</h2>{% endblock %}
6
57e2b793
JPC
7{% block extrastyle %}
8{{ block.super }}
9<script type="text/javascript" src="{{ STATIC_URL }}js/jquery-1.5.1.min.js"></script>
10<script type="text/javascript" src="{% admin_media_prefix %}js/jquery-stickytableheaders.js"></script>
11{% endblock %}
12
df37184c 13{% block contentrapport %}
57e2b793 14{% comment %}
df37184c
JPC
15<div id="changelist-filter">
16<h2>{% trans 'Filter' %}</h2>
17{% filter_region "dossier__poste__" %}
18{% filter_implantation "dossier__poste__" %}
19</div>
57e2b793
JPC
20{% endcomment %}
21<script type="text/javascript">
22 jQuery(document).ready(function(){
23 $("#result_list").stickyTableHeaders();
24 });
25</script>
df37184c
JPC
26<table id="result_list" class="results">
27<thead>
28<tr>
29 {% table_header headers %}
30</tr>
31</thead>
57e2b793
JPC
32{% spaceless %}
33{% for row in rapport %}
34 <tr class="{% cycle 'row1' 'row2' %}">
35 {% for column in header_keys %}
36 <td>{{ row|hash:column }}</td>
37 {% endfor %}
38 </tr>
df37184c 39{% endfor %}{% endspaceless %}
778fb9d6
JPC
40 <tr>
41 <td colspan="{{ colspan }}" style="text-align:right;font-weight:bold;">
42 TOTAL :
43 </td>
44 <td>{{ total }}</td>
45 <td>{{ total_euro }}</td>
46 </tr>
df37184c 47</table>
df37184c 48{% endblock %}