Commit | Line | Data |
---|---|---|
139686f2 | 1 | {% extends 'base.html' %} |
0e0aeb7e | 2 | {% load adminmedia %} |
139686f2 | 3 | |
e8e75458 | 4 | {% block title %}RH - DAE - Embauche{% endblock %} |
5 | {% block titre %}Ressources humaines{% endblock %} | |
6 | {% block sous_titre %}Demande d'autorisation d'embauche{% endblock %} | |
7 | ||
139686f2 NC |
8 | {% block extrahead %} |
9 | <script src="{{ MEDIA_URL }}js/jquery-1.5.1.min.js" | |
10 | type="text/javascript"></script> | |
da3ca955 | 11 | |
0e0aeb7e OL |
12 | {% comment %} style pour le calendier {% endcomment %} |
13 | <script type="text/javascript"> | |
14 | window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}"; | |
15 | </script> | |
16 | <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/calendrier.css" /> | |
9d1253e9 | 17 | <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/dae.css" /> |
0e0aeb7e OL |
18 | <script type="text/javascript" src="/admin/jsi18n/"></script> |
19 | <script type="text/javascript" src="{% admin_media_prefix %}js/core.js"></script> | |
20 | <script type="text/javascript" src="{% admin_media_prefix %}js/calendar.js"></script> | |
21 | <script type="text/javascript" src="{% admin_media_prefix %}js/admin/DateTimeShortcuts.js"></script> | |
dfc31755 OL |
22 | <script src="{{ MEDIA_URL }}js/dae.js" type="text/javascript"></script> |
23 | <script src="{{ MEDIA_URL }}js/dae-embauche.js" type="text/javascript"></script> | |
139686f2 | 24 | {% endblock %} |
139686f2 NC |
25 | |
26 | {% block main %} | |
da3ca955 | 27 | <h1>Demandes d'autorisation d'engagement de personnel</h1> |
0db0aedd | 28 | <form action="" method="post" enctype="multipart/form-data"> |
da3ca955 | 29 | {% if step == 'poste' %} |
30 | <h2 class="section">SECTION 1 - POSTE</h2> | |
31 | <fieldset> | |
32 | <h2>Poste visé</h2> | |
33 | ||
34 | <table cellspacing="0"> | |
139686f2 | 35 | {{ form.as_table }} |
da3ca955 | 36 | </table> |
37 | </fieldset> | |
da3ca955 | 38 | {% else %} |
39 | <h2 class="section">SECTION 1 - POSTE</h2> | |
40 | <fieldset> | |
41 | <h2>Poste : {{ poste.nom }} ({{ poste.implantation.nom }})</h2> | |
5b78da24 OL |
42 | {% include 'dae/poste_resume.html' %} |
43 | ||
44 | ||
da3ca955 | 45 | </fieldset> |
46 | ||
47 | <h2 class="section">SECTION 2 - PERSONNEL ENGAGÉ</h2> | |
48 | <fieldset> | |
49 | <div> | |
50 | <div class="gauche"><h2>Personne</h2></div> | |
51 | <div class="droite"> | |
52 | <table class="droite"> | |
53 | <tbody> | |
54 | <tr> | |
55 | <th>Mobilité interne</th> | |
56 | <td colspan="3"><input id="mobilite_interne" type="checkbox" name="mobilite_interne" /></td> | |
57 | </tr> | |
58 | </tbody> | |
59 | </table> | |
60 | </div> | |
61 | </div> | |
62 | <div class="clear"></div> | |
63 | <table id="form-employe"> | |
64 | <tbody> | |
65 | <tr> | |
66 | <th> | |
67 | Employé :<br /> | |
68 | {{ forms.employe.employe.errors }} | |
69 | </th> | |
70 | <td colspan="5">{{ forms.employe.employe }}</td> | |
71 | </tr> | |
72 | <tr> | |
73 | <th> | |
74 | {{ forms.employe.nom.label_tag }} :<br /> | |
75 | {{ forms.employe.nom.errors }} | |
76 | </th> | |
77 | <td>{{ forms.employe.nom }}</td> | |
78 | <th> | |
79 | {{ forms.employe.prenom.label_tag }} :<br /> | |
80 | {{ forms.employe.prenom.errors }} | |
81 | </th> | |
82 | <td>{{ forms.employe.prenom }}</td> | |
83 | <th> | |
84 | {{ forms.employe.genre.label_tag }} :<br /> | |
85 | {{ forms.employe.genre.errors }} | |
86 | </th> | |
87 | <td>{{ forms.employe.genre }}</td> | |
88 | </tr> | |
89 | </tbody> | |
90 | </table> | |
91 | ||
92 | <input type="hidden" id="poste" name="poste" | |
93 | value="dae-{{ poste.id }}" /> | |
94 | <input type="hidden" id="implantation" name="implantation" | |
95 | value="{{ poste.implantation_id }}" /> | |
96 | <input type="hidden" id="dossier" name="dossier" | |
97 | value="{{ dossier.id }}" /> | |
98 | </fieldset> | |
99 | ||
7e43f9b6 OL |
100 | <fieldset> |
101 | <h2>Comparaison salariale</h2> | |
102 | <span class="info">dans la région pour les employés occupant un poste similaire</span> | |
103 | <table> | |
104 | <tbody> | |
105 | <tr> | |
106 | <th>Employé</th> | |
107 | <th>Poste</th> | |
108 | <th>Date fin contrat</th> | |
109 | <th>Salaire</th> | |
62dbbb71 | 110 | <th>Salaire EUR</th> |
7e43f9b6 OL |
111 | <th>Implantation</th> |
112 | <th>Famille Emploi</th> | |
113 | </tr> | |
114 | {% for d in comparaison_dossiers %} | |
115 | <tr> | |
116 | <td>{{ d.employe }}</td> | |
117 | <td>{{ d.poste1.type_poste.nom }} {{ d.complement1 }}</td> | |
118 | <td>{{ d.contrat_date_fin|default:"en cours" }}</td> | |
119 | <td>{{ d.get_salaire_display }}</td> | |
62dbbb71 | 120 | <td>{{ d.get_salaire_euro_display }}</td> |
7e43f9b6 OL |
121 | <td>{{ d.poste1.implantation }}</td> |
122 | <td>{{ d.poste1.type_poste.famille_emploi.nom }}</td> | |
123 | </tr> | |
124 | {% endfor %} | |
125 | </tbody> | |
126 | </table> | |
127 | </fieldset> | |
128 | ||
129 | ||
179f6b49 OL |
130 | <div id="form-dossier"> |
131 | {% comment %}Wrapper du formulaire de dossier{% endcomment %} | |
72db8238 OL |
132 | {% with forms.dossier as form %} |
133 | {% include "dae/embauche-dossier.html" %} | |
134 | {% endwith %} | |
179f6b49 | 135 | </div> |
6b34f27e | 136 | |
dbb687ad OL |
137 | <fieldset> |
138 | <h2>Pièces jointes</h2> | |
139 | <p class="info">CV, lettre de motivation...</p> | |
140 | {% include "dae/pieces.html" %} | |
141 | </fieldset> | |
142 | ||
0801327c NC |
143 | <h2 class="section">SECTION 3 - COÛT GLOBAL</h2> |
144 | ||
cb1d62b5 | 145 | <fieldset> |
cb1d62b5 NC |
146 | |
147 | {% if new %} | |
148 | <p> | |
149 | Vous devez enregister ce dossier avant de pouvoir détailler le | |
150 | coût global. | |
151 | </p> | |
152 | {% else %} | |
153 | <table cellspacing="0" id="global-cost"> | |
154 | {% include 'dae/embauche-remun.html' %} | |
155 | </table> | |
156 | ||
157 | <select id="type-remun" name="type-remun"> | |
158 | <option value="">(Ajouter une ligne)</option> | |
159 | {% for tr in type_remun %} | |
160 | <option value="{{ tr.id }}">{{ tr.nom }}</option> | |
161 | {% endfor %} | |
162 | </select> | |
163 | {% endif %} | |
164 | ||
165 | </fieldset> | |
166 | ||
0801327c | 167 | <h2 class="section">SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)</h2> |
e289ef67 OL |
168 | <h3>A - Justification du poste</h3> |
169 | <p>{{ poste.justification }}</p> | |
170 | ||
171 | <h3>B - Justification de l'employé</h3> | |
72db8238 OL |
172 | <p class="info">Les questions posées pour la justification apparaîtront après avoir enregistré le dossier.</p> |
173 | <table> | |
174 | <tr> | |
175 | <th>NOUVEL EMPLOYÉ</th> | |
176 | <th>RENOUVELLEMENT, PROLONGATION, RECLASSEMENT, MOBILITÉ INTERNE</th> | |
177 | </tr> | |
178 | <tr> | |
179 | <td> | |
180 | {% with justificationsNouveauForm as form %} | |
181 | {% include "dae/justifications.html" %} | |
182 | {% endwith %} | |
183 | </td> | |
184 | <td> | |
185 | {% with justificationsAutreForm as form %} | |
186 | {% include "dae/justifications.html" %} | |
187 | {% endwith %} | |
188 | </td> | |
189 | </tr> | |
190 | </table> | |
139686f2 | 191 | <input type="submit" name="save" value="Sauvegarder" /> |
cb1d62b5 | 192 | </form> |
cb1d62b5 | 193 | {% endif %} |
139686f2 NC |
194 | {% endblock %} |
195 |