594ecc1a8faa60523594024ca998ce2d5ead48e9
[auf_rh_dae.git] / project / rh / templates / rh / include / dossier.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:"f"}};
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>Localisation</h2>
19 {% include "rh/form-row.html" with label="Zone administrative" value=dossier.poste.implantation.zone_administrative %}
20 {% include "rh/form-row.html" with label="Implantation" value=dossier.poste.implantation %}
21 </fieldset>
22
23 <fieldset class="module aligned">
24 <h2>Informations générales</h2>
25 {% include "rh/form-row.html" with label="Échelon" value=dossier.classement %}
26 {% include "rh/form-row.html" with label="Date début d'occupation" value=dossier.date_debut %}
27 {% include "rh/form-row.html" with label="Date fin d'occupation" value=dossier.date_fin %}
28 {% include "rh/form-row.html" with label="Régime de travail (% du temps complet)" value=dossier.regime_travail %}
29 {% include "rh/form-row.html" with label="Régime de travail (Nb. heures par semaine)" value=dossier.regime_travail_nb_heure_semaine %}
30 {% include "rh/form-row.html" with label="Statut" value=dossier.statut %}
31 {% include "rh/form-row.html" with label="Organisme BSTG" value=dossier.organisme_bstg %}
32 {% include "rh/form-row.html" with label="Statut de résidence" value=dossier.statut_residence %}
33 {% if dossier.remplacement %}
34 {% include "rh/form-row.html" with label="Remplacement" value=dossier.remplacement_de %}
35 {% endif %}
36 </fieldset>
37
38 {% if dossier.actif %}
39 <fieldset class="module aligned page-break">
40 <h2>Rémunération en cours</h2>
41 {% for annee in annees %}
42 <h2>Pour l'année {{ annee }}</h2>
43 {% rh_remun_form_for_year dossier annee %}
44 {% endfor %}
45 </fieldset>
46 {% endif %}
47
48 {% include "rh/include/pieces.html" %}
49
50 {% if contrats %}
51 <fieldset class="module aligned">
52 <h2>Contrats</h2>
53 <table>
54 <tr>
55 <th>Type</th>
56 <th>Date début</th>
57 <th>Date fin</th>
58 <th>Fichier</th>
59 </tr>
60 {% for c in contrats %}
61 <tr>
62 <td>{{ c.type_contrat }}</td>
63 <td>{{ c.date_debut }}</td>
64 <td>{{ c.date_fin }}</td>
65 <td>{% if c.fichier %}
66 <a href="{{ c.fichier.url }}">Télécharger</a>
67 {% endif %}
68 </td>
69 </tr>
70 {% endfor %}
71 </table>
72 </fieldset>
73 {% endif %}
74
75 <fieldset class="module aligned">
76 <h2>Historique de rémunération</h2>
77 {% include "rh/include/remunerations.html" with remunerations=dossier.remunerations %}
78 </fieldset>
79
80 {% include "rh/include/commentaires.html" %}