Merge branch 'reversion'
[auf_rh_dae.git] / project / dae / templates / dae / embauches_finalisees.html
CommitLineData
44055779
EMS
1{% extends "base.html" %}
2{% load dae %}
3
4{% block title %}RH - DAE - Embauches{% endblock %}
5{% block titre %}Ressources humaines{% endblock %}
6{% block sous_titre %}Demande d'autorisation d'engagement{% endblock %}
7{% block extrahead %}
63f8af95
OL
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>
44055779
EMS
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');
15 });
16 });
17</script>
18{% endblock %}
19
20{% block main %}
21<h1>Liste des demandes d'autorisation d'engagement finalisées</h1>
22
cbfd7bd4
EMS
23<form>
24 <table>
25 {{ search_form }}
26 <tr><td></td><td><input type="submit" value="Recherche"></td></tr>
27</form>
28
bed096fc
EMS
29<form method="post">
30 <table class="listing tablesorter">
31 <thead>
32 <tr>
33 <th></th>
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" %}
40 <th></th>
41 </tr>
42 </thead>
43 <tbody>
44 {% for dossier in embauches.object_list %}
45 <tr>
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>
a8c6e2de 49 <td><a href="{% url poste_consulter dossier.poste.key %}">{{ dossier.poste.nom }}</a></td>
bed096fc
EMS
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>
53 <td>
54 {% if not dossier.dossier_rh %}
55 <a href="{% url embauche_importer dossier.id %}">Importer</a></td>
56 {% endif %}
57 </td>
58 </tr>
59 {% endfor %}
60 </tbody>
61 </table>
62 {% pagination embauches %}
63 <input type="submit" name="supprimer", value="Supprimer">
64</form>
44055779 65{% endblock %}