8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-09 03:16:25 +00:00

Controle des factures un peu mieux pour moi quand même

This commit is contained in:
Dalahro 2016-11-28 00:41:41 +01:00
parent dd7d079fb9
commit 85f70b50c1

View file

@ -15,7 +15,9 @@
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th>Utilisateur</th> <th>Profil</th>
<th>Nom</th>
<th>Prénom</th>
<th>Designation</th> <th>Designation</th>
<th>Prix total</th> <th>Prix total</th>
<th>Moyen de paiement</th> <th>Moyen de paiement</th>
@ -27,7 +29,11 @@
{% for form in controlform.forms %} {% for form in controlform.forms %}
{% bootstrap_form_errors form %} {% bootstrap_form_errors form %}
<tr> <tr>
<td>{{ form.instance.user }}</td>
<td><a href="{% url "users:profil" form.instance.user.id%}" class="btn btn-primary btn-sm" role="button"><i class="glyphicon glyphicon-user"></i></a>
</td>
<td>{{ form.instance.user.name }}</td>
<td>{{ form.instance.user.surname }}</td>
<td>{{ form.instance.name }}</td> <td>{{ form.instance.name }}</td>
<td>{{ form.instance.prix_total }}</td> <td>{{ form.instance.prix_total }}</td>
<td>{{ form.instance.paiement }}</td> <td>{{ form.instance.paiement }}</td>