1 {% extends 'rh/rapports/base.html' %}
2 {% load adminmedia rapports i18n change_list %}
6 <link rel=
"stylesheet" type=
"text/css" href=
"{{ STATIC_URL }}/css/admin_custom.css">
10 <script type=
"text/javascript" src=
"/admin/jsi18n"></script>
11 <script type=
"text/javascript" src=
"{{ STATIC_URL }}/admin/js/core.js"></script>
12 <script type=
"text/javascript" src=
"{{ STATIC_URL }}admin/js/admin/RelatedObjectLookups.js"></script>
16 {% block nomrapport %}
20 {% block count_elements %}
21 <h2>{{ contrats.count }} contrats pour {{ count_employe }} employés
</h2>
24 {% block contentrapport %}
25 <div id=
"changelist-filter">
26 <h2>{% trans 'Filter' %}
</h2>
28 {% filter_region_contrat %}
29 {% filter_implantation_contrat %}
30 {% filter_type_contrat %}
31 {% filter_echeance_contrat %}
32 {% filter_debut_contrat %}
36 {% recherche_par_annees cl %}
38 <table id=
"result_list" class=
"results">
40 <tr>{% table_header headers %}
</tr>
43 {% for contrat in contrats %}
44 <tr class=
"{% cycle 'row1' 'row2' %}">
45 <td style=
"text-align:right">
46 {{ contrat.dossier.employe.id }}
48 <td>{{ contrat.dossier.employe.nom|upper }} {{ contrat.dossier.employe.prenom|title }}
</td>
50 {% with contrat.dossier as d %}
51 {% include 'rh/include/rapports_dossier_poste.html' %}
55 {% include 'rh/include/rapports_contrat.html' %}
57 <td>{{ contrat.date_debut }}
</td>
58 <td>{{ contrat.date_fin|default:'' }}
</td>
59 <td>{{ contrat.dossier.get_statut_residence_display }}
</td>
60 <td>{{ contrat.dossier.poste.implantation.region.nom }}
</td>
61 <td>{{ contrat.dossier.poste.implantation.nom }}
</td>