barbacompta/eo_gestion/eo_facture/templates/eo_facture/a_facturer.html

30 lines
1.1 KiB
HTML

{% load eo_facture %}
{% if a_facturer %}
<div class="module" id="a-facturer">
<h2>Reste à facturer</h2>
<p>Liste des contrats qu'on a pas facturés depuis un bon moment et pour lesquels il reste un solde à facturer.</p>
<p>Montant total: {{ montant|amountformat }} € HT</p>
<table class="table">
<thead>
<th class="contrat">Contrat</th>
<th class="pourcentage">Pourcentage facturé</th>
<th class="montant">Reste HT</th>
<th class="derniere-facture">Depuis</th>
</thead>
<tbody>
{% for l in a_facturer %}
<tr>
<td class="contrat">
<a href="{% url "admin:eo_facture_contrat_change" l.contrat.id %}">
{{ l.contrat.intitule }}
<a/>
</td>
<td class="pourcentage">{{ l.pourcentage|floatformat:2 }} %</td>
<td class="montant">{{ l.montant|amountformat }} €</td>
<td class="derniere-facture">{{ l.depuis }} jours</td>
</tr>
{% endfor %}
</table>
</div>
{% endif %}