feat: additional notification about invoice download

closes #869cxbk6c
This commit is contained in:
Björn Fromme
2026-04-21 15:34:04 +02:00
parent 083e68ee4d
commit 02a1640b51
2 changed files with 9 additions and 0 deletions
@@ -151,6 +151,7 @@ class IndexController extends AbstractController
break;
case BookingEditSubmissionResult::STATUS_SUCCESS:
$this->addFlash('success', 'Buchung erfolgreich aktualisiert');
$this->addFlash('booking_edit_notice', 'Bitte ladet euch eine aktualisierte Rechnung herunter, damit ihr stets den aktuellen Stand eurer Buchung vorliegen habt.');
break;
case BookingEditSubmissionResult::STATUS_UNSUCCESSFUL:
$this->addFlash('error', $result->message ?? 'Buchung konnte nicht aktualisiert werden');
+8
View File
@@ -46,6 +46,14 @@
{% block participant_cards %}
<h2 class="pb-4">Teilnehmer:innen</h2>
{% if app.session.flashBag.peek('booking_edit_notice')|length > 0 %}
{% include '_partials/_alert.html.twig' with {
level: 'info',
title: 'Hinweis',
messages: app.flashes('booking_edit_notice')
} %}
{% endif %}
{% if bookingEditContext.isDirty %}
{% include '_partials/_alert.html.twig' with {
level: 'warning',