poste apercu
[auf_rh_dae.git] / project / rh / templates / rh / include / poste.html
1 <fieldset class="module">
2 <h2>Identification</h2>
3 {% include "rh/form-row.html" with label="Nom" value=poste.nom %}
4 {% include "rh/form-row.html" with label="Implantation" value=poste.implantation %}
5 {% include "rh/form-row.html" with label="Type" value=poste.type_service %}
6 {% include "rh/form-row.html" with label="Service" value=poste.service %}
7 {% include "rh/form-row.html" with label="Responsable" value=poste.responsable %}
8 </fieldset>
9
10 <fieldset class="module">
11 <h2>Contrat</h2>
12 {% include "rh/form-row.html" with label="Régime de travail (% du temps complet)" value=poste.regime_travail %}
13 {% include "rh/form-row.html" with label="Régime de travail (Nb. heures par semaine)" value=poste.regime_travail_nb_heure_semaine %}
14 </fieldset>
15
16 <fieldset class="module">
17 <h2>Recrutement</h2>
18 {% include "rh/form-row.html" with label="Local" value=poste.local|yesno:"Oui,Non,Inconnu" %}
19 {% include "rh/form-row.html" with label="Expatrié" value=poste.expatrie|yesno:"Oui,Non,Inconnu" %}
20 {% include "rh/form-row.html" with label="Mise à disposition" value=poste.mise_a_disposition|yesno:"Oui,Non,Inconnu" %}
21 {% include "rh/form-row.html" with label="Appel à candidature" value=poste.appel %}
22 {% include "rh/form-row.html" with label="Date début" value=poste.date_debut|default:"s/o" %}
23 {% include "rh/form-row.html" with label="Date fin" value=poste.date_fin|default:"s/o" %}
24 </fieldset>
25
26 <fieldset class="module">
27 <h2>Rémunération</h2>
28 <table id="classement">
29 <thead>
30 <tr>
31 <th></th>
32 <th>Min.</th>
33 <th>Max.</th>
34 </tr>
35 </thead>
36 <tbody>
37 <tr>
38 <th>Échelon AUF</th>
39 <td>{{ poste.classement_min|default:"s/o" }}</td>
40 <td>{{ poste.classement_max|default:"s/o" }}</td>
41 </tr>
42 <tr>
43 <th>Valeur du point</th>
44 <td class="montant">{{ poste.valeur_point_min|default:"" }}</td>
45 <td class="montant">{{ poste.valeur_point_max|default:"" }}</td>
46 </tr>
47 <tr>
48 <th>Salaire de base</th>
49 <td class="montant">{{ poste.salaire_min|default:"0"|floatformat:0 }} {{ poste.devise_min.code }}</td>
50 <td class="montant">{{ poste.salaire_max|default:"0"|floatformat:0 }} {{ poste.devise_max.code }}</td>
51 </tr>
52 <tr>
53 <th>Indemnité</th>
54 <td class="montant">{{ poste.indemn_min|default:"0"|floatformat:0 }} {{ poste.devise_min.code }}</td>
55 <td class="montant">{{ poste.indemn_max|default:"0"|floatformat:0 }} {{ poste.devise_max.code }}</td>
56 </tr>
57 <tr>
58 <th>Autres</th>
59 <td class="montant">{{ poste.autre_min|default:"0"|floatformat:0 }} {{ poste.devise_min.code }}</td>
60 <td class="montant">{{ poste.autre_max|default:"0"|floatformat:0 }} {{ poste.devise_max.code }}</td>
61 </tr>
62 </tbody>
63 </table>
64 </fieldset>
65
66 <fieldset class="module">
67 <h2>Comparatif</h2>
68
69 <h4>Device comparative : {{ poste.devise_comparaison }} </h4>
70 <table id="classement">
71 <thead>
72 <tr>
73 <th></th>
74 <th>Min.</th>
75 <th>Max.</th>
76 </tr>
77 </thead>
78 <tbody>
79 <tr>
80 <th>Comp. locale</th>
81 <td class="montant">{{ poste.comp_locale_min|default:"0" }}</td>
82 <td class="montant">{{ poste.comp_locale_max|default:"0" }}</td>
83 </tr>
84 <tr>
85 <th>Comp. université</th>
86 <td class="montant">{{ poste.comp_universite_min|default:"0" }}</td>
87 <td class="montant">{{ poste.comp_universite_max|default:"0" }}</td>
88 </tr>
89 <tr>
90 <th>Comp. fonction pub.</th>
91 <td class="montant">{{ poste.comp_fonctionpub_min|default:"0" }}</td>
92 <td class="montant">{{ poste.comp_fonctionpub_max|default:"0" }}</td>
93 </tr>
94 <tr>
95 <th>Comp. ONG</th>
96 <td class="montant">{{ poste.comp_ong_min|default:"0" }}</td>
97 <td class="montant">{{ poste.comp_ong_max|default:"0" }}</td>
98 </tr>
99 <tr>
100 <th>Comp. autre</th>
101 <td class="montant">{{ poste.comp_autre_min|default:"0" }}</td>
102 <td class="montant">{{ poste.comp_autre_max|default:"0" }}</td>
103 </tr>
104 <tr>
105 <th>valeur</th>
106 <td class="montant">{{ poste.valeur_valeur_min|default:"0" }}</td>
107 <td class="montant">{{ poste.valeur_valeur_max|default:"0" }}</td>
108 </tr>
109 </tbody>
110 </table>
111 </fieldset>
112
113 {% if poste.justification %}
114 <fieldset class="module">
115 <h2>Justification</h2>
116 <p>
117 {{ poste.justification }}
118 </p>
119 </fieldset>
120 {% endif %}
121
122 {% if financements|length > 0 %}
123 <fieldset class="module">
124 <h2>Financement</h2>
125 <table>
126 <thead>
127 <tr>
128 <th>Type</th>
129 <th>Pourcentage</th>
130 <th>Commentaire</th>
131 </tr>
132 </thead>
133 <tbody>
134 {% for f in financements %}
135 <tr>
136 <td>{{ f.choix }}</td>
137 <td>{{ f.pourcentage|floatformat:"2" }}%</td>
138 <td>{{ f.commentaire }}</td>
139 </tr>
140 {% endfor %}
141 </tbody>
142 </table>
143 </fieldset>
144 {% endif %}
145
146 {% include "rh/include/pieces.html" %}
147
148 {% if dossiers|length > 0 %}
149 <fieldset class="module">
150 <h2>Dossiers</h2>
151 <table>
152 <thead>
153 <tr>
154 <th>Dossier #</th>
155 <th>Date début</th>
156 <th>Date fin</th>
157 <th>Employé<th>
158 </tr>
159 </thead>
160 <tbody>
161 {% for d in dossiers %}
162 <tr>
163 <td><a href="{% url dossier_apercu d.id %}">{{ d.id }}</a></td>
164 <td>{{ d.date_debut }}</td>
165 <td>{{ d.date_fin|default:"indéterminée" }}</td>
166 <td>{{ d.employe }}</td>
167 </tr>
168 {% endfor %}
169 </tbody>
170 </table>
171 </div>
172 {% endif %}
173
174 {% if comparaisons|length > 0 %}
175 <div>
176 <h3>Dossiers de comparaison</h3>
177 {% comment %}
178 <a class="noprint action-remove-block" href="#">Retirer de l'impression</a>
179 {% endcomment %}
180 <table>
181 <thead>
182 <tr>
183 <th>Implantation</th>
184 <th>Nom</th>
185 <th>Montant</th>
186 <th>Devise<th>
187 </tr>
188 </thead>
189 <tbody>
190 {% for p in comparaisons %}
191 <tr>
192 <td>{{ p.implantation }}</td>
193 <td>{{ p.nom }}</td>
194 <td>{{ p.montant|floatformat:2 }}</td>
195 <td>{{ p.devise|default:"s/o" }}</td>
196 </tr>
197 {% endfor %}
198 </tbody>
199 </table>
200 </div>
201 {% endif %}
202
203 {% include "rh/include/commentaires.html" %}