Mauvaise redirection apres affectation d'évaluateurs
[auf_rh_dae.git] / project / rh / templates / rh / rapports / contrats.html
1 {% extends 'rh/rapports/base.html' %}
2 {% load adminmedia rapports i18n change_list %}
3
4 {% block extrastyle %}
5 {{ block.super }}
6 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/css/admin_custom.css">
7 {% endblock %}
8
9 {% block extrahead %}
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 %}
14
15 {% block nomrapport %}Rapport Contrats{% endblock %}
16
17 {% block count_elements %}<h2>{{ count }} contrats pour {{ count_employe }} employés</h2>{% endblock %}
18
19 {% block contentrapport %}
20
21 <div id="changelist-filter">
22 <h2>{% trans 'Filter' %}</h2>
23 {% filter_region_contrat %}
24 {% filter_implantation_contrat %}
25 {% filter_type_contrat %}
26 {% filter_echeance_contrat %}
27 {% filter_debut_contrat %}
28 {% filter_a_venir %}
29 </div>
30
31
32 {% recherche_par_annees cl %}
33
34 <table id="result_list" class="results">
35 <thead>
36 <tr>
37 {% table_header headers %}
38 </tr>
39 </thead>
40 {% spaceless %}{% for contrat in contrats %}
41 <tr class="{% cycle 'row1' 'row2' %}">
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>
56 <td>{{ contrat.dossier.get_statut_residence_display }}</td>
57 <td>{{ contrat.date_debut }}</td>
58 <td>{{ contrat.date_fin|default:'' }}</td>
59 </tr>
60 {% endfor %}{% endspaceless %}
61 </table>
62
63 {% endblock %}