d04d084c |
1 | {% extends 'sgrh.html' %} |
a9faef67 |
2 | |
3 | {% block title %}RH - {{ employe }}{% endblock %} |
c9122f1d |
4 | {% block sous_titre %}Mon profil RH{% endblock %} |
a9faef67 |
5 | |
6 | {% block main %} |
c267f20c |
7 | |
8 | {% include "rh/include/employe.html" %} |
d04d084c |
9 | |
5ea6b5bb |
10 | <div id="infos_perso" class="clear gauche50 contenu"> |
d04d084c |
11 | <h2>Informations personnelles</h2> |
12 | <table> |
13 | <tbody> |
0470515a |
14 | {% if employe.nom_affichage %} |
d04d084c |
15 | <tr> |
16 | <th>Nom d'affichage :</th> |
17 | <td>{{ employe.nom_affichage }}</td> |
18 | </tr> |
0470515a |
19 | {% endif %} |
d04d084c |
20 | <tr> |
21 | <th>Date de naissance :</th> |
22 | <td>{{ employe.date_naissance }}</td> |
23 | </tr> |
24 | <tr> |
25 | <th>Nationalité :</th> |
65f9fac8 |
26 | <td>{{ employe.nationalite.nom }}</td> |
d04d084c |
27 | </tr> |
28 | <tr> |
29 | <th>Situation familiale :</th> |
65f9fac8 |
30 | <td>{{ employe.get_situation_famille_display }}</td> |
d04d084c |
31 | </tr> |
32 | </tbody> |
33 | </table> |
d04d084c |
34 | </div> |
5ea6b5bb |
35 | <div id="infos" class="gauche50 contenu"> |
0470515a |
36 | <h2>Informations professionnelles AUF</h2> |
c9122f1d |
37 | <table> |
38 | <tbody> |
39 | <tr> |
0470515a |
40 | <th>Date d'entrée :</th> |
41 | <td>{{ employe.date_entree }}</td> |
c9122f1d |
42 | </tr> |
43 | </tbody> |
44 | </table> |
d04d084c |
45 | </div> |
0470515a |
46 | |
5ea6b5bb |
47 | <div id="coord_perso" class="clear gauche50 contenu"> |
d04d084c |
48 | <h2>Coordonnées personnelles</h2> |
49 | <table> |
50 | <tbody> |
51 | <tr> |
52 | <th>Téléphone domicile :</th> |
53 | <td>{{ employe.tel_domicile }}</td> |
54 | </tr> |
55 | <tr> |
56 | <th>Téléphone cellulaire :</th> |
57 | <td>{{ employe.tel_cellulaire }}</td> |
58 | </tr> |
59 | <tr> |
60 | <th>Adresse complète :</th> |
61 | <td> |
62 | {{ employe.adresse }}<br /> |
63 | {% if employe.ville or employe.province %} |
0470515a |
64 | {{ employe.ville }}{% if employe.ville and employe.province %}, {% endif %} |
d04d084c |
65 | {{ employe.province }} |
66 | <br /> |
67 | {% endif %} |
68 | {% if employe.code_postal %} |
69 | {{ employe.code_postal }}<br /> |
70 | {% endif %} |
71 | {{ employe.pays.nom }} |
72 | </td> |
73 | </tr> |
74 | </tbody> |
75 | </table> |
76 | </div> |
5ea6b5bb |
77 | <div id="coord" class="gauche50 contenu"> |
0470515a |
78 | <h2>Coordonnées professionnelles AUF</h2> |
9b0a8554 |
79 | <table> |
80 | <tbody> |
81 | <tr> |
0470515a |
82 | <th>Courriel :</th> |
83 | <td>{{ employe.courriel }}</td> |
9b0a8554 |
84 | </tr> |
85 | <tr> |
0470515a |
86 | <th>Téléphone IP :</th> |
87 | <td>{{ employe.tel_pro_ip|default_if_none:"" }}</td> |
9b0a8554 |
88 | </tr> |
89 | <tr> |
0470515a |
90 | <th>Téléphone :</th> |
91 | <td> |
c267f20c |
92 | {% for d in employe.dossiers_encours %} |
0470515a |
93 | {% if d.poste.implantation.telephone_interne %} |
94 | {{ d.poste.implantation.telephone_interne }} |
95 | {% else %} |
96 | {{ d.poste.implantation.telephone|default_if_none:"" }} |
97 | {% endif %} |
98 | {% if employe.tel_pro_poste %} |
5ea6b5bb |
99 | poste {{ employe.tel_pro_poste }} |
0470515a |
100 | {% endif %} |
101 | {% endfor %} |
102 | </td> |
9b0a8554 |
103 | </tr> |
104 | <tr> |
0470515a |
105 | <th>Télécopie :</th> |
106 | <td> |
c267f20c |
107 | {% for d in employe.dossiers_encours %} |
0470515a |
108 | {% if d.poste.implantation.fax_interne %} |
109 | {{ d.poste.implantation.fax_interne }} |
110 | {% else %} |
111 | {{ d.poste.implantation.fax|default_if_none:"" }} |
112 | {% endif %} |
113 | {% endfor %} |
114 | </td> |
9b0a8554 |
115 | </tr> |
116 | <tr> |
0470515a |
117 | <th>Adresse postale :</th> |
118 | <td> |
c267f20c |
119 | {% for d in employe.dossiers_encours %} |
0470515a |
120 | {% comment %} |
121 | Formattage identique à annuaire intranet. |
122 | {% endcomment %} |
123 | {% with d.poste.implantation as i %} |
124 | {% if i.adresse_postale_precision_avant %} |
125 | {{ i.adresse_postale_precision_avant }}<br /> |
126 | {% endif %} |
127 | {% if i.adresse_postale_no %} |
128 | {{ i.adresse_postale_no }}, |
129 | {% endif %} |
130 | {% if i.adresse_postale_rue %} |
131 | {{ i.adresse_postale_rue }}<br /> |
132 | {% endif %} |
133 | {% if i.adresse_postale_bureau %} |
134 | {{ i.adresse_postale_bureau }} |
135 | {% endif %} |
136 | {% if i.adresse_postale_precision %} |
137 | {{ i.adresse_postale_precision }}<br /> |
138 | {% endif %} |
139 | {% if i.adresse_postale_boite_postale %} |
140 | {{ i.adresse_postale_boite_postale }}<br /> |
141 | {% endif %} |
142 | {% if i.adresse_postale_code_postal_avant_ville %} |
143 | {% if i.adresse_postale_code_postal %} |
144 | {{ i.adresse_postale_code_postal }} |
145 | {% endif %} |
146 | {{ i.adresse_postale_ville }}{% if i.adresse_postale_ville and i.adresse_postale_region %}, {% endif %} |
147 | {% if i.adresse_postale_region %} |
148 | ({{ i.adresse_postale_region }})<br /> |
149 | {% endif %} |
150 | {% else %} |
151 | {{ i.adresse_postale_ville }}{% if i.adresse_postale_ville and i.adresse_postale_region %}, {% endif %} |
152 | {% if i.adresse_postale_region %} |
153 | ({{ i.adresse_postale_region }}) |
154 | {% endif %} |
155 | {% if i.adresse_postale_code_postal %} |
156 | {{ i.adresse_postale_code_postal }}<br /> |
157 | {% endif %} |
158 | {% endif %} |
159 | {{ i.adresse_postale_pays.nom }} |
160 | {% endwith %} |
161 | {% endfor %} |
162 | </td> |
9b0a8554 |
163 | </tr> |
164 | </tbody> |
165 | </table> |
0470515a |
166 | </div> |
5ea6b5bb |
167 | <div class="clear contenu"> |
65f9fac8 |
168 | <h2> |
169 | Dépendant{{ employe.ayantdroits.all|pluralize }} |
170 | (ayant{{ employe.ayantdroits.all|pluralize }}-droit) |
171 | ({{ employe.ayantdroits.count }}) |
172 | </h2> |
0470515a |
173 | {% if employe.ayantdroits.all %} |
65f9fac8 |
174 | <table> |
175 | <thead> |
176 | <tr> |
177 | <th>Nom</th> |
178 | <th>Nationalité</th> |
179 | <th>Date de naissance</th> |
180 | <th>Genre</th> |
181 | <th>Lien de parenté</th> |
182 | </tr> |
183 | </thead> |
184 | <tbody> |
185 | {% for personne in employe.ayantdroits.all %} |
186 | <tr> |
187 | <td>{{ personne.get_nom }}</td> |
188 | <td>{{ personne.nationalite.nom }}</td> |
189 | <td class="date">{{ personne.date_naissance }}</td> |
190 | <td>{{ personne.get_genre_display }}</td> |
191 | <td>{{ personne.lien_parente }}</td> |
192 | {% endfor %} |
193 | </tbody> |
194 | </table> |
0470515a |
195 | {% else %} |
196 | <p>Aucun dépendant.</p> |
197 | {% endif %} |
198 | </div> |
199 | <hr /> |
200 | |
5ea6b5bb |
201 | <div id="postes" class="contenu"> |
65f9fac8 |
202 | <h2>Poste{{ employe.dossiers_encours|pluralize }} en cours ({{ employe.dossiers_encours.count }})</h2> |
0470515a |
203 | |
c267f20c |
204 | {% for d in employe.dossiers_encours %} |
0470515a |
205 | <h3>{{ d.poste.nom }}</h3> |
0470515a |
206 | <table> |
207 | <tbody> |
208 | <tr> |
209 | <th>Type de poste :</th> |
210 | <td>{{ d.poste.type_poste }}</td> |
211 | <th>Sous la responsabilité du poste :</th> |
212 | <td>{{ d.poste.responsable }}</td> |
213 | </tr> |
214 | <tr> |
c7c6da1e |
215 | <th>Statut :</th> |
0470515a |
216 | <td>{{ d.statut }}</td> |
c7c6da1e |
217 | <th>Organisation d'origine :</th> |
0470515a |
218 | <td>{{ d.organisme_bstg|default_if_none:"Non applicable" }}</td> |
219 | </tr> |
220 | <tr> |
221 | <th>En remplacement sur ce poste ?</th> |
222 | <td>{{ d.remplacement|yesno:"oui, non" }}</td> |
223 | <th></th> |
224 | <td></td> |
225 | </tr> |
226 | <tr> |
c7c6da1e |
227 | <th>Statut résidence :</th> |
228 | <td>{{ d.get_statut_residence_display }}</td> |
0470515a |
229 | <th></th> |
230 | <td></td> |
231 | </tr> |
232 | <tr> |
c7c6da1e |
233 | <th>Régime de travail (prévu) :</th> |
0470515a |
234 | <td>{{ d.poste.regime_travail }}</td> |
235 | <th>Nombre d'heures par semaine (prévu) :</th> |
236 | <td>{{ d.poste.regime_travail_nb_heure_semaine }}</td> |
237 | </tr> |
238 | <tr> |
c7c6da1e |
239 | <th>Régime de travail (réel) :</th> |
0470515a |
240 | <td> |
241 | {% if d.regime_travail %} |
242 | {{ d.regime_travail }} % du temps complet |
243 | {% endif %} |
244 | </td> |
c7c6da1e |
245 | <th>Nombre d'heures par semaine (réel) :</th> |
0470515a |
246 | <td>{{ d.regime_travail_nb_heure_semaine }}</td> |
247 | </tr> |
248 | <tr> |
c7c6da1e |
249 | <th>Début d'occupation :</th> |
0470515a |
250 | <td>{{ d.date_debut }}</td> |
c7c6da1e |
251 | <th>Fin d'occupation :</th> |
0470515a |
252 | <td>{{ d.date_fin|default_if_none:"Non définie" }}</td> |
253 | </tr> |
254 | </tbody> |
255 | </table> |
256 | |
257 | <h3>Rémunération</h3> |
65f9fac8 |
258 | <table> |
259 | <tr> |
260 | <th>Classification :</th> |
261 | <td>{{ d.classement.type }}.{{ d.classement.echelon }}.{{ d.classement.degre }}</td> |
262 | <th>Salaire de base théorique :</th> |
263 | <td> |
264 | {{ d.salaire_theorique.montant }} {{ d.salaire_theorique.devise.code }} |
265 | </td> |
266 | </tr> |
267 | </table> |
268 | <table> |
269 | <thead> |
270 | <tr> |
271 | <th></th> |
272 | <th>Montant</th> |
273 | <th>Devise</th> |
274 | <th>Type</th> |
275 | <th>Type revalorisation</th> |
276 | <th>Valide du</th> |
277 | <th>au</th> |
278 | <th>Commentaire</th> |
279 | </tr> |
280 | </thead> |
281 | <tbody> |
282 | {% for r in d.remunerations %} |
283 | <tr> |
284 | <td>{{ r.id }}</td> |
285 | <td class="nombre">{{ r.montant|default_if_none:"?" }}</td> |
286 | <td>{{ r.devise.code }}</td> |
287 | <td>{{ r.type }}</td> |
288 | <td>{{ r.type_revalorisation|default_if_none:"" }}</td> |
289 | <td class="date">{{ r.date_debut|default_if_none:"(inconnu)" }}</td> |
290 | <td class="date">{{ r.date_fin|default_if_none:"(indéterminé)" }}</td> |
291 | <td>{{ r.commentaire|default_if_none:"" }}</td> |
292 | </tr> |
293 | {% endfor %} |
294 | </tbody> |
295 | </table> |
0470515a |
296 | |
65f9fac8 |
297 | <h3>Contrat{{ d.contrats|pluralize }} ({{ d.contrats.count }})</h3> |
298 | <table> |
299 | {% for c in d.contrats.all %} |
300 | <tr> |
301 | <td>{{ c.type_contrat }}</td> |
302 | <td>du</td> |
303 | <td>{{ c.date_debut }}</td> |
304 | <td>au</td> |
305 | <td>{{ c.date_fin|default_if_none:"(non déterminé)" }}</td> |
306 | </tr> |
307 | {% endfor %} |
308 | </table> |
0470515a |
309 | |
9b0a8554 |
310 | {% endfor %} |
311 | </div> |
0470515a |
312 | <hr /> |
d04d084c |
313 | |
5ea6b5bb |
314 | <div id="dossiers" class="contenu"> |
c267f20c |
315 | <h2> |
316 | Ancien{{ employe.dossiers.count|pluralize }} poste{{ employe.dossiers.count|pluralize }} |
317 | ({{ employe.dossiers.count }}) |
318 | </h2> |
9b0a8554 |
319 | <table> |
9b0a8554 |
320 | <tbody> |
c267f20c |
321 | {% for d in employe.dossiers_passes %} |
9b0a8554 |
322 | {% include "rh/include/dossier.html" %} |
323 | {% endfor %} |
324 | </tbody> |
325 | </table> |
d04d084c |
326 | </div> |
9b0a8554 |
327 | |
328 | {% comment %} |
329 | * Pièces jointes (Employé, Poste, Dossier?) |
330 | * Commentaire / remarque ? attention, commentaires privés des gestionnnaires? |
331 | * Rémunération |
332 | * Évaluation |
333 | {% endcomment %} |
334 | |
a9faef67 |
335 | {% endblock %} |