-<h2>Dossier {{ dossier }}</h2>
-
-<h3>Implantation</h3>
-{{ dossier.poste.implantation }}
-
-<h3>Durée et régime</h3>
-<table>
- <tr><th>Date début d'occupation</th><td>{{ dossier.date_debut }}</td></tr>
- <tr><th>Date fin d'occupation</th><td>{% if dossier.date_fin == None %}<span style="color: red;">en cours</span>{% else %}{{ dossier.date_fin }}{% endif %}</td></tr>
-
- <tr><th>Régime de travail (% du temps complet)</th><td>{{ dossier.regime_travail }}</td></tr>
- <tr><th>Régime de travail (Nb. heures par semaine)</th><td>{{ dossier.regime_travail_nb_heure_semaine }}</td></tr>
-</table>
-
-<h3>Information</h3>
-<table>
- <tr><th>Statut</th><td>{{ dossier.statut }}</td></tr>
- <tr><th>Organisme BSTG</th><td>{{ dossier.organisme_bstg }}</td></tr>
- <tr><th>Statut de résidence</th><td>{{ dossier.statut_residence }}</td></tr>
- <tr><th>Classement</th><td>{{ dossier.classement }}</td></tr>
+<fieldset class="module aligned">
+ <h2>Annuaire</h2>
+ {% include "rh/form-row.html" with label="Région" value=dossier.poste.implantation.region %}
+ {% include "rh/form-row.html" with label="Implantation" value=dossier.poste.implantation %}
+</fieldset>
+
+<fieldset class="module aligned">
+ <h2>Informations générales</h2>
+ {% include "rh/form-row.html" with label="Date début d'occupation" value=dossier.date_debut %}
+ {% include "rh/form-row.html" with label="Date fin d'occupation" value=dossier.date_fin %}
+ {% include "rh/form-row.html" with label="Régime de travail (% du temps complet)" value=dossier.regime_travail %}
+ {% include "rh/form-row.html" with label="Régime de travail (Nb. heures par semaine)" value=dossier.regime_travail_nb_heure_semaine %}
+ {% include "rh/form-row.html" with label="Statut" value=dossier.statut %}
+ {% include "rh/form-row.html" with label="Organisme BSTG" value=dossier.organisme_bstg %}
+ {% include "rh/form-row.html" with label="Statut de résidence" value=dossier.statut_residence %}
{% if dossier.remplacement %}
- <th>Remplacement</th><td>{{ dossier.remplacement_de }}</td></tr>
+ {% include "rh/form-row.html" with label="Remplacement" value=dossier.remplacement_de %}
{% endif %}
-</table>
+</fieldset>
+<fieldset class="module aligned page-break">
+ <h2>Rémunération en cours</h2>
+ <table>
+ {% include "dae/embauche-remun-consulter.html" %}
+ </table>
+</fieldset>
-<h3>Rémunérations</h3>
-<table>
- <tr>
+{% include "rh/include/pieces.html" %}
+
+{% if contrats %}
+<fieldset class="module aligned">
+ <h2>Contrats</h2>
+ <table>
+ <tr>
<th>Type</th>
- <th>Nature</th>
- <th>Montant (devise)</th>
- <th>Commentaire</th>
<th>Date début</th>
<th>Date fin</th>
- </tr>
- {% for r in dossier.remunerations %}
- <tr>
- <th>{{ r.type }}</th>
- <th>{{ r.type.nature_remuneration }}</th>
- <td>{{ r.montant }} {{ r.devise.code }}</td>
- <td>{{ r.commentaire }}</td>
- <td>{{ r.date_debut }}</td>
- <td>{{ r.date_fin }}</td>
- </tr>
- {% endfor %}
-</table>
-
-{% include "rh/include/pieces.html" %}
-
-<h3>Contrats</h3>
-<table>
- <tr>
- <th>Type</th>
- <th>Date début</th>
- <th>Date fin</th>
- <th>Fichier</th>
- </tr>
- {% for c in contrats %}
- <tr>
- <td>{{ c.type_contrat }}</td>
- <td>{{ c.date_debut }}</td>
- <td>{{ c.date_fin }}</td>
- <td>{% if c.fichier %}
- <a href="{{ media }}{{ c.fichier }}">Télécharger</a>
- {% endif %}
- </td>
- </tr>
- {% endfor %}
-</table>
+ <th>Fichier</th>
+ </tr>
+ {% for c in contrats %}
+ <tr>
+ <td>{{ c.type_contrat }}</td>
+ <td>{{ c.date_debut }}</td>
+ <td>{{ c.date_fin }}</td>
+ <td>{% if c.fichier %}
+ <a href="{{ media }}{{ c.fichier }}">Télécharger</a>
+ {% endif %}
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+</fieldset>
+{% endif %}
+
+<fieldset class="module aligned">
+ <h2>Historique de rémunération</h2>
+{% include "rh/include/remunerations.html" with remunerations=dossier.remunerations %}
+</fieldset>
{% include "rh/include/commentaires.html" %}