Merge branch 'dev' of ssh://git.auf/auf_rh_dae into dev
[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
5e46aab8 20<table id="result_list" class="results">
f2d65e83
PP
21<thead>
22<tr>
65e02621 23 {% table_header headers %}
f2d65e83
PP
24</tr>
25</thead>
26{% spaceless %}{% for contrat in contrats %}
27<tr class="{% cycle 'row1' 'row2' %}">
9202c5db
JPC
28 <td style="text-align:right"><a href="{% url admin:rh_employe_change contrat.dossier.employe.id %}">{{ contrat.dossier.employe.id }}</a></td>
29 <td><a href="{% url admin:rh_employe_change contrat.dossier.employe.id %}">{{ contrat.dossier.employe.nom|upper }}</a></td>
30 <td><a href="{% url admin:rh_employe_change contrat.dossier.employe.id %}">{{ contrat.dossier.employe.prenom }}</a></td>
31 <td><a href="{% url admin:rh_poste_change contrat.dossier.poste.id %}">{{ contrat.dossier.poste }}</a></td>
f2d65e83
PP
32 <td>{{ contrat.type_contrat.nom }}</td>
33 <td>{{ contrat.date_debut }}</td>
34 <td>{{ contrat.date_fin|default:'' }}</td>
35</tr>
36{% endfor %}{% endspaceless %}
37</table>
38
39{% endblock %}