4b4f655d7d1c3614bac766576adc89eb02a07f81
[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 count_elements %}<h2>{{ count }} contrats pour {{ count_employe }} employés</h2>{% endblock %}
7
8 {% block contentrapport %}
9
10 <div id="changelist-filter">
11 <h2>{% trans 'Filter' %}</h2>
12 {% filter_region_contrat %}
13 {% filter_implantation_contrat %}
14 {% filter_type_contrat %}
15 {% filter_echeance_contrat %}
16 </div>
17
18 <table id="result_list">
19 <thead>
20 <tr>
21 <th># de l'employé</th>
22 <th>Nom</th>
23 <th>Prénom</th>
24 <th>Poste</th>
25 <th>Type de contrat</th>
26 <th>Date début</th>
27 <th>Date fin</th>
28 </tr>
29 </thead>
30 {% spaceless %}{% for contrat in contrats %}
31 <tr class="{% cycle 'row1' 'row2' %}">
32 <td>{{ contrat.dossier.employe.id }}</td>
33 <td>{{ contrat.dossier.employe.nom }}</td>
34 <td>{{ contrat.dossier.employe.prenom }}</td>
35 <td>{{ contrat.dossier.poste }}</td>
36 <td>{{ contrat.type_contrat.nom }}</td>
37 <td>{{ contrat.date_debut }}</td>
38 <td>{{ contrat.date_fin|default:'' }}</td>
39 </tr>
40 {% endfor %}{% endspaceless %}
41 </table>
42
43 {% endblock %}