2016-07-03 16:09:58 +00:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Utilisateur</th>
|
|
|
|
<th>Designation</th>
|
2016-07-13 23:54:06 +00:00
|
|
|
<th>Prix total</th>
|
2016-07-03 16:09:58 +00:00
|
|
|
<th>Moyen de paiement</th>
|
|
|
|
<th>Date</th>
|
|
|
|
<th></th>
|
2016-07-11 22:05:07 +00:00
|
|
|
<th></th>
|
2016-07-03 16:09:58 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for facture in facture_list %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ facture.user }}</td>
|
|
|
|
<td>{{ facture.name }}</td>
|
2016-07-13 23:54:06 +00:00
|
|
|
<td>{{ facture.prix_total }}</td>
|
2016-07-03 16:09:58 +00:00
|
|
|
<td>{{ facture.paiement }}</td>
|
|
|
|
<td>{{ facture.date }}</td>
|
2016-07-09 15:16:44 +00:00
|
|
|
<td>{% if is_cableur %}<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:edit-facture' facture.id %}"><i class="glyphicon glyphicon-bitcoin"></i> Editer</a>{% endif %}</td>
|
2016-07-11 22:05:07 +00:00
|
|
|
<td><a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:facture-pdf' facture.id %}"><i class="glyphicon glyphicon-save"></i> PDF</a></td>
|
2016-07-03 16:09:58 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|