Routeur: Ajout temporaire des modules workflow et dae en écriture
[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:".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>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 <div class="form-row">
31 <div>
32 <label>Est un cadre :</label>
33 <p>
34 {% if dossier.est_cadre %}
35 Oui
36 {% else %}
37 Non
38 {% endif %}
39 </p>
40 </div>
41 </div>
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 %}
45 {% if dossier.remplacement %}
46 {% include "rh/form-row.html" with label="Remplacement" value=dossier.remplacement_de %}
47 {% endif %}
48 </fieldset>
49
50 <fieldset class="module aligned page-break">
51 {% for annee in annees %}
52 <h2>Rémunérations pour l'année {{ annee }}</h2>
53 {% rh_remun_form_for_year dossier annee %}
54 {% endfor %}
55 </fieldset>
56
57 {% include "rh/include/pieces.html" %}
58
59 <fieldset class="module aligned">
60 <h2>Comptes</h2>
61 <div class="form-row">
62 <div>
63 <label>Compte comptabilité:</label> {{ dossier.get_compte_compta_display }}
64 </div>
65 </div>
66 <div class="form-row">
67 <div>
68 <label>Compte courriel:</label>
69 {% if dossier.compte_courriel %}
70 Oui
71 {% else %}
72 Non
73 {% endif %}
74 </div>
75 </div>
76 </fieldset>
77
78 {% if contrats %}
79 <fieldset class="module aligned">
80 <h2>Contrats</h2>
81 <table>
82 <tr>
83 <th>Type</th>
84 <th>Date début</th>
85 <th>Date fin</th>
86 <th>Fichier</th>
87 </tr>
88 {% for c in contrats %}
89 <tr>
90 <td>{{ c.type_contrat }}</td>
91 <td>{{ c.date_debut }}</td>
92 <td>{{ c.date_fin }}</td>
93 <td>{% if c.fichier %}
94 <a href="{{ c.fichier.url }}">Télécharger</a>
95 {% endif %}
96 </td>
97 </tr>
98 {% endfor %}
99 </table>
100 </fieldset>
101 {% endif %}
102
103 {% include "rh/include/commentaires.html" %}