Rapport employés sans contrats
[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 %}
5<script type="text/javascript" src="/admin/jsi18n"></script>
6<script type="text/javascript" src="{{ STATIC_URL }}/admin/js/core.js"></script>
7{{ block.super }}
8{% endblock %}
f2d65e83
PP
9
10{% block nomrapport %}Rapport Contrats{% endblock %}
11
8ee135b7
JPC
12{% block count_elements %}<h2>{{ count }} contrats pour {{ count_employe }} employés</h2>{% endblock %}
13
f2d65e83
PP
14{% block contentrapport %}
15
16<div id="changelist-filter">
17<h2>{% trans 'Filter' %}</h2>
23e749e1
PP
18{% filter_region_contrat %}
19{% filter_implantation_contrat %}
20{% filter_type_contrat %}
72ac5e55 21{% filter_echeance_contrat %}
eb204143 22{% filter_debut_contrat %}
35beb92c 23{% filter_a_venir %}
f2d65e83
PP
24</div>
25
f0f6b03e
OL
26
27{% recherche_par_annees cl %}
28
5e46aab8 29<table id="result_list" class="results">
f2d65e83
PP
30<thead>
31<tr>
65e02621 32 {% table_header headers %}
f2d65e83
PP
33</tr>
34</thead>
35{% spaceless %}{% for contrat in contrats %}
36<tr class="{% cycle 'row1' 'row2' %}">
9202c5db
JPC
37 <td style="text-align:right"><a href="{% url admin:rh_employe_change contrat.dossier.employe.id %}">{{ contrat.dossier.employe.id }}</a></td>
38 <td><a href="{% url admin:rh_employe_change contrat.dossier.employe.id %}">{{ contrat.dossier.employe.nom|upper }}</a></td>
39 <td><a href="{% url admin:rh_employe_change contrat.dossier.employe.id %}">{{ contrat.dossier.employe.prenom }}</a></td>
40 <td><a href="{% url admin:rh_poste_change contrat.dossier.poste.id %}">{{ contrat.dossier.poste }}</a></td>
f2d65e83
PP
41 <td>{{ contrat.type_contrat.nom }}</td>
42 <td>{{ contrat.date_debut }}</td>
43 <td>{{ contrat.date_fin|default:'' }}</td>
44</tr>
45{% endfor %}{% endspaceless %}
46</table>
47
48{% endblock %}