{% block main %}
<h1 class="gauche">Demandes d'autorisation d'engagement de personnel</h1>
-<a class="droite bouton-modifier" href="{% url embauche dossier.poste.key dossier.id %}">Modifier</a>
+<a class="droite bouton-action" target="_blank" href="?mode=vpdf">Format impression</a>
+<a class="droite bouton-action" href="{% url embauche dossier.poste.key dossier.id %}">Modifier</a>
<div class="visualClear"></div>
<h2 class="section">SECTION 1 - POSTE</h2>
<table>
<tbody>
<tr>
+ <th>Implantation</th>
<th>Employé</th>
<th>Poste</th>
- <th>Date fin contrat</th>
<th>Salaire</th>
<th>Salaire EUR</th>
- <th>Implantation</th>
- <th>Famille Emploi</th>
</tr>
- {% for d in comparaison_dossiers %}
+ {% for dc in dossier.comparaisons.all %}
<tr>
- <td>{{ d.employe }}</td>
- <td>{{ d.poste1.type_poste.nom }} {{ d.complement1 }}</td>
- <td>{{ d.contrat_date_fin|default:"en cours" }}</td>
- <td>{{ d.get_salaire_display }}</td>
- <td>{{ d.get_salaire_euro_display }}</td>
- <td>{{ d.poste1.implantation }}</td>
- <td>{{ d.poste1.type_poste.famille_emploi.nom }}</td>
+ <td>{{ dc.implantation }}</td>
+ <td>{{ dc.personne }}</td>
+ <td>{{ dc.poste }}</td>
+ <td>{{ dc.montant }} {{ dc.devise }}</td>
+ <td>{{ dc.montant_euros }} EUR</td>
</tr>
{% endfor %}
</tbody>