Ajouté des liens vers l'employé au rapport de masse salariale
[auf_rh_dae.git] / project / rh / templates / rh / rapports / employes_sans_contrat.html
CommitLineData
c8b22fd1
JPC
1{% extends 'rh/rapports/base.html' %}
2{% load adminmedia rapports i18n change_list %}
3
4{% block extrastyle %}
5db1c5a3
DB
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 }}
c8b22fd1
JPC
9{% endblock %}
10
11{% block nomrapport %}Rapport Contrats{% endblock %}
12
6b7cf654 13{% block count_elements %}
5db1c5a3 14<h2>{{ employes }} employés sans contrat ou contrat échu</h2>
6b7cf654 15{% endblock %}
c8b22fd1
JPC
16
17{% block contentrapport %}
c8b22fd1 18<div id="changelist-filter">
6b7cf654
DB
19 <h2>{% trans 'Filter' %}</h2>
20 {% filter_region_contrat %}
21 {% filter_implantation_contrat %}
c8b22fd1
JPC
22</div>
23
24<table id="result_list" class="results">
6b7cf654
DB
25 <thead>
26 <tr>{% table_header headers %}</tr>
27 </thead>
28 <tbody>
5db1c5a3
DB
29 {% spaceless %}
30 {% for d in dossiers %}
6b7cf654 31 <tr class="{% cycle 'row1' 'row2' %}">
5db1c5a3
DB
32 <td style="text-align:right">{{ d.employe.id }}</td>
33 <td>{{ d.employe.nom|upper }} {{ d.employe.prenom }}</td>
34 <td>{% include 'rh/include/rapports_dossier_poste.html' %}</td>
6b7cf654 35 <td>
5db1c5a3
DB
36 {% with d.dernier_contrat as contrat %}
37 {% include 'rh/include/rapports_contrat.html' %}
38 {% endwith %}
6b7cf654 39 </td>
5db1c5a3
DB
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.region.code }}</td>
44 <td>{{ d.poste.implantation.nom }}</td>
6b7cf654
DB
45 </tr>
46 {% endfor %}
47 {% endspaceless %}
48 </tbody>
c8b22fd1 49</table>
1a7b9e36 50
c8b22fd1 51{% endblock %}