Rapport contrats: ajout filtre date début
[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 {% filter_debut_contrat %}
17 </div>
18
19 <table id="result_list">
20 <thead>
21 <tr>
22 <th># de l'employé</th>
23 <th>Nom</th>
24 <th>Prénom</th>
25 <th>Poste</th>
26 <th>Type de contrat</th>
27 <th>Date début</th>
28 <th>Date fin</th>
29 </tr>
30 </thead>
31 {% spaceless %}{% for contrat in contrats %}
32 <tr class="{% cycle 'row1' 'row2' %}">
33 <td>{{ contrat.dossier.employe.id }}</td>
34 <td>{{ contrat.dossier.employe.nom }}</td>
35 <td>{{ contrat.dossier.employe.prenom }}</td>
36 <td>{{ contrat.dossier.poste }}</td>
37 <td>{{ contrat.type_contrat.nom }}</td>
38 <td>{{ contrat.date_debut }}</td>
39 <td>{{ contrat.date_fin|default:'' }}</td>
40 </tr>
41 {% endfor %}{% endspaceless %}
42 </table>
43
44 {% endblock %}