Rappoart contrats: ajout filtre à venir
[auf_rh_dae.git] / project / rh / templates / rh / rapports / contrats.html
CommitLineData
f2d65e83
PP
1{% extends 'rh/rapports/base.html' %}
2{% load adminmedia rapports i18n %}
3
4{% block nomrapport %}Rapport Contrats{% endblock %}
5
8ee135b7
JPC
6{% block count_elements %}<h2>{{ count }} contrats pour {{ count_employe }} employés</h2>{% endblock %}
7
f2d65e83
PP
8{% block contentrapport %}
9
10<div id="changelist-filter">
11<h2>{% trans 'Filter' %}</h2>
23e749e1
PP
12{% filter_region_contrat %}
13{% filter_implantation_contrat %}
14{% filter_type_contrat %}
72ac5e55 15{% filter_echeance_contrat %}
eb204143 16{% filter_debut_contrat %}
35beb92c 17{% filter_a_venir %}
f2d65e83
PP
18</div>
19
20<table id="result_list">
21<thead>
22<tr>
23 <th># de l'employé</th>
24 <th>Nom</th>
25 <th>Prénom</th>
26 <th>Poste</th>
27 <th>Type de contrat</th>
28 <th>Date début</th>
29 <th>Date fin</th>
30</tr>
31</thead>
32{% spaceless %}{% for contrat in contrats %}
33<tr class="{% cycle 'row1' 'row2' %}">
34 <td>{{ contrat.dossier.employe.id }}</td>
35 <td>{{ contrat.dossier.employe.nom }}</td>
36 <td>{{ contrat.dossier.employe.prenom }}</td>
37 <td>{{ contrat.dossier.poste }}</td>
38 <td>{{ contrat.type_contrat.nom }}</td>
39 <td>{{ contrat.date_debut }}</td>
40 <td>{{ contrat.date_fin|default:'' }}</td>
41</tr>
42{% endfor %}{% endspaceless %}
43</table>
44
45{% endblock %}