c1b9bbbcffdaeb078fe1de0778f092bea00a6cbb
[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 {{ block.super }}
8 {% endblock %}
9
10 {% block nomrapport %}Rapport Contrats{% endblock %}
11
12 {% block count_elements %}
13 <h2>{{ employes.count }} employés sans contrat</h2>
14 {% endblock %}
15
16 {% block contentrapport %}
17 <div id="changelist-filter">
18 <h2>{% trans 'Filter' %}</h2>
19 {% filter_region_contrat %}
20 {% filter_implantation_contrat %}
21 </div>
22
23 <table id="result_list" class="results">
24 <thead>
25 <tr>{% table_header headers %}</tr>
26 </thead>
27 <tbody>
28 {% spaceless %}
29 {% for e in employes %}
30 <tr class="{% cycle 'row1' 'row2' %}">
31 <td style="text-align:right">{{ e.id }}</td>
32 <td>{{ e.nom|upper }} {{ e.prenom }}</td>
33 <td>
34 {% for d in e.rh_dossiers.all %}
35 {% if d in dossiers_sans_contrat %}
36 <a href="{% url admin:rh_dossier_change d.id %}">Dossier</a> : {{ d.poste.nom }}
37 {% if not forloop.last %}<br />{% endif %}
38 {% endif %}
39 {% endfor %}
40 </td>
41 <td>
42 {% for d in e.rh_dossiers.all %}
43 {% if d in dossiers_sans_contrat %}
44 {{ d.date_debut|default_if_none:"" }}
45 {% if not forloop.last %}<br />{% endif %}
46 {% endif %}
47 {% endfor %}
48 </td>
49 <td>
50 {% for d in e.rh_dossiers.all %}
51 {% if d in dossiers_sans_contrat %}
52 {{ d.date_fin|default_if_none:"" }}
53 {% if not forloop.last %}<br />{% endif %}
54 {% endif %}
55 {% endfor %}
56 </td>
57 </tr>
58 {% endfor %}
59 {% endspaceless %}
60 </tbody>
61 </table>
62
63 {% endblock %}