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" }}
127 <td>{{ ligne.dossier.employe.nom }}
</td>
128 <td>{{ ligne.dossier.employe.prenom }}
</td>
129 <td>{{ ligne.poste.type_poste.nom }}
</td>
130 <td>{{ ligne.poste.nom }}
</td>
131 <td>{{ ligne.dossier.classement }}
</td>
133 {{ ligne.dossier.classement.coefficient|floatformat:
2 }}
136 {{ ligne.regime_travail|floatformat }} %
138 <td>{{ ligne.local_expatrie }}
</td>
139 <td>{{ ligne.dossier.statut.code }}
</td>
140 <td class=
"section-end">{{ ligne.dossier.date_fin|date }}
</td>
142 {{ ligne.date_debut|date }}
145 {{ ligne.date_fin|date }}
147 <td class=
"section-end">
150 <td>{{ ligne.devise }}
</td>
152 {% if ligne.salaire_bstg %}
153 {{ ligne.salaire_bstg }} {{ ligne.devise }}
157 {% if ligne.salaire_bstg_eur %}
158 {{ ligne.salaire_bstg_eur }} EUR
161 <td class=
"section-end">{{ ligne.dossier.organisme_bstg.nom }}
</td>
163 {% if ligne.salaire_theorique %}
164 {{ ligne.salaire_theorique }} {{ ligne.valeur_point_devise }}
167 {% for traitement in ligne.traitements %}
170 {{ traitement }} {{ ligne.devise }}
174 <td class=
"section-end nowrap">
175 {% if ligne.total_traitements %}
176 {{ ligne.total_traitements }} {{ ligne.devise }}
179 {% for indemnite in ligne.indemnites %}
182 {{ indemnite }} {{ ligne.devise }}
186 <td class=
"section-end nowrap">
187 {% if ligne.total_indemnites %}
188 {{ ligne.total_indemnites }} {{ ligne.devise }}
191 {% for prime in ligne.primes %}
194 {{ prime }} {{ ligne.devise }}
198 <td class=
"section-end nowrap">
199 {% if ligne.total_primes %}
200 {{ ligne.total_primes }} {{ ligne.devise }}
203 {% for charge in ligne.charges %}
206 {{ charge }} {{ ligne.devise }}
210 <td class=
"section-end nowrap">
211 {% if ligne.total_charges %}
212 {{ ligne.total_charges }} {{ ligne.devise }}
216 {% if ligne.total_traitements %}
217 {{ ligne.total_traitements }} {{ ligne.devise }}
221 {% if ligne.total_indemnites %}
222 {{ ligne.total_indemnites }} {{ ligne.devise }}
226 {% if ligne.total_primes %}
227 {{ ligne.total_primes }} {{ ligne.devise }}
230 <td class=
"section-end nowrap">
231 {% if ligne.total_charges %}
232 {{ ligne.total_charges }} {{ ligne.devise }}
236 {{ ligne.masse_salariale }} {{ ligne.devise }}
239 {{ ligne.masse_salariale_eur }} EUR