[#3188] genre dans apercu employé
[auf_rh_dae.git] / project / rh / templates / rh / include / employe.html
1 <fieldset class="module aligned">
2 <h2>Identification</h2>
3 {% include "rh/form-row.html" with label="Nom" value=employe.nom %}
4 {% include "rh/form-row.html" with label="Prénom" value=employe.prenom %}
5 {% include "rh/form-row.html" with label="Nom d'affichage" value=employe.nom_affichage|default:"" %}
6 {% include "rh/form-row.html" with label="Genre" value=employe.get_genre_display %}
7 {% include "rh/form-row.html" with label="Nationalité" value=employe.nationalite %}
8 {% include "rh/form-row.html" with label="Date de naissance" value=employe.date_naissance %}
9 {% include "rh/form-row.html" with label="Situation familiale" value=employe.situation_famille.nom %}
10 {% include "rh/form-row.html" with label="Date d'entrée à l'AUF" value=employe.date_entree %}
11 </fieldset>
12
13 <fieldset class="module aligned">
14 <h2>Coordonnées</h2>
15 {% include "rh/form-row.html" with label="Adresse" value=employe.adresse %}
16 {% include "rh/form-row.html" with label="Ville" value=employe.ville %}
17 {% include "rh/form-row.html" with label="Code postal" value=employe.code_postal %}
18 {% include "rh/form-row.html" with label="Province" value=employe.province %}
19 {% include "rh/form-row.html" with label="Pays" value=employe.pays %}
20 {% include "rh/form-row.html" with label="Tél. domicile" value=employe.tel_domicile %}
21 {% include "rh/form-row.html" with label="Tél. mobile" value=employe.tel_cellulaire %}
22 {% include "rh/form-row.html" with label="Adresse courriel personnelle" value=employe.courriel_perso %}
23 </fieldset>
24
25 <fieldset class="module aligned">
26 <h2>Ayants droit</h2>
27 {% for ay in employe.ayantdroits.all %}
28 {% include "rh/form-row.html" with label=ay value=ay.lien_parente|default_if_none:"Lien de parenté inconnu" %}
29 {% endfor %}
30 </fieldset>
31
32 <fieldset class="module aligned">
33 <h2>Pièces</h2>
34 {% for pj in employe.pieces.all %}
35 <div class="form-row">
36 <a href="{{ pj.fichier.url }}">{{ pj.nom }}</a>
37 </div>
38 {% endfor %}
39 </fieldset>