83624a8f33737cc6481250f383a3330861212334
[auf_rh_dae.git] / project / rh / templates / rh / include / employe.html
1 {% load dae %}
2
3 {% block extrahead %}
4 <script src="{{ STATIC_URL }}js/jquery-1.5.1.min.js"
5 type="text/javascript"></script>
6 <script type="text/javascript">
7 var DEVISES = {};
8 {% for d in devises %}
9 DEVISES['{{d.devise_code}}'] = {{d.taux_euro|stringformat:".10f"}};
10 {% endfor %}
11 </script>
12 <script src="{{ STATIC_URL }}js/dae.js" type="text/javascript"></script>
13 <script src="{{ STATIC_URL }}js/remun.js" type="text/javascript"></script>
14 {% endblock %}
15
16
17 <fieldset class="module aligned">
18 <h2>Identification</h2>
19 {% include "rh/form-row.html" with label="Nom" value=employe.nom %}
20 {% include "rh/form-row.html" with label="Prénom" value=employe.prenom %}
21 {% include "rh/form-row.html" with label="Nom d'affichage" value=employe.nom_affichage|default:"" %}
22 {% include "rh/form-row.html" with label="Genre" value=employe.get_genre_display %}
23 {% include "rh/form-row.html" with label="Nationalité" value=employe.nationalite %}
24 {% include "rh/form-row.html" with label="Date de naissance" value=employe.date_naissance %}
25 {% include "rh/form-row.html" with label="Situation familiale" value=employe.situation_famille.nom %}
26 {% include "rh/form-row.html" with label="Date d'entrée à l'AUF" value=employe.date_entree %}
27 </fieldset>
28
29 <fieldset class="module aligned">
30 <h2>Coordonnées</h2>
31 {% include "rh/form-row.html" with label="Adresse" value=employe.adresse %}
32 {% include "rh/form-row.html" with label="Ville" value=employe.ville %}
33 {% include "rh/form-row.html" with label="Code postal" value=employe.code_postal %}
34 {% include "rh/form-row.html" with label="Province" value=employe.province %}
35 {% include "rh/form-row.html" with label="Pays" value=employe.pays %}
36 {% include "rh/form-row.html" with label="Tél. domicile" value=employe.tel_domicile %}
37 {% include "rh/form-row.html" with label="Tél. mobile" value=employe.tel_cellulaire %}
38 {% include "rh/form-row.html" with label="Adresse courriel personnelle" value=employe.courriel_perso %}
39 </fieldset>
40
41 {% if dossier_principal %}
42 {% if annee %}
43 <fieldset class="module aligned page-break">
44 <h2>Rémunérations pour l'année {{ annee }}, pour le dossier principal: {{ dossier_principal}}</h2>
45 {% rh_remun_form_for_year dossier_principal annee %}
46 </fieldset>
47 {% endif %}
48 {% endif %}
49
50 <fieldset class="module aligned">
51 <h2>Ayants droit</h2>
52 {% for ay in employe.ayantdroits.all %}
53 {% include "rh/form-row.html" with label=ay value=ay.lien_parente|default_if_none:"Lien de parenté inconnu" %}
54 {% endfor %}
55 </fieldset>
56
57 <fieldset class="module aligned">
58 <h2>Pièces</h2>
59 {% for pj in employe.pieces.all %}
60 <div class="form-row">
61 <a href="{{ pj.fichier.url }}">{{ pj.nom }}</a>
62 </div>
63 {% endfor %}
64 </fieldset>