feat: notify configured recipients when something is booked

This commit is contained in:
fromme committed 2026-09-28 16:40:56 +02:00
1 parent be37fc81f6
commit d287cb2600
23 files changed
+1014 -1

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
{# One mail for the whole series -- see BookingNotifier for why it is not one per occurrence. #}
{% set resource = series.resource -%}
{{ resource.type.label }} {{ resource.label }} wurde als Serie gebucht.
Zeitraum: {{ series.startDate|format_datetime(pattern: 'd. MMMM y') }} bis {{ series.endDate|format_datetime(pattern: 'd. MMMM y') }}
Rhythmus: {{ series.describe }}
Termine: {{ result.createdCount }}
{% if result.skippedCount > 0 %}Belegt: {{ result.skippedCount }} Tage waren bereits vergeben ({{ result.skippedDates|join(', ') }})
{% endif %}{% if resource.group %}{{ resource.type.groupLabel }}:{{ ' ' }}{{ resource.group.label }}
{% endif %}Gebucht von: {{ series.user.name }} ({{ series.user.email }})
--
E&P Platz