Commit | Line | Data |
---|---|---|
5d5a57a4 | 1 | {% extends 'base.html' %} |
286d0aa9 | 2 | {% load adminmedia dae %} |
5d5a57a4 OL |
3 | |
4 | {% block title %}RH - DAE - Embauche{% endblock %} | |
5 | {% block titre %}Ressources humaines{% endblock %} | |
47560eb5 | 6 | {% block sous_titre %}Demande d'autorisation d'engagement{% endblock %} |
5d5a57a4 OL |
7 | |
8 | {% block extrahead %} | |
5d5a57a4 | 9 | <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/dae.css" /> |
5d5a57a4 OL |
10 | {% endblock %} |
11 | ||
12 | {% block main %} | |
47560eb5 | 13 | <h1 class="gauche">Demande d'autorisation d'engagement de personnel</h1> |
ef174b89 | 14 | <a class="droite bouton-action" target="_blank" href="?mode=vpdf">Format impression</a> |
e7ee680f | 15 | {% if dossier|est_editable:request.user %}<a class="droite bouton-action" href="{% url embauche dossier.poste.key dossier.id %}">Modifier</a>{% endif %} |
0c5f7281 OL |
16 | <div class="visualClear"></div> |
17 | ||
5d5a57a4 OL |
18 | <h2 class="section">SECTION 1 - POSTE</h2> |
19 | {% with dossier.poste as poste %} | |
20 | {% include 'dae/poste_resume.html' %} | |
21 | {% endwith %} | |
22 | ||
23 | <h2 class="section">SECTION 2 - PERSONNEL ENGAGÉ</h2> | |
24 | <fieldset> | |
25 | <div> | |
26 | <div class="gauche"><h2>Personne</h2></div> | |
27 | <div class="droite"> | |
28 | <table class="droite"> | |
29 | <tbody> | |
30 | <tr> | |
31 | <th>Mobilité interne</th> | |
32 | <td colspan="3">{% if dossier.mobilite_interne %}oui{% else %}non{% endif %} | |
33 | </tr> | |
34 | </tbody> | |
35 | </table> | |
36 | </div> | |
37 | </div> | |
38 | <div class="clear"></div> | |
39 | <table id="form-employe"> | |
40 | <tbody> | |
41 | <tr> | |
42 | <th>Employé</th> | |
3afbf59e | 43 | <td colspan="5">{{ dossier.employe }} ({{ dossier.employe.genre }})</td> |
5d5a57a4 OL |
44 | </tr> |
45 | </tbody> | |
46 | </table> | |
47 | ||
48 | </fieldset> | |
49 | ||
50 | <fieldset> | |
51 | <h2>Comparaison salariale</h2> | |
52 | <span class="info">dans la région pour les employés occupant un poste similaire</span> | |
53 | <table> | |
483ab3e3 OL |
54 | <tbody> |
55 | <tr> | |
119bc407 OL |
56 | <th>Classement</th> |
57 | <th>Statut</th> | |
483ab3e3 OL |
58 | <th>Implantation</th> |
59 | <th>Employé</th> | |
60 | <th>Poste</th> | |
61 | <th>Salaire</th> | |
62 | <th>Salaire EUR</th> | |
63 | </tr> | |
64 | {% for dc in dossier.comparaisons.all %} | |
65 | <tr> | |
119bc407 OL |
66 | <td>{{ dc.classement|default:"" }}</td> |
67 | <td>{{ dc.statut|default:"" }}</td> | |
483ab3e3 OL |
68 | <td>{{ dc.implantation }}</td> |
69 | <td>{{ dc.personne }}</td> | |
70 | <td>{{ dc.poste }}</td> | |
1d0f4eef OL |
71 | <td>{{ dc.montant|floatformat:0 }} {{ dc.devise }}</td> |
72 | <td>{{ dc.montant_euros|floatformat:0 }} EUR</td> | |
483ab3e3 OL |
73 | </tr> |
74 | {% endfor %} | |
75 | </tbody> | |
a6eadec5 OL |
76 | </table> |
77 | </fieldset> | |
5d5a57a4 OL |
78 | |
79 | ||
483ab3e3 OL |
80 | <div id="form-dossier"> |
81 | {% comment %}Wrapper du formulaire de dossier{% endcomment %} | |
82 | {% include "dae/embauche-dossier-consulter.html" %} | |
83 | </div> | |
e6f52402 | 84 | |
483ab3e3 OL |
85 | <fieldset> |
86 | <h2>Pièces jointes</h2> | |
87 | <ul> | |
88 | {% for pj in dossier.dossierpiece_set.all %} | |
e3563bcf | 89 | <li><a href="{% url dossier_piece pj.id %}">{{ pj.nom }}</a></li> |
e6f52402 | 90 | {% endfor %} |
483ab3e3 OL |
91 | </ul> |
92 | ||
93 | </fieldset> | |
3799cafc | 94 | |
483ab3e3 OL |
95 | <h2 class="section">SECTION 3 - COÛT GLOBAL</h2> |
96 | ||
97 | <fieldset> | |
98 | <table cellspacing="0" id="global-cost"> | |
99 | {% include 'dae/embauche-remun-consulter.html' %} | |
e6f52402 | 100 | </table> |
483ab3e3 OL |
101 | </fieldset> |
102 | ||
103 | <h2 class="section">SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)</h2> | |
104 | <h3>A - Justification du poste</h3> | |
105 | <p>{{ poste.justification }}</p> | |
106 | ||
107 | <h3>B - Justification de l'employé</h3> | |
bf2ebebc | 108 | <table class="justifications"> |
483ab3e3 OL |
109 | <tr> |
110 | <th>Nouvel employé</th> | |
111 | <th>Renouvellement, prolongation, reclassement, mobilité interne</th> | |
112 | </tr> | |
113 | <tr> | |
114 | <td> | |
115 | <h4>{{ dossier.justif_nouveau_statut_label }}</h4> | |
bf2ebebc | 116 | <p>{{ dossier.justif_nouveau_statut|default:"∅" }} |
483ab3e3 | 117 | <h4>{{ dossier.justif_nouveau_tmp_remplacement_label }}</h4> |
bf2ebebc | 118 | <p>{{ dossier.justif_nouveau_tmp_remplacement|default:"∅" }}</p> |
483ab3e3 | 119 | <h4>{{ dossier.justif_nouveau_salaire_label }}</h4> |
bf2ebebc | 120 | <p>{{ dossier.justif_nouveau_salaire|default:"∅" }}</p> |
483ab3e3 | 121 | <h4>{{ dossier.justif_nouveau_commentaire_label }}</h4> |
bf2ebebc | 122 | <p>{{ dossier.justif_nouveau_commentaire|default:"∅" }}</p> |
483ab3e3 OL |
123 | </td> |
124 | <td> | |
125 | <h4>{{ dossier.justif_rempl_type_contrat_label }}</h4> | |
bf2ebebc | 126 | <p>{{ dossier.justif_rempl_type_contrat|default:"∅"}}</p> |
483ab3e3 | 127 | <h4>{{ dossier.justif_rempl_statut_employe_label }}</h4> |
bf2ebebc | 128 | <p>{{ dossier.justif_rempl_statut_employe|default:"∅"}}</p> |
483ab3e3 | 129 | <h4>{{ dossier.justif_rempl_evaluation_label }}</h4> |
bf2ebebc | 130 | <p>{{ dossier.justif_rempl_evaluation|default:"∅"}}</p> |
483ab3e3 | 131 | <h4>{{ dossier.justif_rempl_salaire_label }}</h4> |
bf2ebebc | 132 | <p>{{ dossier.justif_rempl_salaire|default:"∅" }}</p> |
483ab3e3 | 133 | <h4>{{ dossier.justif_rempl_commentaire_label }}</h4> |
bf2ebebc | 134 | <p>{{ dossier.justif_rempl_commentaire|default:"∅" }}</p> |
483ab3e3 OL |
135 | </td> |
136 | </tr> | |
137 | </table> | |
138 | ||
139 | <fieldset> | |
140 | <h2>Validations</h2> | |
141 | ||
142 | <table> | |
143 | <tr> | |
144 | <th>Action</th> | |
145 | <th>Commentaire</th> | |
146 | </tr> | |
147 | {% for commentaire in dossier.historique_desc %} | |
148 | {% include "dae/ligne_validation.html" %} | |
149 | {% endfor %} | |
150 | </table> | |
151 | ||
152 | <h2>Votre validation (ou commentaire)</h2> | |
153 | <p>Ce dossier est actuellement à l'état <span class="note">{{ dossier.get_etat_display }}</span>.</p> | |
154 | ||
155 | <form action="" method="post"> | |
156 | <table> | |
157 | {% if validationForm.get_etats_disponibles %}{{ validationForm.commentaire }}{% endif %} | |
158 | </table> | |
159 | {{ validationForm.get_input_etats_as_buttons|safe }} | |
160 | </form> | |
161 | </fieldset> | |
e6f52402 | 162 | |
5d5a57a4 OL |
163 | {% endblock %} |
164 |