+{% load dae %}
<fieldset>
<h2><label>Type d'intervention : </label>{{ poste.get_type_intervention_display }}</h2>
</fieldset>
<th>Charges patronales</th>
<th>Autres</th>
<th>TOTAL</th>
+ <th>TOTAL sans charges patronales</th>
<th>Taux > €</th>
- <th>EUR</th>
+ <th>TOTAL (EUR)</th>
+ <th>TOTAL (EUR) sans charges patronales</th>
</tr>
<tr>
<th>Min.</th>
<td class="montant">{{ poste.charges_patronales_min|floatformat:0 }} {{ poste.devise_min.code }}</td>
<td class="montant">{{ poste.autre_min|floatformat:0 }} {{ poste.devise_min.code }}</td>
<td class="montant">{{ poste.get_couts_minimum|floatformat:0 }} {{ poste.devise_min.code }}</td>
+ <td class="montant">{{ poste.get_salaire_minimum|floatformat:0 }} {{ poste.devise_min.code }}</td>
<td>{{ poste.show_taux_minimum }}</td>
- <td class="montant">{{ poste.show_couts_minimum_euros|floatformat:0 }}</td>
+ <td class="montant">{{ poste.show_couts_minimum_euros|floatformat:0 }} €</td>
+ <td class="montant">{{ poste.show_salaire_minimum_euros|floatformat:0 }} €</td>
</tr>
<tr>
<th>Max.</th>
<td class="montant">{{ poste.charges_patronales_max|floatformat:0 }} {{ poste.devise_max.code }}</td>
<td class="montant">{{ poste.autre_max|floatformat:0 }} {{ poste.devise_max.code }}</td>
<td class="montant">{{ poste.get_couts_maximum|floatformat:0 }} {{ poste.devise_max.code }}</td>
+ <td class="montant">{{ poste.get_salaire_maximum|floatformat:0 }} {{ poste.devise_max.code }}</td>
<td>{{ poste.show_taux_maximum }}</td>
- <td class="montant">{{ poste.show_couts_maximum_euros|floatformat:0 }}</td>
+ <td class="montant">{{ poste.show_couts_maximum_euros|floatformat:0 }} €</td>
+ <td class="montant">{{ poste.show_salaire_maximum_euros|floatformat:0 }} €</td>
</tr>
</tbody>
</table>
<h2>Pièces jointes</h2>
<ul>
{% for pj in poste.postepiece_set.all %}
- <li><a href="{{ pj.fichier.url }}">{{ pj.nom }}</a></li>
+ <li><a href="{% url poste_piece pj.id pj.fichier.name|basename %}">{{ pj.nom }}</a></li>
{% endfor %}
</ul>
</fieldset>