Optionally allow to automatically reissue an invoice after a data change

This commit is contained in:
Raphael Michel
2020-02-13 09:49:21 +01:00
parent a770f5a8e7
commit d0794d7b94
7 changed files with 75 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
{% csrf_token %}
<div class="panel-group" id="questions_accordion">
{% if invoice_address_asked or event.settings.invoice_name_required %}
{% if invoice_address_asked and not request.GET.generate_invoice == "true" %}
{% if invoice_address_asked and not request.GET.generate_invoice == "true" and not event.settings.invoice_reissue_after_modify %}
<div class="alert alert-info">
{% blocktrans trimmed %}
Modifying your invoice address will not automatically generate a new invoice.