Commit | Line | Data |
---|---|---|
f2d65e83 PP |
1 | {% extends 'rh/rapports/base.html' %} |
2 | {% load adminmedia rapports i18n %} | |
3 | ||
4 | {% block nomrapport %}Rapport Contrats{% endblock %} | |
5 | ||
6 | {% block contentrapport %} | |
7 | ||
8 | <div id="changelist-filter"> | |
9 | <h2>{% trans 'Filter' %}</h2> | |
10 | {% comment %} | |
11 | {% filter_region %} | |
12 | {% filter_implantation %} | |
13 | {% filter_comble %} | |
14 | {% endcomment %} | |
15 | </div> | |
16 | ||
17 | <table id="result_list"> | |
18 | <thead> | |
19 | <tr> | |
20 | <th># de l'employé</th> | |
21 | <th>Nom</th> | |
22 | <th>Prénom</th> | |
23 | <th>Poste</th> | |
24 | <th>Type de contrat</th> | |
25 | <th>Date début</th> | |
26 | <th>Date fin</th> | |
27 | </tr> | |
28 | </thead> | |
29 | {% spaceless %}{% for contrat in contrats %} | |
30 | <tr class="{% cycle 'row1' 'row2' %}"> | |
31 | <td>{{ contrat.dossier.employe.id }}</td> | |
32 | <td>{{ contrat.dossier.employe.nom }}</td> | |
33 | <td>{{ contrat.dossier.employe.prenom }}</td> | |
34 | <td>{{ contrat.dossier.poste }}</td> | |
35 | <td>{{ contrat.type_contrat.nom }}</td> | |
36 | <td>{{ contrat.date_debut }}</td> | |
37 | <td>{{ contrat.date_fin|default:'' }}</td> | |
38 | </tr> | |
39 | {% endfor %}{% endspaceless %} | |
40 | </table> | |
41 | ||
42 | {% endblock %} |