Checkout UX: Going back to editing the invoice address opens accordion accordingly

Thanks @breunigs for the suggestion
This commit is contained in:
Raphael Michel
2017-12-11 15:04:19 +01:00
parent 725a7f21c4
commit 8f7c6521a9
2 changed files with 2 additions and 2 deletions

View File

@@ -74,7 +74,7 @@
<div class="panel panel-primary panel-contact">
<div class="panel-heading">
<div class="pull-right">
<a href="{% eventurl request.event "presale:event.checkout" step="questions" %}">
<a href="{% eventurl request.event "presale:event.checkout" step="questions" %}?invoice=1">
<span class="fa fa-edit"></span>
{% trans "Modify" %}
</a>

View File

@@ -39,7 +39,7 @@
</a>
</h4>
</div>
<div id="invoice" class="panel-collapse collapse{% if event.settings.invoice_address_required or event.settings.invoice_name_required %} in {% endif %}">
<div id="invoice" class="panel-collapse collapse {% if event.settings.invoice_address_required or event.settings.invoice_name_required or "invoice" in request.GET %} in{% endif %}">
<div class="panel-body">
{% bootstrap_form invoice_form layout="horizontal" %}
</div>