[#3165] Remplacé les filtres et protection par région pour des filtres et protections...
[auf_rh_dae.git] / project / rh / templates / rh / rapports / employes_sans_contrat.html
1 {% extends 'rh/rapports/base.html' %}
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 <script type="text/javascript" src="{{ STATIC_URL }}admin/js/admin/RelatedObjectLookups.js"></script>
8 {{ block.super }}
9 {% endblock %}
10
11 {% block nomrapport %}Rapport Contrats{% endblock %}
12
13 {% block count_elements %}
14 <h2>{{ employes }} employés sans contrat ou contrat échu</h2>
15 {% endblock %}
16
17 {% block contentrapport %}
18 <div id="changelist-filter">
19 <h2>{% trans 'Filter' %}</h2>
20 {% filter_zone_administrative_dossier %}
21 {% filter_implantation_dossier %}
22 </div>
23
24 <table id="result_list" class="results">
25 <thead>
26 <tr>{% table_header headers %}</tr>
27 </thead>
28 <tbody>
29 {% spaceless %}
30 {% for d in dossiers %}
31 <tr class="{% cycle 'row1' 'row2' %}">
32 <td style="text-align:right">{{ d.employe.id|stringformat:"d" }}</td>
33 <td>{{ d.employe.nom|upper }} {{ d.employe.prenom }}</td>
34 <td>{% include 'rh/include/rapports_dossier_poste.html' %}</td>
35 <td>
36 {% with d.dernier_contrat as contrat %}
37 {% include 'rh/include/rapports_contrat.html' %}
38 {% endwith %}
39 </td>
40 <td>{{ d.dernier_contrat.date_debut|default_if_none:"" }}</td>
41 <td>{{ d.dernier_contrat.date_fin|default_if_none:"" }}</td>
42 <td>{{ d.get_statut_residence_display }}</td>
43 <td>{{ d.poste.implantation.zone_administrative.code }}</td>
44 <td>{{ d.poste.implantation.nom }}</td>
45 </tr>
46 {% endfor %}
47 {% endspaceless %}
48 </tbody>
49 </table>
50
51 {% endblock %}