1 {% extends 'base.html' %}
5 {% block title %}RH - DAE - Embauche{% endblock %}
6 {% block titre %}Ressources humaines{% endblock %}
7 {% block sous_titre %}Demande d'autorisation d'engagement{% endblock %}
10 <script src=
"{{ STATIC_URL }}js/jquery-1.5.1.min.js"
11 type=
"text/javascript"></script>
13 <script type=
"text/javascript">
15 {% for d in devises %}
16 DEVISES['{{d.devise_code}}'] = {{d.taux_euro|stringformat:
".10f"}};
20 {% comment %} style pour le calendier {% endcomment %}
21 <script type=
"text/javascript">
22 window.__admin_media_prefix__ =
"{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";
24 <link rel=
"stylesheet" type=
"text/css" href=
"{{ STATIC_URL }}css/calendrier.css" />
25 <link rel=
"stylesheet" type=
"text/css" href=
"{{ STATIC_URL }}css/dae.css" />
26 <script type=
"text/javascript" src=
"/admin/jsi18n/"></script>
27 <script type=
"text/javascript" src=
"{% admin_media_prefix %}js/core.js"></script>
28 <script type=
"text/javascript" src=
"{% admin_media_prefix %}js/calendar.js"></script>
29 <script type=
"text/javascript" src=
"{% admin_media_prefix %}js/admin/DateTimeShortcuts.js"></script>
30 <script src=
"{{ STATIC_URL }}jquery-autocomplete/jquery.autocomplete.js" type=
"text/javascript"></script>
31 <link rel=
"stylesheet" type=
"text/css" href=
"{{ STATIC_URL }}jquery-autocomplete/jquery.autocomplete.css" />
32 <script src=
"{{ STATIC_URL }}js/dae.js" type=
"text/javascript"></script>
33 <script src=
"{{ STATIC_URL }}js/dae-embauche.js" type=
"text/javascript"></script>
34 <script src=
"{{ STATIC_URL }}js/remun.js" type=
"text/javascript"></script>
39 <h1>Demande d'autorisation d'engagement de personnel
</h1>
40 <form action=
"" method=
"post" enctype=
"multipart/form-data">
41 <h2 class=
"section">SECTION
1 - POSTE
</h2>
42 {% include 'dae/poste_resume.html' %}
44 <h2 class=
"section">SECTION
2 - PERSONNEL ENGAGÉ
</h2>
47 <div class=
"gauche"><h2>Personne
</h2></div>
49 <table class=
"droite">
52 <th>Mobilité interne
</th>
53 <td colspan=
"3"><input id=
"mobilite_interne" type=
"checkbox" name=
"mobilite_interne" /></td>
59 <div class=
"clear"></div>
60 <table id=
"form-employe">
65 {{ forms.employe.employe.errors }}
67 <td colspan=
"5">{{ forms.employe.employe }}
</td>
71 {{ forms.employe.nom.label_tag }} :
<br />
72 {{ forms.employe.nom.errors }}
74 <td>{{ forms.employe.nom }}
</td>
76 {{ forms.employe.prenom.label_tag }} :
<br />
77 {{ forms.employe.prenom.errors }}
79 <td>{{ forms.employe.prenom }}
</td>
81 {{ forms.employe.genre.label_tag }} :
<br />
82 {{ forms.employe.genre.errors }}
84 <td>{{ forms.employe.genre }}
</td>
89 <input type=
"hidden" id=
"poste" name=
"poste"
90 value=
"dae-{{ poste.id }}" />
91 <input type=
"hidden" id=
"implantation" name=
"implantation"
92 value=
"{{ poste.implantation_id }}" />
93 <input type=
"hidden" id=
"dossier" name=
"dossier"
94 value=
"{{ dossier.id }}" />
97 {% with forms.dossier as form %}
100 <h2>Accès et ouverture des comptes
</h2>
105 {{ form.compte_compta.label_tag }}
108 {{ form.compte_compta }}
<br />
109 {{ form.compte_compta.errors }}
112 {{ form.compte_courriel.label_tag }}
115 {{ form.compte_courriel }}
<br />
116 {{ form.compte_courriel.errors }}
124 <h2>Pièces jointes
</h2>
125 <p class=
"info">CV, lettre de motivation...
</p>
126 {% include
"dae/pieces.html" %}
130 <h2>Comparaison salariale
</h2>
131 <span class=
"info">dans la région pour les employés occupant un poste similaire
</span>
132 {{ comparaisons_formset.management_form }}
134 {% for f in comparaisons_formset.forms %}
137 {% if field.is_hidden %}{{ field }}{% endif %}
139 <tr><td colspan=
2>Rechercher (personne, poste) : {{ f.recherche }}
<span class=
"clear-cmp"><a href=
"#" class=
"display-none">Supprimmer
</a></span></td></tr>
140 <tr><th>{{ f.implantation.label }}
</th><td>{{ f.implantation.errors }} {{ f.implantation }}
</td></tr>
141 <tr><th>{{ f.poste.label }}
</th><td>{{ f.poste.errors }} {{ f.poste }}
</td></tr>
142 <tr><th>{{ f.personne.label }}
</th><td>{{ f.personne.errors }} {{ f.personne }}
</td></tr>
143 <tr><th>{{ f.statut.label }}
</th><td>{{ f.statut.errors }} {{ f.statut }}
</td></tr>
144 <tr><th>{{ f.classement.label }}
</th><td>{{ f.classement.errors }} {{ f.classement }}
</td></tr>
145 <tr><th>{{ f.montant.label }} ({{f.devise.label }})
</th><td>{{ f.montant.errors }} {{ f.montant }} {{ f.devise.errors }} {{f.devise }}
</td></tr>
151 <div id=
"form-dossier">
152 <!-- Wrapper du formulaire de dossier -->
159 <th rowspan=
"2">{{ form.type_contrat.label_tag }} :
</th>
160 <td colspan=
"4" rowspan=
"2">
161 {{ form.type_contrat }}
<br />
162 {{ form.type_contrat.errors }}
165 {{ form.remplacement.label_tag }} :
168 {{ form.remplacement }}
<br />
169 {{ form.remplacement.errors }}
173 {{ form.est_cadre.label_tag }} :
176 {{ form.est_cadre }}
<br />
177 {{ form.est_cadre.errors }}
183 <th rowspan=
"2">Durée :
</th>
186 {{ form.contrat_date_debut }}
<br />
187 <span class=
"info">({{form.contrat_date_debut.help_text }})
</span><br />
188 {{ form.contrat_date_debut.errors }}
192 {{ form.contrat_date_fin }}
<br />
193 <span class=
"info">({{form.contrat_date_fin.help_text }})
</span><br />
194 {{ form.contrat_date_fin.errors }}
196 <th>{{ form.regime_travail.label_tag }} :
<br />{{ form.regime_travail.errors }}
</th>
198 {{ form.regime_travail }}
199 <span class=
"info">{{ form.regime_travail.help_text }}
</span>
203 <td colspan=
"4" class=
"info">
204 <p id=
"note-duree">Pour une durée indéterminée, spécifier uniquement la date de début.
</p>
207 {{ form.regime_travail_nb_heure_semaine.label_tag }} :
<br />
208 {{ form.regime_travail_nb_heure_semaine.errors }}
210 <td>{{ form.regime_travail_nb_heure_semaine }}
211 <span class=
"info">{{ form.regime_travail_nb_heure_semaine.help_text }}
</span></td>
218 {{ form.statut_residence }}
219 {% if form.statut.errors %}
221 {{ form.statut.errors }}
223 {% if form.statut_residence.errors %}
225 {{ form.statut_residence.errors }}
229 <th>{{ form.organisme_bstg.label_tag }} :
</th>
231 {{ form.organisme_bstg }}
232 {% if form.organisme_bstg.errors %}
234 {{ form.organisme_bstg.errors }}
236 <span class=
"info">{{ form.organisme_bstg.help_text }}
</span><br/><br/>
237 {{ form.organisme_bstg_autre }}
238 <span class=
"info">{{ form.organisme_bstg_autre.help_text }}
</span>
253 <h2>Classement et salaire de base
</h2>
258 <h3>Ancien dossier
<span class=
"info">(le cas échéant)
</span></h3>
263 {{ employe }}
<span class=
"info">{{ employe.dossier_set.all.reverse }}
</span>
267 <th>{{ form.classement_anterieur.label_tag }}
</th>
268 <th>{{ form.salaire_anterieur.label_tag }}
</th>
269 <th>{{ form.statut_anterieur.label_tag }}
</th>
270 <th>{{ form.type_contrat_anterieur.label_tag }}
</th>
271 <th colpsan=
"3"></th>
274 <td>{{ form.classement_anterieur }}
</td>
275 <td>{{ form.salaire_anterieur }} {{ form.devise_anterieur }}
</td>
276 <td>{{ form.statut_anterieur }}
</td>
277 <td>{{ form.type_contrat_anterieur }}
</td>
278 <td colspan=
"3"></td>
282 <h3>Précédent titulaire
<span class=
"info">(le cas échéant)
</span></h3>
287 {% if request.user|test_membre_drh %}
288 {{ form.instance.employe_anterieur }}{{ form.employe_anterieur }}
290 {{ form.instance.employe_anterieur }}{{ form.employe_anterieur.as_hidden }}
292 {{ form.employe_anterieur.errors }}
296 <th>{{ form.classement_titulaire_anterieur.label_tag }}
</th>
297 <th colspan=
"4">{{ form.salaire_titulaire_anterieur.label_tag }}
</th>
298 <th>{{ form.statut_titulaire_anterieur.label_tag }}
</th>
302 {% if request.user|test_membre_drh %}
303 <td>{{ form.instance.classement_titulaire_anterieur }}
304 {{ form.classement_titulaire_anterieur }}
<br />
305 {{ form.classement_titulaire_anterieur.errors }}
307 <td>{{ form.instance.salaire_titulaire_anterieur }}{{ form.salaire_titulaire_anterieur }} {{ form.devise_titulaire_anterieur }}
</td>
311 <td>{{ form.instance.statut_titulaire_anterieur }}{{ form.statut_titulaire_anterieur }}
</td>
313 <td>{{ form.instance.classement_titulaire_anterieur }}
314 {{ form.classement_titulaire_anterieur.as_hidden }}
<br />
315 {{ form.classement_titulaire_anterieur.errors }}
317 <td>{{ form.instance.salaire_titulaire_anterieur }}{{ form.salaire_titulaire_anterieur.as_hidden }} {{ form.instance.devise_titulaire_anterieur.as_hidden }}
</td>
321 <td>{{ form.instance.statut_titulaire_anterieur }}{{ form.statut_titulaire_anterieur.as_hidden }}
</td>
330 <h2 class=
"section">SECTION
3 - COÛT GLOBAL
</h2>
334 <div class=
"gauche"><h2>Proposition de classement
</h2></div>
336 <table class=
"gauche">
338 <th>{{ form.classement.label_tag }}
</th>
339 <th colspan=
"3">{{ form.salaire.label_tag }}
</th>
342 <td>{{ form.classement }}
<br />{{ form.classement.errors }}
</td>
343 <td>{{ form.salaire.errors }} {{ form.salaire }} {{ form.devise }}
344 <span class=
"info">(fourchette du poste : {{ poste.salaire_min }} {{ poste.devise_min.code }}
345 - {{ poste.salaire_max }} {{ poste.devise_max.code }})
</span>
347 <td id=
"salaire-propose-euros" class=
"montant"></td>
350 <script type=
"text/javascript">
351 /* Changement de classement, on repropose un salaire */
352 $('#id_classement').change(function() {
354 proposition_comparaison($('#id_devise').val());
356 /* changements, on recalcule */
357 $('#id_salaire').focusout(function() {proposition_comparaison($('#id_devise').val());});
358 $('#id_devise').change(function() {proposition_comparaison($('#id_devise').val());});
359 proposition_comparaison($('#id_devise').val());
364 {% include 'dae/embauche-remun.html' %}
366 <!-- <select id="type-remun" name="type-remun"> -->
367 <!-- <option value="">(Ajouter une ligne)</option> -->
368 <!-- {% for tr in type_remun %} -->
369 <!-- <option value="{{ tr.id }}">{{ tr.nom }}</option> -->
370 <!-- {% endfor %} -->
376 <h2 class=
"section">SECTION
4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)
</h2>
377 <h3>A - Justification du poste
</h3>
378 <p>{{ poste.justification }}
</p>
380 <h3>B - Justification de l'employé
</h3>
383 <th>Nouvel employé
</th>
384 <th>Renouvellement, prolongation, reclassement, mobilité interne
</th>
388 <h4>{{ forms.dossier.justif_nouveau_statut.label }}
</h4>
389 {{ forms.dossier.justif_nouveau_statut }}
390 <h4>{{ forms.dossier.justif_nouveau_tmp_remplacement.label }}
</h4>
391 {{ forms.dossier.justif_nouveau_tmp_remplacement }}
392 <h4>{{ forms.dossier.justif_nouveau_salaire.label }}
</h4>
393 {{ forms.dossier.justif_nouveau_salaire }}
394 <h4>{{ forms.dossier.justif_nouveau_commentaire.label }}
</h4>
395 {{ forms.dossier.justif_nouveau_commentaire }}
398 <h4>{{ forms.dossier.justif_rempl_type_contrat.label }}
</h4>
399 {{ forms.dossier.justif_rempl_type_contrat}}
400 <h4>{{ forms.dossier.justif_rempl_statut_employe.label }}
</h4>
401 {{ forms.dossier.justif_rempl_statut_employe}}
402 <h4>{{ forms.dossier.justif_rempl_evaluation.label }}
</h4>
403 {{ forms.dossier.justif_rempl_evaluation}}
404 <h4>{{ forms.dossier.justif_rempl_salaire.label }}
</h4>
405 {{ forms.dossier.justif_rempl_salaire }}
406 <h4>{{ forms.dossier.justif_rempl_commentaire.label }}
</h4>
407 {{ forms.dossier.justif_rempl_commentaire }}
412 <input type=
"submit" name=
"continue" value=
"Sauvegarder (et ajouter des lignes)" />
413 <input type=
"submit" name=
"save" value=
"Sauvegarder" />