- </ul>
-
- </fieldset>
-
- <h2 class="section">SECTION 3 - COÛT GLOBAL</h2>
-
- <fieldset>
- <table cellspacing="0" id="global-cost">
- {% include 'dae/embauche-remun-consulter.html' %}
- </table>
- </fieldset>
-
- <h2 class="section">SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)</h2>
- <h3>A - Justification du poste</h3>
- <p>{{ poste.justification }}</p>
-
- <h3>B - Justification de l'employé</h3>
- <p class="info">Les questions posées pour la justification apparaîtront après avoir enregistré le dossier.</p>
- <table>
- <tr>
- <th>NOUVEL EMPLOYÉ</th>
- <th>RENOUVELLEMENT, PROLONGATION, RECLASSEMENT, MOBILITÉ INTERNE</th>
- </tr>
- <tr>
- <td>
- {% for j in dossier.justificationnouvelemploye_set.all %}
- <h4>{{ j.question }}</h4>
- <p>{{ j.reponse }}</p>
+ </ul>
+
+</fieldset>
+
+<h2 class="section">SECTION 3 - COÛT GLOBAL</h2>
+
+<fieldset>
+ <table cellspacing="0" id="global-cost">
+ {% include 'dae/embauche-remun-consulter.html' %}
+ </table>
+</fieldset>
+
+<h2 class="section">SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)</h2>
+<h3>A - Justification du poste</h3>
+<p>{{ poste.justification }}</p>
+
+<h3>B - Justification de l'employé</h3>
+<table class="justifications">
+<tr>
+ <th>Nouvel employé</th>
+ <th>Renouvellement, prolongation, reclassement, mobilité interne</th>
+</tr>
+<tr>
+ <td>
+ <h4>{{ dossier.justif_nouveau_statut_label }}</h4>
+ <p>{{ dossier.justif_nouveau_statut|default:"∅" }}
+ <h4>{{ dossier.justif_nouveau_tmp_remplacement_label }}</h4>
+ <p>{{ dossier.justif_nouveau_tmp_remplacement|default:"∅" }}</p>
+ <h4>{{ dossier.justif_nouveau_salaire_label }}</h4>
+ <p>{{ dossier.justif_nouveau_salaire|default:"∅" }}</p>
+ <h4>{{ dossier.justif_nouveau_commentaire_label }}</h4>
+ <p>{{ dossier.justif_nouveau_commentaire|default:"∅" }}</p>
+ </td>
+ <td>
+ <h4>{{ dossier.justif_rempl_type_contrat_label }}</h4>
+ <p>{{ dossier.justif_rempl_type_contrat|default:"∅"}}</p>
+ <h4>{{ dossier.justif_rempl_statut_employe_label }}</h4>
+ <p>{{ dossier.justif_rempl_statut_employe|default:"∅"}}</p>
+ <h4>{{ dossier.justif_rempl_evaluation_label }}</h4>
+ <p>{{ dossier.justif_rempl_evaluation|default:"∅"}}</p>
+ <h4>{{ dossier.justif_rempl_salaire_label }}</h4>
+ <p>{{ dossier.justif_rempl_salaire|default:"∅" }}</p>
+ <h4>{{ dossier.justif_rempl_commentaire_label }}</h4>
+ <p>{{ dossier.justif_rempl_commentaire|default:"∅" }}</p>
+ </td>
+</tr>
+</table>
+
+<h2 class="section">PIÈCES JOINTES</h2>
+
+{% if dossier.valide %}
+<a class="droite bouton-action" href="{% url embauche_ajouter_contrat dossier_id=dossier.id %}"
+ >Ajouter un contrat</a>
+<h3>Contrats</h3>
+
+<table>
+ <thead>
+ <tr>
+ <th>Type</th>
+ <th>Fichier</th>
+ <th></th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for contrat in dossier.dae_contrats.all %}
+ <tr>
+ <td>{{ contrat.type_contrat }}</td>
+ <td><a href="{% url contrat contrat.id contrat.fichier.name|basename %}"
+ >{{ contrat.fichier.name|basename }}</a></td>
+ <td><a href="{% url contrat_supprimer contrat.id %}">Supprimer</a></td>
+ </tr>
+ {% empty %}
+ <tr>
+ <td colspan="0">Aucun contrat pour l'instant</td>
+ </tr>