[#3188] genre dans apercu employé
[auf_rh_dae.git] / project / rh / templates / rh / rapports / contrats.html
CommitLineData
f2d65e83 1{% extends 'rh/rapports/base.html' %}
f0f6b03e
OL
2{% load adminmedia rapports i18n change_list %}
3
4{% block extrastyle %}
58348377
EMS
5{{ block.super }}
6<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/css/admin_custom.css">
7{% endblock %}
8
9{% block extrahead %}
f0f6b03e
OL
10<script type="text/javascript" src="/admin/jsi18n"></script>
11<script type="text/javascript" src="{{ STATIC_URL }}/admin/js/core.js"></script>
12{{ block.super }}
13{% endblock %}
f2d65e83
PP
14
15{% block nomrapport %}Rapport Contrats{% endblock %}
16
8ee135b7
JPC
17{% block count_elements %}<h2>{{ count }} contrats pour {{ count_employe }} employés</h2>{% endblock %}
18
f2d65e83
PP
19{% block contentrapport %}
20
21<div id="changelist-filter">
22<h2>{% trans 'Filter' %}</h2>
23e749e1
PP
23{% filter_region_contrat %}
24{% filter_implantation_contrat %}
25{% filter_type_contrat %}
72ac5e55 26{% filter_echeance_contrat %}
eb204143 27{% filter_debut_contrat %}
35beb92c 28{% filter_a_venir %}
f2d65e83
PP
29</div>
30
f0f6b03e
OL
31
32{% recherche_par_annees cl %}
33
5e46aab8 34<table id="result_list" class="results">
f2d65e83
PP
35<thead>
36<tr>
65e02621 37 {% table_header headers %}
f2d65e83
PP
38</tr>
39</thead>
40{% spaceless %}{% for contrat in contrats %}
41<tr class="{% cycle 'row1' 'row2' %}">
d50a5e5d
OL
42 <td style="text-align:right"><a href="{% url employe_apercu contrat.dossier.employe.id %}">{{ contrat.dossier.employe.id }}</a></td>
43 <td><a href="{% url admin:rh_employe_change contrat.dossier.employe.id %}">
44 {{ contrat.dossier.employe.nom|upper }}
45 {{contrat.dossier.employe.prenom|title }}</a></td>
46 <td><a href="{% url admin:rh_poste_change contrat.dossier.poste.id %}">{{ contrat.dossier.poste.nom }}</a></td>
47 <td>{{ contrat.dossier.poste.implantation.region }}</td>
48 <td>{{ contrat.dossier.poste.implantation }}</td>
49 <td>
50 {% if contrat.fichier %}
51 <a href="{{ contrat.fichier.url }}">{{ contrat.type_contrat.nom }}</a>
52 {% else %}
53 {{ contrat.type_contrat.nom }}
54 {% endif %}
55 </td>
58348377 56 <td>{{ contrat.dossier.get_statut_residence_display }}</td>
d50a5e5d
OL
57 <td>{{ contrat.date_debut }}</td>
58 <td>{{ contrat.date_fin|default:'' }}</td>
f2d65e83
PP
59</tr>
60{% endfor %}{% endspaceless %}
61</table>
62
63{% endblock %}