0d1e97f3735ff7ef092e350f2502540cd24d70f1
[auf_rh_dae.git] / project / rh / templates / rh / rapports / contrats.html
1 {% extends 'rh/rapports/base.html' %}
2 {% load adminmedia rapports i18n %}
3
4 {% block nomrapport %}Rapport Contrats{% endblock %}
5
6 {% block count_elements %}<h2>{{ count }} contrats pour {{ count_employe }} employés</h2>{% endblock %}
7
8 {% block contentrapport %}
9
10 <div id="changelist-filter">
11 <h2>{% trans 'Filter' %}</h2>
12 {% filter_region_contrat %}
13 {% filter_implantation_contrat %}
14 {% filter_type_contrat %}
15 {% filter_echeance_contrat %}
16 {% filter_debut_contrat %}
17 {% filter_a_venir %}
18 </div>
19
20 <table id="result_list">
21 <thead>
22 <tr>
23 {% table_header headers %}
24 </tr>
25 </thead>
26 {% spaceless %}{% for contrat in contrats %}
27 <tr class="{% cycle 'row1' 'row2' %}">
28 <td style="text-align:right"><a href="{% url admin:rh_employe_change contrat.dossier.employe.id %}">{{ contrat.dossier.employe.id }}</a></td>
29 <td><a href="{% url admin:rh_employe_change contrat.dossier.employe.id %}">{{ contrat.dossier.employe.nom|upper }}</a></td>
30 <td><a href="{% url admin:rh_employe_change contrat.dossier.employe.id %}">{{ contrat.dossier.employe.prenom }}</a></td>
31 <td><a href="{% url admin:rh_poste_change contrat.dossier.poste.id %}">{{ contrat.dossier.poste }}</a></td>
32 <td>{{ contrat.type_contrat.nom }}</td>
33 <td>{{ contrat.date_debut }}</td>
34 <td>{{ contrat.date_fin|default:'' }}</td>
35 </tr>
36 {% endfor %}{% endspaceless %}
37 </table>
38
39 {% endblock %}