8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-08 10:56:27 +00:00
re2o/cotisations/templates/cotisations/control.html
2016-11-18 11:31:33 +01:00

46 lines
1.4 KiB
HTML

{% extends "cotisations/sidebar.html" %}
{% load bootstrap3 %}
{% load staticfiles%}
{% block title %}Controle des factures{% endblock %}
{% block content %}
<h2>Controle et validité des factures</h2>
{% if facture_list.paginator %}
{% include "pagination.html" with list=facture_list %}
{% endif %}
<form class="form" method="post">
{% csrf_token %}
{{ controlform.management_form }}
<table class="table table-striped">
<thead>
<tr>
<th>Utilisateur</th>
<th>Designation</th>
<th>Prix total</th>
<th>Moyen de paiement</th>
<th>Date</th>
<th>Validité</th>
<th>Controle trésorier</th>
</tr>
</thead>
{% for form in controlform.forms %}
{% bootstrap_form_errors form %}
<tr>
<td>{{ form.instance.user }}</td>
<td>{{ form.instance.name }}</td>
<td>{{ form.instance.prix_total }}</td>
<td>{{ form.instance.paiement }}</td>
<td>{{ form.instance.date }}</td>
<td>{{ form.valid }}</td>
<td>{{ form.control }}</td>
{% for hidden in form.hidden_fields %}
{{ hidden }}
{% endfor %}
</tr>
{% endfor %}
</table>
{% bootstrap_button "Modifier" button_type="submit" icon="star" %}
</form>
{% endblock %}