1 {% extends 'admin/base_site.html' %}
2 {% load adminmedia rapports i18n l10n %}
4 {% block content_title %}
<h1>Rapport de masse salariale
</h1>{% endblock %}
8 <style type="text/css">
9 table.rapport
{ border: 1px solid
#dddddd; }
10 table.rapport
th { background: white
; }
11 table.rapport
th.traitements
{ background: #ecab44; }
12 table.rapport
th.indemnites
{ background: #fff840; }
13 table.rapport
th.primes
{ background: #d7fb0f; }
14 table.rapport
th.charges
{ background: #fb680f; }
15 table.rapport
.highlighted
{ background: #ffff88; }
16 th.section-end
, td.section-end
{ border-right: 10px solid
#dddddd; }
17 td.nowrap
{ white-space: nowrap
; }
23 <script type=
"text/javascript"
24 src=
"https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
25 <script type=
"text/javascript" src=
"{{ STATIC_URL }}rh/FixedHeader.min.js"></script>
26 <script type=
"text/javascript">
27 $(document).ready(function() {
28 new FixedHeader($('table.rapport').get(
0));
29 $('table.rapport tr').click(function() {
30 $(this).toggleClass('highlighted');
38 <table style=
"width: 100%">
43 <input type=
"submit" value=
"Afficher">
44 <input type=
"submit" name=
"ods" value=
"Format Calc">
52 <strong>Masse salariale totale: {{ masse_salariale_totale }} EUR
</strong>
55 <table class=
"rapport">
61 <th>Valeur du point
</th>
62 <th>Numéro d'employé
</th>
65 <th>Type de poste
</th>
66 <th>Intitulé du poste
</th>
67 <th>Niveau actuel
</th>
69 <th>Régime de travail annuel
</th>
70 <th>Local / Expatrié
</th>
72 <th class=
"section-end">Date de fin de contrat
</th>
73 <th>Date de début
</th>
75 <th class=
"section-end">Nombre de jours
</th>
77 <th>Salaire BSTG ANNUEL
</th>
78 <th>Salaire BSTG EUR
</th>
79 <th class=
"section-end">Organisme BSTG
</th>
80 <th class=
"traitements">
81 Salaire théorique annuel
83 {% for titre in titres_traitements %}
84 <th class=
"traitements">{{ titre }}
</th>
86 <th class=
"traitements section-end">
89 {% for titre in titres_indemnites %}
90 <th class=
"indemnites">{{ titre }}
</th>
92 <th class=
"indemnites section-end">Total des indemnités
</th>
93 {% for titre in titres_primes %}
94 <th class=
"primes">{{ titre }}
</th>
96 <th class=
"primes section-end">Total des primes
</th>
97 {% for titre in titres_charges %}
98 <th class=
"charges">{{ titre }}
</th>
100 <th class=
"charges section-end">Total des charges
</th>
101 <th class=
"traitements">Total des traitements
</th>
102 <th class=
"indemnites">Total des indemnités
</th>
103 <th class=
"primes">Total des primes
</th>
104 <th class=
"charges section-end">Total des charges
</th>
105 <th>Masse salariale
</th>
106 <th>Masse salariale EUR
</th>
110 {% for ligne in lignes %}
111 <tr class=
"{% cycle 'row1' 'row2' %}">
112 <td>{{ ligne.poste.implantation.region.code }}
</td>
113 <td>{{ ligne.poste.implantation.adresse_physique_pays.nom }}
</td>
114 <td>{{ ligne.poste.implantation.nom_court }}
</td>
116 {% if ligne.valeur_point %}
117 {{ ligne.valeur_point }} {{ ligne.valeur_point_devise }}
121 {% if ligne.dossier %}
122 {{ ligne.dossier.employe.id|stringformat:
"d" }}
128 {% if ligne.dossier %}
129 <a href=
"{% url admin:rh_employe_change ligne.dossier.employe.id %}"
130 >{{ ligne.dossier.employe.nom }}
</a>
134 {% if ligne.dossier %}
135 <a href=
"{% url admin:rh_employe_change ligne.dossier.employe.id %}"
136 >{{ ligne.dossier.employe.prenom }}
</a>
139 <td>{{ ligne.poste.type_poste.nom }}
</td>
140 <td>{{ ligne.poste.nom }}
</td>
141 <td>{{ ligne.dossier.classement }}
</td>
143 {{ ligne.dossier.classement.coefficient|floatformat:
2 }}
146 {{ ligne.regime_travail|floatformat }} %
148 <td>{{ ligne.local_expatrie }}
</td>
149 <td>{{ ligne.dossier.statut.code }}
</td>
150 <td class=
"section-end">{{ ligne.dossier.date_fin|date }}
</td>
152 {{ ligne.date_debut|date }}
155 {{ ligne.date_fin|date }}
157 <td class=
"section-end">
160 <td>{{ ligne.devise }}
</td>
162 {% if ligne.salaire_bstg %}
163 {{ ligne.salaire_bstg }} {{ ligne.devise }}
167 {% if ligne.salaire_bstg_eur %}
168 {{ ligne.salaire_bstg_eur }} EUR
171 <td class=
"section-end">{{ ligne.dossier.organisme_bstg.nom }}
</td>
173 {% if ligne.salaire_theorique %}
174 {{ ligne.salaire_theorique }} {{ ligne.valeur_point_devise }}
177 {% for traitement in ligne.traitements %}
180 {{ traitement }} {{ ligne.devise }}
184 <td class=
"section-end nowrap">
185 {% if ligne.total_traitements %}
186 {{ ligne.total_traitements }} {{ ligne.devise }}
189 {% for indemnite in ligne.indemnites %}
192 {{ indemnite }} {{ ligne.devise }}
196 <td class=
"section-end nowrap">
197 {% if ligne.total_indemnites %}
198 {{ ligne.total_indemnites }} {{ ligne.devise }}
201 {% for prime in ligne.primes %}
204 {{ prime }} {{ ligne.devise }}
208 <td class=
"section-end nowrap">
209 {% if ligne.total_primes %}
210 {{ ligne.total_primes }} {{ ligne.devise }}
213 {% for charge in ligne.charges %}
216 {{ charge }} {{ ligne.devise }}
220 <td class=
"section-end nowrap">
221 {% if ligne.total_charges %}
222 {{ ligne.total_charges }} {{ ligne.devise }}
226 {% if ligne.total_traitements %}
227 {{ ligne.total_traitements }} {{ ligne.devise }}
231 {% if ligne.total_indemnites %}
232 {{ ligne.total_indemnites }} {{ ligne.devise }}
236 {% if ligne.total_primes %}
237 {{ ligne.total_primes }} {{ ligne.devise }}
240 <td class=
"section-end nowrap">
241 {% if ligne.total_charges %}
242 {{ ligne.total_charges }} {{ ligne.devise }}
246 {{ ligne.masse_salariale }} {{ ligne.devise }}
249 {{ ligne.masse_salariale_eur }} EUR