feat: voucher purchase flow

This commit is contained in:
fromme committed 2026-10-01 15:03:27 +02:00
1 parent a628e96d06
commit f3dd122678
70 files changed
+3672 -122

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
{% extends 'htmx_modal.html.twig' %}
{% block title %}Sicher?{% endblock %}
{% block content %}
<div class="pb-8">
Möchtest du den Gutscheinkauf wirklich abbrechen?
</div>
<div class="flex flex-col space-y-4 md:flex-row md:space-y-0 justify-between">
<button type="button"
hx-post="{{ path('app_voucher_cancel') }}"
hx-target="body"
class="button button--primary">
Ja, Kauf abbrechen
</button>
<button type="button"
{{ stimulus_action('modal', 'close') }}
class="button button--secondary">
Nein, weiter einkaufen
</button>
</div>
{% endblock %}