Show remaining quota on voucher redemption page

This commit is contained in:
Raphael Michel
2021-10-08 18:08:28 +02:00
parent 0f47bff5cd
commit 8fa71ccad4

View File

@@ -151,6 +151,9 @@
{{ var.description|localize|rich_text }}
</div>
{% endif %}
{% if item.do_show_quota_left %}
{% include "pretixpresale/event/fragment_quota_left.html" with avail=var.cached_availability %}
{% endif %}
</div>
<div class="col-md-2 col-xs-6 price">
{% if var.original_price %}
@@ -257,6 +260,9 @@
{{ item.description|localize|rich_text }}
</div>
{% endif %}
{% if item.do_show_quota_left %}
{% include "pretixpresale/event/fragment_quota_left.html" with avail=item.cached_availability %}
{% endif %}
</div>
</div>
<div class="col-md-2 col-xs-6 price">