1 {% extends
"base.html" %}
4 {% block title %}RH - DAE - Embauches{% endblock %}
5 {% block titre %}Ressources humaines{% endblock %}
6 {% block sous_titre %}Demande d'autorisation d'engagement{% endblock %}
8 <link rel=
"stylesheet" type=
"text/css" href=
"{{ STATIC_URL }}css/dae.css" />
9 <link rel=
"stylesheet" type=
"text/css" href=
"{{ STATIC_URL }}css/tablesorter.css" />
10 <script type=
"text/javascript" src=
"{{ STATIC_URL }}js/jquery-1.5.1.min.js"></script>
11 <script type=
"text/javascript">
12 $(document).ready(function() {
13 $('table.tablesorter thead th').click(function() {
14 window.location.href = $(this).find('a').attr('href');
21 <h1>Liste des demandes d'autorisation d'engagement finalisées
</h1>
26 <tr><td></td><td><input type=
"submit" value=
"Recherche"></td></tr>
30 <table class=
"listing tablesorter">
34 {% sort_header
"region" "Région" %}
35 {% sort_header
"implantation" "Implantation" %}
36 {% sort_header
"poste" "Poste" %}
37 {% sort_header
"personne" "Personne" %}
38 {% sort_header
"debut_contrat" "Début du contrat" %}
39 {% sort_header
"fin_contrat" "Fin du contrat" %}
44 {% for dossier in embauches.object_list %}
46 <td><input type=
"checkbox" name=
"ids" value=
"{{ dossier.id }}"></td>
47 <td>{{ dossier.poste.implantation|region_ou_service }}
</td>
48 <td>{{ dossier.poste.implantation }}
</td>
49 <td><a href=
"{% url poste_consulter dossier.poste.key %}">{{ dossier.poste.nom }}
</a></td>
50 <td><a href=
"{% url embauche_consulter dossier.id %}">{{ dossier.employe }}
</a></td>
51 <td>{{ dossier.contrat_date_debut|date:
"d-m-Y" }}
</td>
52 <td>{{ dossier.contrat_date_fin|date:
"d-m-Y" }}
</td>
54 {% if not dossier.dossier_rh %}
55 <a href=
"{% url embauche_importer dossier.id %}">Importer
</a></td>
62 {% pagination embauches %}
63 <input type=
"submit" name=
"supprimer",
value=
"Supprimer">