Finished with new calcs for remunerations
[auf_rh_dae.git] / project / rh / templates / rh / include / dossier.html
CommitLineData
6219cf26
BS
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 %}
7d8f6789 9 DEVISES['{{d.devise_code}}'] = {{d.taux_euro|stringformat:".10f"}};
6219cf26
BS
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
c233491c 17<fieldset class="module aligned">
5dfc3761 18 <h2>Localisation</h2>
b0cf30b8 19 {% include "rh/form-row.html" with label="Zone administrative" value=dossier.poste.implantation.zone_administrative %}
838bc59d
OL
20 {% include "rh/form-row.html" with label="Implantation" value=dossier.poste.implantation %}
21</fieldset>
22
c233491c 23<fieldset class="module aligned">
838bc59d 24 <h2>Informations générales</h2>
5dfc3761 25 {% include "rh/form-row.html" with label="Échelon" value=dossier.classement %}
838bc59d
OL
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 %}
84934747
BS
30 <div class="form-row">
31 <div>
9623a926 32 <label>Est un cadre :</label>
84934747
BS
33 <p>
34 {% if dossier.est_cadre %}
35 Oui
36 {% else %}
37 Non
38 {% endif %}
39 </p>
40 </div>
41 </div>
838bc59d
OL
42 {% include "rh/form-row.html" with label="Statut" value=dossier.statut %}
43 {% include "rh/form-row.html" with label="Organisme BSTG" value=dossier.organisme_bstg %}
44 {% include "rh/form-row.html" with label="Statut de résidence" value=dossier.statut_residence %}
3ebc0952 45 {% if dossier.remplacement %}
838bc59d 46 {% include "rh/form-row.html" with label="Remplacement" value=dossier.remplacement_de %}
3ebc0952 47 {% endif %}
838bc59d 48</fieldset>
3ebc0952 49
bfb5e43e 50{% if dossier.actif %}
c233491c 51<fieldset class="module aligned page-break">
6219cf26 52 {% for annee in annees %}
e0a465f2 53 <h2>Rémunérations pour l'année {{ annee }}</h2>
6219cf26
BS
54 {% rh_remun_form_for_year dossier annee %}
55 {% endfor %}
838bc59d 56</fieldset>
bfb5e43e 57{% endif %}
baf9b78c 58
520ab455
JPC
59{% include "rh/include/pieces.html" %}
60
ce740bb5 61{% if contrats %}
c233491c 62<fieldset class="module aligned">
838bc59d
OL
63 <h2>Contrats</h2>
64 <table>
65 <tr>
66 <th>Type</th>
67 <th>Date début</th>
68 <th>Date fin</th>
69 <th>Fichier</th>
70 </tr>
71 {% for c in contrats %}
72 <tr>
73 <td>{{ c.type_contrat }}</td>
74 <td>{{ c.date_debut }}</td>
75 <td>{{ c.date_fin }}</td>
76 <td>{% if c.fichier %}
e57655ce 77 <a href="{{ c.fichier.url }}">Télécharger</a>
838bc59d
OL
78 {% endif %}
79 </td>
80 </tr>
81 {% endfor %}
82 </table>
83</fieldset>
ce740bb5 84{% endif %}
838bc59d 85
2a36598b 86{% include "rh/include/commentaires.html" %}