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> | |
23e749e1 PP |
10 | {% filter_region_contrat %} |
11 | {% filter_implantation_contrat %} | |
12 | {% filter_type_contrat %} | |
72ac5e55 | 13 | {% filter_echeance_contrat %} |
f2d65e83 PP |
14 | </div> |
15 | ||
16 | <table id="result_list"> | |
17 | <thead> | |
18 | <tr> | |
19 | <th># de l'employé</th> | |
20 | <th>Nom</th> | |
21 | <th>Prénom</th> | |
22 | <th>Poste</th> | |
23 | <th>Type de contrat</th> | |
24 | <th>Date début</th> | |
25 | <th>Date fin</th> | |
26 | </tr> | |
27 | </thead> | |
28 | {% spaceless %}{% for contrat in contrats %} | |
29 | <tr class="{% cycle 'row1' 'row2' %}"> | |
30 | <td>{{ contrat.dossier.employe.id }}</td> | |
31 | <td>{{ contrat.dossier.employe.nom }}</td> | |
32 | <td>{{ contrat.dossier.employe.prenom }}</td> | |
33 | <td>{{ contrat.dossier.poste }}</td> | |
34 | <td>{{ contrat.type_contrat.nom }}</td> | |
35 | <td>{{ contrat.date_debut }}</td> | |
36 | <td>{{ contrat.date_fin|default:'' }}</td> | |
37 | </tr> | |
38 | {% endfor %}{% endspaceless %} | |
39 | </table> | |
40 | ||
41 | {% endblock %} |