Commit | Line | Data |
---|---|---|
5d680e84 | 1 | {% extends 'base.html' %} |
2c8d834d | 2 | {% load adminmedia dae %} |
37bf2d05 | 3 | |
e8e75458 | 4 | {% block title %}RH - DAE - Poste{% endblock %} |
498881f4 | 5 | {% block titre %}Ressources humaines{% endblock %} |
5efcd48e | 6 | {% block sous_titre %} |
6ba4fe7b | 7 | Demande d'autorisation d'engagement |
5efcd48e | 8 | {% endblock %} |
498881f4 | 9 | |
37bf2d05 | 10 | {% block extrahead %} |
63f8af95 | 11 | <script src="{{ STATIC_URL }}js/jquery-1.5.1.min.js" |
703e5cfb | 12 | type="text/javascript"></script> |
63f8af95 | 13 | <script src="{{ STATIC_URL }}js/jquery-ui-1.8.11.custom.min.js" |
703e5cfb | 14 | type="text/javascript"></script> |
e88caaf0 OL |
15 | |
16 | {% comment %} style pour le calendier {% endcomment %} | |
17 | <script type="text/javascript"> | |
18 | window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}"; | |
19 | </script> | |
63f8af95 OL |
20 | <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/calendrier.css" /> |
21 | <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/dae.css" /> | |
3121c13c | 22 | |
e88caaf0 OL |
23 | <script type="text/javascript" src="/admin/jsi18n/"></script> |
24 | <script type="text/javascript" src="{% admin_media_prefix %}js/core.js"></script> | |
25 | ||
26 | {{ form.media }} | |
27 | ||
63f8af95 OL |
28 | <script src="{{ STATIC_URL }}jquery-autocomplete/jquery.autocomplete.js" type="text/javascript"></script> |
29 | <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}jquery-autocomplete/jquery.autocomplete.css" /> | |
3121c13c OL |
30 | |
31 | ||
63f8af95 OL |
32 | <script src="{{ STATIC_URL }}js/dae.js" /></script> |
33 | <script src="{{ STATIC_URL }}js/dae-poste.js" /></script> | |
f87fe1a1 | 34 | |
37bf2d05 NC |
35 | {% endblock %} |
36 | ||
37bf2d05 | 37 | {% block main %} |
67ae0181 OL |
38 | |
39 | {% if creer_dossier_dae %} | |
40 | <h1>Demande d'autorisation d'engagement de personnel</h1> | |
41 | <h2 class="section">SECTION 1 - POSTE</h2> | |
42 | {% else %} | |
43 | <h1>Demande d'autorisation de création de poste</h1> | |
44 | {% endif %} | |
498881f4 | 45 | |
36341125 | 46 | <form action="" method="post" enctype="multipart/form-data"> |
8fa94e8b | 47 | |
c3be904d OL |
48 | <div id="type_intervention">{{ form.type_intervention }}</div> |
49 | ||
50 | <div class="clear"></div> | |
51 | ||
5efcd48e | 52 | <fieldset> |
53 | <h2> | |
54 | {% if new %} | |
55 | Nouveau poste | |
56 | {% else %} | |
57 | Poste existant : {{ poste.nom }} ({{ poste.implantation.nom }}) | |
58 | {% endif %} | |
59 | </h2> | |
c3be904d | 60 | |
5efcd48e | 61 | <table> |
62 | <tbody> | |
63 | <tr> | |
6d047148 OL |
64 | <th>{{ form.implantation.label_tag }} :<br />{{ form.implantation.errors }}</th> |
65 | <td>{{ form.implantation }}</td> | |
66 | </tr> | |
67 | <tr> | |
5efcd48e | 68 | <th>{{ form.poste.label_tag }} :<br />{{ form.poste.errors }}</th> |
2c8d834d OL |
69 | <td> |
70 | <div>{{ form.poste }} <span class="info">Au changement de ce | |
71 | menu, la page va être rechargée.</span></div> | |
72 | {% if request.user|test_membre_drh %} | |
73 | <div><input id='poste_id_shortcut' type='text' size="5"/> <span | |
74 | class="info">OU sélection rapide avec id du poste dans RH </div> | |
75 | {% endif %} | |
76 | </td> | |
5efcd48e | 77 | </tr> |
78 | <tr> | |
79 | <th>{{ form.nom.label_tag }} :<br />{{ form.nom.errors }}</th> | |
80 | <td>{{ form.nom }}</td> | |
81 | </tr> | |
82 | <tr> | |
83 | <th>{{ form.type_poste.label_tag }} :<br />{{ form.type_poste.errors }}</th> | |
84 | <td>{{ form.type_poste }}</td> | |
85 | </tr> | |
86 | <tr> | |
5efcd48e | 87 | <th>{{ form.service.label_tag }} :<br />{{ form.service.errors }}</th> |
88 | <td>{{ form.service }}</td> | |
89 | </tr> | |
90 | <tr> | |
91 | <th>{{ form.responsable.label_tag }} :<br />{{ form.responsable.errors }}</th> | |
680db452 | 92 | <td> |
38340bbd OL |
93 | <span class="info">Recherche intelligente : vous pouvez tapez |
94 | le nom du poste, ou encore la personne qui occupe celui-ci. Assurez-vous que le poste de responsable choisi dans la liste est reporté en dessous du champs de recherche, cela signifie qu'il est sélectionné.</span> | |
680db452 OL |
95 | {{ form.responsable }} |
96 | </td> | |
5efcd48e | 97 | </tr> |
98 | </tbody> | |
99 | </table> | |
100 | </fieldset> | |
d949462d | 101 | |
5efcd48e | 102 | <fieldset> |
103 | <h2>Recrutement</h2> | |
104 | <table> | |
105 | <tbody> | |
106 | <tr> | |
154677c3 | 107 | <th>Statut :<br />{{ form.local.errors }} {{ form.expatrie.errors }}</th> |
5efcd48e | 108 | <td> |
109 | <span class="row"> | |
154677c3 | 110 | {{ form.local.label_tag }} {{ form.local }} {{ form.expatrie.label_tag }} {{ form.expatrie }} |
5efcd48e | 111 | {{ form.mise_a_disposition.label_tag }} |
112 | {{ form.mise_a_disposition.errors }} | |
113 | {{ form.mise_a_disposition }} | |
114 | </span> | |
115 | </td> | |
116 | </tr> | |
117 | <tr> | |
118 | <th>{{ form.appel.label_tag }} :<br />{{ form.appel.errors }}</th> | |
119 | <td> | |
120 | <span class="row"> | |
121 | {{ form.appel }} | |
122 | </span> | |
123 | </td> | |
124 | </tr> | |
125 | </tbody> | |
126 | </table> | |
127 | </fieldset> | |
d949462d | 128 | |
5efcd48e | 129 | <fieldset> |
130 | <h2>Durée prévue du poste </h2> | |
9fb2ccd9 | 131 | <span class="info">Indépendamment du titulaire du poste</span> |
5efcd48e | 132 | <table> |
133 | <tbody> | |
134 | <tr> | |
135 | <th rowspan="2">Durée :</th> | |
136 | <td>du</td> | |
137 | <td> | |
138 | {{ form.date_debut }}<br /> | |
139 | <span class="info">({{form.date_debut.help_text }})</span><br /> | |
140 | {{ form.date_debut.errors }} | |
141 | </td> | |
142 | <td> au </td> | |
143 | <td> | |
144 | {{ form.date_fin }}<br /> | |
145 | <span class="info">({{form.date_fin.help_text }})</span><br /> | |
146 | {{ form.date_fin.errors }} | |
147 | </td> | |
5efcd48e | 148 | <th>{{ form.regime_travail.label_tag }} :<br />{{ form.regime_travail.errors }}</th> |
149 | <td colspan="4"> | |
150 | {{ form.regime_travail }} | |
151 | <span class="info">{{ form.regime_travail.help_text }}</span> | |
ce110fb9 | 152 | </td> |
0f23302a | 153 | </tr> |
5efcd48e | 154 | <tr> |
4d25e2ba | 155 | <td colspan="4" class="info"> |
01191cd0 | 156 | <p id="note-duree">Pour une durée indéterminée, spécifier uniquement la date de début.</p> |
4d25e2ba | 157 | </td> |
5efcd48e | 158 | <th> |
159 | {{ form.regime_travail_nb_heure_semaine.label_tag }} :<br /> | |
160 | {{ form.regime_travail_nb_heure_semaine.errors }} | |
161 | </th> | |
4d25e2ba | 162 | <td>{{ form.regime_travail_nb_heure_semaine }}</td> |
5efcd48e | 163 | </tr> |
164 | </tbody> | |
0f23302a | 165 | </table> |
5efcd48e | 166 | </fieldset> |
0f23302a | 167 | |
5efcd48e | 168 | <fieldset> |
169 | <h2>Classement du poste</h2> | |
f87fe1a1 | 170 | <table id="classement"> |
5efcd48e | 171 | <tbody> |
172 | <tr> | |
173 | <th></th> | |
174 | <th>Échelon AUF</th> | |
175 | <th>Valeur du point</th> | |
3d627bfd | 176 | <th>Devise</th> |
177 | <th colspan="2">Salaire de base</th> | |
5f61bccb OL |
178 | <th colspan="2">Indemnités d'expatriation</th> |
179 | <th colspan="2">Indemnités de fonction</th> | |
180 | <th colspan="2">Charges patronales</th> | |
3d627bfd | 181 | <th colspan="2">Autres</th> |
182 | <th colspan="2">TOTAL</th> | |
0f3e6f87 | 183 | <th colspan="2">TOTAL sans charges patronales</th> |
8e30e17f | 184 | <th>Taux > €</th> |
3d627bfd | 185 | <th colspan="2">Conversion EUR</th> |
0f3e6f87 | 186 | <th colspan="2">Conversion EUR sans charges patronales</th> |
5efcd48e | 187 | </tr> |
188 | <tr> | |
189 | <th>Minimum</th> | |
17353922 OL |
190 | <td> |
191 | {{ form.classement_min }} | |
192 | {{ form.classement_min.errors }} | |
193 | </td> | |
194 | <td> | |
86f1e48d | 195 | {{ form.valeur_point_min }} |
5efcd48e | 196 | {{ form.valeur_point_min.errors }} |
197 | </td> | |
3d627bfd | 198 | <td> |
199 | {{ form.devise_min }} | |
200 | {{ form.devise_min.errors }} | |
201 | </td> | |
63437606 | 202 | <td> |
203 | {{ form.salaire_min }} | |
204 | {{ form.salaire_min.errors }} | |
205 | </td> | |
f87fe1a1 | 206 | <td><span class="devise_code">EUR</span></td> |
5f61bccb OL |
207 | <td>{{ form.indemn_expat_min }} {{ form.indemn_expat_min.errors }}</td> |
208 | <td><span class="devise_code">EUR</span></td> | |
209 | <td>{{ form.indemn_fct_min }} {{ form.indemn_fct_min.errors }}</td> | |
210 | <td><span class="devise_code">EUR</span></td> | |
211 | <td>{{ form.charges_patronales_min }} {{ form.charges_patronales_min.errors }}</td> | |
f87fe1a1 | 212 | <td><span class="devise_code">EUR</span></td> |
12c7f8a7 | 213 | <td>{{ form.autre_min }} {{ form.autre_min.errors }}</td> |
f87fe1a1 OL |
214 | <td><span class="devise_code">EUR</span></td> |
215 | <td id="total_min" class="total-devise cell-nombre">0.00</td> | |
216 | <td><span class="devise_code">EUR</span></td> | |
0f3e6f87 EMS |
217 | <td id="total_min" class="remuneration-devise cell-nombre">0.00</td> |
218 | <td><span class="devise_code">EUR</span></td> | |
f87fe1a1 OL |
219 | <td class="taux">1</td> |
220 | <td id="total_min_euro" class="total-euro cell-nombre">0.00</td> | |
3d627bfd | 221 | <td>€</td> |
0f3e6f87 EMS |
222 | <td id="total_min_euro" class="remuneration-euro cell-nombre">0.00</td> |
223 | <td>€</td> | |
0f23302a | 224 | </tr> |
225 | <tr> | |
5efcd48e | 226 | <th>Maximun</th> |
17353922 OL |
227 | <td> |
228 | {{ form.classement_max }} | |
229 | {{ form.classement_max.errors }} | |
230 | </td> | |
231 | <td> | |
86f1e48d | 232 | {{ form.valeur_point_max }} |
5efcd48e | 233 | {{ form.valeur_point_max.errors }} |
ce110fb9 | 234 | </td> |
3d627bfd | 235 | <td> |
236 | {{ form.devise_max }} | |
237 | {{ form.devise_max.errors }} | |
238 | </td> | |
63437606 | 239 | <td> |
240 | {{ form.salaire_max }} | |
241 | {{ form.salaire_max.errors }} | |
242 | </td> | |
f87fe1a1 | 243 | <td><span class="devise_code">EUR</span></td> |
5f61bccb OL |
244 | <td>{{ form.indemn_expat_max }} {{ form.indemn_expat_max.errors }}</td> |
245 | <td><span class="devise_code">EUR</span></td> | |
246 | <td>{{ form.indemn_fct_max }} {{ form.indemn_fct_max.errors }}</td> | |
247 | <td><span class="devise_code">EUR</span></td> | |
248 | <td>{{ form.charges_patronales_max }} {{ form.charges_patronales_max.errors }}</td> | |
f87fe1a1 | 249 | <td><span class="devise_code">EUR</span></td> |
12c7f8a7 | 250 | <td>{{ form.autre_max }} {{ form.autre_max.errors }}</td> |
f87fe1a1 OL |
251 | <td><span class="devise_code">EUR</span></td> |
252 | <td id="total_max" class="total-devise cell-nombre">0.00</td> | |
253 | <td><span class="devise_code">EUR</span></td> | |
0f3e6f87 EMS |
254 | <td id="total_max" class="remuneration-devise cell-nombre">0.00</td> |
255 | <td><span class="devise_code">EUR</span></td> | |
f87fe1a1 OL |
256 | <td class="taux">1</td> |
257 | <td id="total_max_euro" class="total-euro cell-nombre">0.00</td> | |
3d627bfd | 258 | <td>€</td> |
0f3e6f87 EMS |
259 | <td id="total_max_euro" class="remuneration-euro cell-nombre">0.00</td> |
260 | <td>€</td> | |
ce110fb9 | 261 | </tr> |
5efcd48e | 262 | </tbody> |
0f23302a | 263 | </table> |
ce110fb9 | 264 | |
0f23302a | 265 | <p class="info">N.B Conversion en EUROS au taux de change budgétaire</p> |
5efcd48e | 266 | </fieldset> |
267 | ||
63437606 | 268 | {% comment %}{% if new %}{% endcomment %} |
5efcd48e | 269 | <fieldset> |
068d1462 | 270 | <h2>Éléments de comparaison (externe)</h2> |
355c80c8 | 271 | <span class="info">Compléter uniquement lors de la création d'un poste</span> |
5efcd48e | 272 | <table> |
273 | <tbody> | |
274 | <tr> | |
a3508c67 | 275 | <th>Devise</th> |
276 | <td> | |
277 | {{ form.devise_comparaison }} | |
278 | {{ form.devise_comparaison.errors }} | |
279 | </td> | |
280 | </tr> | |
281 | </tbody> | |
282 | </table> | |
72b571f4 | 283 | <table id="elements-comparaison"> |
a3508c67 | 284 | <tbody> |
285 | <tr> | |
5efcd48e | 286 | <th></th> |
72b571f4 OL |
287 | <th>Université</th> |
288 | <th>Fonction publique</th> | |
289 | <th>Entreprise locale</th> | |
290 | <th>ONG</th> | |
291 | <th>Autre</th> | |
5efcd48e | 292 | </tr> |
293 | <tr> | |
294 | <th>Minimum</th> | |
72b571f4 OL |
295 | <td>{{ form.comp_universite_min }}<span class="devise"></span> (<span class="devise_euro"></span>)</td> |
296 | <td>{{ form.comp_fonctionpub_min }}<span class="devise"></span> (<span class="devise_euro"></span>)</td> | |
297 | <td>{{ form.comp_locale_min }}<span class="devise"></span> (<span class="devise_euro"></span>)</td> | |
298 | <td>{{ form.comp_ong_min }}<span class="devise"></span> (<span class="devise_euro"></span>)</td> | |
299 | <td>{{ form.comp_autre_min }}<span class="devise"></span> (<span class="devise_euro"></span>)</td> | |
5efcd48e | 300 | </tr> |
301 | <tr> | |
302 | <th>Maximum</th> | |
72b571f4 OL |
303 | <td>{{ form.comp_universite_max }}<span class="devise"></span> (<span class="devise_euro"></span>)</td> |
304 | <td>{{ form.comp_fonctionpub_max }}<span class="devise"></span> (<span class="devise_euro"></span>)</td> | |
305 | <td>{{ form.comp_locale_max }}<span class="devise"></span> (<span class="devise_euro"></span>)</td> | |
306 | <td>{{ form.comp_ong_max }}<span class="devise"></span> (<span class="devise_euro"></span>)</td> | |
307 | <td>{{ form.comp_autre_max }}<span class="devise"></span> (<span class="devise_euro"></span>)</td> | |
5efcd48e | 308 | </tr> |
309 | </tbody> | |
310 | </table> | |
5efcd48e | 311 | </fieldset> |
068d1462 OL |
312 | |
313 | <fieldset> | |
314 | <h2>Éléments de comparaison (interne)</h2> | |
320d7584 EMS |
315 | {{ comparaisons_formset.management_form }} |
316 | ||
317 | {% for f in comparaisons_formset.forms %} | |
068d1462 OL |
318 | <table> |
319 | {% for field in f %} | |
320 | {% if field.is_hidden %}{{ field }}{% endif %} | |
d59d3011 BS |
321 | {% endfor %} |
322 | <tr class="comparaison-interne"> | |
323 | <td colspan=2>Rechercher un poste : {{ f.recherche }} | |
324 | {% if f.id.value %}Supprimmer: <input type="checkbox" name="{{ f.prefix }}-DELETE" />{% endif %} | |
325 | </td> | |
326 | </tr> | |
068d1462 OL |
327 | <tr><th>{{ f.implantation.label }}</th><td>{{ f.implantation.errors }} {{ f.implantation }}</td></tr> |
328 | <tr><th>{{ f.nom.label }}</th><td>{{ f.nom.errors }} {{ f.nom }}</td></tr> | |
a42c20ef OL |
329 | <tr><th>{{ f.statut.label }}</th><td>{{ f.statut.errors }} {{ f.statut}}</td></tr> |
330 | <tr><th>{{ f.classement.label }}</th><td>{{ f.classement.errors }} {{ f.classement}}</td></tr> | |
18170017 | 331 | <tr><th>{{ f.montant.label }}</th><td>{{ f.montant.errors }} {{ f.montant }} {{ f.devise.errors }} {{f.devise }}</td></tr> |
068d1462 OL |
332 | </table> |
333 | {% endfor %} | |
334 | </fieldset> | |
63437606 | 335 | {% comment %}{% endif %}{% endcomment %} |
ce110fb9 | 336 | |
36341125 OL |
337 | <fieldset> |
338 | <h2>Pièces jointes</h2> | |
339 | <p class="info">Compléter uniquement lors de la création d'un poste</p> | |
2e672700 OL |
340 | <ul>{% for piece in poste_rh.rh_pieces.all %} |
341 | <li>Ce <a target="_blank" href="{{ piece.fichier.url }}">{{ piece.nom }}</a> RH sera automatiquement | |
342 | ajouté.</li> | |
343 | {% endfor %}</ul> | |
d766bf2c | 344 | {% include "dae/pieces.html" %} |
36341125 | 345 | </fieldset> |
8fa94e8b | 346 | |
5efcd48e | 347 | <fieldset> |
348 | <h2>Financement</h2> | |
e2185d45 | 349 | <span class="info">Si vous avez plus de 2 financements, cliquer sur 'sauvegarder et continuer' lorsque que le formulaire sera complété. Une nouvelle ligne de financement sera alors disponible.</span> |
151e7bd0 | 350 | {% include "dae/financements.html" %} |
5efcd48e | 351 | </fieldset> |
703e5cfb | 352 | |
2e092e0c OL |
353 | <fieldset> |
354 | <h2>Justification de la demande</h2> | |
355 | <span class="info">La justification est obligatoire pour la création et le renouvellement d'un poste</span> | |
356 | <br /><br /> | |
357 | <div> | |
358 | {{ form.justification.errors }} | |
359 | {{ form.justification }} | |
360 | </div> | |
361 | </fieldset> | |
362 | ||
80be36aa | 363 | {% if creer_dossier_dae %} |
bda177fa | 364 | <input type="submit" name="save" value="Créer ou renouveler ce poste et une embauche associée" /> |
80be36aa OL |
365 | {% else %} |
366 | <input type="submit" name="continue" value="Sauvegarder (et ajouter des lignes)" /> | |
367 | <input type="submit" name="save" value="Sauvegarder" /> | |
368 | {% endif %} | |
a3508c67 | 369 | |
151e7bd0 | 370 | </form> |
a3508c67 | 371 | |
5d680e84 | 372 | {% endblock %} |