forked from DGNum/gestioCOF
annulations reventes
This commit is contained in:
parent
2aaf9f681e
commit
8f7b036fbc
3 changed files with 18 additions and 9 deletions
|
@ -16,14 +16,18 @@
|
|||
<input type="submit" value="Revendre les places sélectionnées">
|
||||
</form>
|
||||
{%endif%}
|
||||
{% if resell %}
|
||||
<h2>Places en cours de revente</h2>
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
<ol>
|
||||
{% for attribution in resell %}
|
||||
<li>{{attribution.spectacle}} <input type="checkbox" name="annul" value="{{attribution.id}}"></li>
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="annul" value="{{attribution.id}}">
|
||||
<li>{{attribution.spectacle}} {% if attribution.revente.cancellable %}<input type="submit" value="Supprimer">{%endif%}</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
<input type="submit" value="Annuler les reventes sélectionnées">
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue