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 %}
140 <td colspan=
2>Rechercher (personne, poste) : {{ f.recherche }}
141 {% if f.id.value %}Supprimmer:
<input type=
"checkbox" name=
"{{ f.prefix }}-DELETE" />{% endif %}
144 <tr><th>{{ f.implantation.label }}
</th><td>{{ f.implantation.errors }} {{ f.implantation }}
</td></tr>
145 <tr><th>{{ f.poste.label }}
</th><td>{{ f.poste.errors }} {{ f.poste }}
</td></tr>
146 <tr><th>{{ f.personne.label }}
</th><td>{{ f.personne.errors }} {{ f.personne }}
</td></tr>
147 <tr><th>{{ f.statut.label }}
</th><td>{{ f.statut.errors }} {{ f.statut }}
</td></tr>
148 <tr><th>{{ f.classement.label }}
</th><td>{{ f.classement.errors }} {{ f.classement }}
</td></tr>
149 <tr><th>{{ f.montant.label }} ({{f.devise.label }})
</th><td>{{ f.montant.errors }} {{ f.montant }} {{ f.devise.errors }} {{f.devise }}
</td></tr>
155 <div id=
"form-dossier">
156 <!-- Wrapper du formulaire de dossier -->
163 <th rowspan=
"2">{{ form.type_contrat.label_tag }} :
</th>
164 <td colspan=
"4" rowspan=
"2">
165 {{ form.type_contrat }}
<br />
166 {{ form.type_contrat.errors }}
169 {{ form.remplacement.label_tag }} :
172 {{ form.remplacement }}
<br />
173 {{ form.remplacement.errors }}
177 {{ form.est_cadre.label_tag }} :
180 {{ form.est_cadre }}
<br />
181 {{ form.est_cadre.errors }}
187 <th rowspan=
"2">Durée :
</th>
190 {{ form.contrat_date_debut }}
<br />
191 <span class=
"info">({{form.contrat_date_debut.help_text }})
</span><br />
192 {{ form.contrat_date_debut.errors }}
196 {{ form.contrat_date_fin }}
<br />
197 <span class=
"info">({{form.contrat_date_fin.help_text }})
</span><br />
198 {{ form.contrat_date_fin.errors }}
200 <th>{{ form.regime_travail.label_tag }} :
<br />{{ form.regime_travail.errors }}
</th>
202 {{ form.regime_travail }}
203 <span class=
"info">{{ form.regime_travail.help_text }}
</span>
207 <td colspan=
"4" class=
"info">
208 <p id=
"note-duree">Pour une durée indéterminée, spécifier uniquement la date de début.
</p>
211 {{ form.regime_travail_nb_heure_semaine.label_tag }} :
<br />
212 {{ form.regime_travail_nb_heure_semaine.errors }}
214 <td>{{ form.regime_travail_nb_heure_semaine }}
215 <span class=
"info">{{ form.regime_travail_nb_heure_semaine.help_text }}
</span></td>
222 {{ form.statut_residence }}
223 {% if form.statut.errors %}
225 {{ form.statut.errors }}
227 {% if form.statut_residence.errors %}
229 {{ form.statut_residence.errors }}
233 <th>{{ form.organisme_bstg.label_tag }} :
</th>
235 {{ form.organisme_bstg }}
236 {% if form.organisme_bstg.errors %}
238 {{ form.organisme_bstg.errors }}
240 <span class=
"info">{{ form.organisme_bstg.help_text }}
</span><br/><br/>
241 {{ form.organisme_bstg_autre }}
242 <span class=
"info">{{ form.organisme_bstg_autre.help_text }}
</span>
257 <h2>Classement et salaire de base
</h2>
262 <h3>Ancien dossier
<span class=
"info">(le cas échéant)
</span></h3>
267 {{ employe }}
<span class=
"info">{{ employe.dossier_set.all.reverse }}
</span>
271 <th>{{ form.classement_anterieur.label_tag }}
</th>
272 <th>{{ form.salaire_anterieur.label_tag }}
</th>
273 <th>{{ form.statut_anterieur.label_tag }}
</th>
274 <th>{{ form.type_contrat_anterieur.label_tag }}
</th>
275 <th colpsan=
"3"></th>
278 <td>{{ form.classement_anterieur }}
</td>
279 <td>{{ form.salaire_anterieur }} {{ form.devise_anterieur }}
</td>
280 <td>{{ form.statut_anterieur }}
</td>
281 <td>{{ form.type_contrat_anterieur }}
</td>
282 <td colspan=
"3"></td>
286 <h3>Précédent titulaire
<span class=
"info">(le cas échéant)
</span></h3>
291 {% if request.user|test_membre_drh %}
292 {{ form.instance.employe_anterieur }}{{ form.employe_anterieur }}
294 {{ form.instance.employe_anterieur }}{{ form.employe_anterieur.as_hidden }}
296 {{ form.employe_anterieur.errors }}
300 <th>{{ form.classement_titulaire_anterieur.label_tag }}
</th>
301 <th colspan=
"4">{{ form.salaire_titulaire_anterieur.label_tag }}
</th>
302 <th>{{ form.statut_titulaire_anterieur.label_tag }}
</th>
306 {% if request.user|test_membre_drh %}
307 <td>{{ form.instance.classement_titulaire_anterieur }}
308 {{ form.classement_titulaire_anterieur }}
<br />
309 {{ form.classement_titulaire_anterieur.errors }}
311 <td>{{ form.instance.salaire_titulaire_anterieur }}{{ form.salaire_titulaire_anterieur }} {{ form.devise_titulaire_anterieur }}
</td>
315 <td>{{ form.instance.statut_titulaire_anterieur }}{{ form.statut_titulaire_anterieur }}
</td>
317 <td>{{ form.instance.classement_titulaire_anterieur }}
318 {{ form.classement_titulaire_anterieur.as_hidden }}
<br />
319 {{ form.classement_titulaire_anterieur.errors }}
321 <td>{{ form.instance.salaire_titulaire_anterieur }}{{ form.salaire_titulaire_anterieur.as_hidden }} {{ form.instance.devise_titulaire_anterieur.as_hidden }}
</td>
325 <td>{{ form.instance.statut_titulaire_anterieur }}{{ form.statut_titulaire_anterieur.as_hidden }}
</td>
334 <h2 class=
"section">SECTION
3 - COÛT GLOBAL
</h2>
338 <div class=
"gauche"><h2>Proposition de classement
</h2></div>
339 <div class=
"clear"></div>
341 <table class=
"gauche">
343 <th>{{ form.classement.label_tag }}
</th>
344 <th colspan=
"3">{{ form.salaire.label_tag }}
</th>
347 <td>{{ form.classement }}
<br />{{ form.classement.errors }}
</td>
348 <td>{{ form.salaire.errors }} {{ form.salaire }} {{ form.devise }}
349 <span class=
"info">(fourchette du poste : {{ poste.salaire_min }} {{ poste.devise_min.code }}
350 - {{ poste.salaire_max }} {{ poste.devise_max.code }})
</span>
352 <td id=
"salaire-propose-euros" class=
"montant"></td>
355 <script type=
"text/javascript">
356 /* Changement de classement, on repropose un salaire */
357 $('#id_classement').change(function() {
359 proposition_comparaison($('#id_devise').val());
361 /* changements, on recalcule */
362 $('#id_salaire').focusout(function() {proposition_comparaison($('#id_devise').val());});
363 $('#id_devise').change(function() {proposition_comparaison($('#id_devise').val());});
364 proposition_comparaison($('#id_devise').val());
369 <div class=
"clear"></div>
370 {% include 'dae/embauche-remun.html' %}
372 <!-- <select id="type-remun" name="type-remun"> -->
373 <!-- <option value="">(Ajouter une ligne)</option> -->
374 <!-- {% for tr in type_remun %} -->
375 <!-- <option value="{{ tr.id }}">{{ tr.nom }}</option> -->
376 <!-- {% endfor %} -->
382 <h2 class=
"section">SECTION
4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)
</h2>
383 <h3>A - Justification du poste
</h3>
384 <p>{{ poste.justification }}
</p>
386 <h3>B - Justification de l'employé
</h3>
389 <th>Nouvel employé
</th>
390 <th>Renouvellement, prolongation, reclassement, mobilité interne
</th>
394 <h4>{{ forms.dossier.justif_nouveau_statut.label }}
</h4>
395 {{ forms.dossier.justif_nouveau_statut }}
396 <h4>{{ forms.dossier.justif_nouveau_tmp_remplacement.label }}
</h4>
397 {{ forms.dossier.justif_nouveau_tmp_remplacement }}
398 <h4>{{ forms.dossier.justif_nouveau_salaire.label }}
</h4>
399 {{ forms.dossier.justif_nouveau_salaire }}
400 <h4>{{ forms.dossier.justif_nouveau_commentaire.label }}
</h4>
401 {{ forms.dossier.justif_nouveau_commentaire }}
404 <h4>{{ forms.dossier.justif_rempl_type_contrat.label }}
</h4>
405 {{ forms.dossier.justif_rempl_type_contrat}}
406 <h4>{{ forms.dossier.justif_rempl_statut_employe.label }}
</h4>
407 {{ forms.dossier.justif_rempl_statut_employe}}
408 <h4>{{ forms.dossier.justif_rempl_evaluation.label }}
</h4>
409 {{ forms.dossier.justif_rempl_evaluation}}
410 <h4>{{ forms.dossier.justif_rempl_salaire.label }}
</h4>
411 {{ forms.dossier.justif_rempl_salaire }}
412 <h4>{{ forms.dossier.justif_rempl_commentaire.label }}
</h4>
413 {{ forms.dossier.justif_rempl_commentaire }}
418 <input type=
"submit" name=
"continue" value=
"Sauvegarder (et ajouter des lignes)" />
419 <input type=
"submit" name=
"save" value=
"Sauvegarder" />