Added voucher list download as CSV

This commit is contained in:
Raphael Michel
2016-08-05 10:31:41 +02:00
parent ce6e8d0f5c
commit a056ee732a
3 changed files with 47 additions and 2 deletions

View File

@@ -21,6 +21,7 @@
<option value="e" {% if request.GET.status == "e" %}selected="selected"{% endif %}>{% trans "Expired" %}</option>
</select>
<button class="btn btn-primary" type="submit">{% trans "Filter" %}</button>
<button class="btn btn-default" type="submit" name="download" value="yes">{% trans "Download list" %}</button>
</p>
</form>
{% if vouchers|length == 0 %}