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