Default France value and cleaner handling of BillingInfo creation

This commit is contained in:
2025-04-11 15:30:05 +02:00
parent 5c2f324e13
commit 4ce885ac6b
6 changed files with 27 additions and 11 deletions

View File

@ -16,7 +16,7 @@
class="collapse-body"
hx-trigger="submit"
hx-post="{{ action }}"
hx-swap="outerHTML settle:100"
hx-swap="outerHTML"
hx-target="closest span"
x-show="collapsed"
>

View File

@ -66,7 +66,6 @@
{% trans %}Clear{% endtrans %}
</button>
<form method="get" action="{{ url('eboutic:command') }}">
{% csrf_token %}
<button class="btn btn-blue">
<i class="fa fa-check"></i>
<input type="submit" value="{% trans %}Validate{% endtrans %}"/>

View File

@ -72,6 +72,7 @@
type="submit"
id="bank-submit-button"
:disabled="!isCbAvailable"
class="btn btn-blue"
value="{% trans %}Pay with credit card{% endtrans %}"
/>
</form>
@ -84,7 +85,7 @@
<form method="post" action="{{ url('eboutic:pay_with_sith') }}" name="sith-pay-form">
{% csrf_token %}
<input type="hidden" name="action" value="pay_with_sith_account">
<input type="submit" value="{% trans %}Pay with Sith account{% endtrans %}"/>
<input class="btn btn-blue" type="submit" value="{% trans %}Pay with Sith account{% endtrans %}"/>
</form>
{% endif %}
</div>