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

+14
View File
@@ -0,0 +1,14 @@
{#
Plain text on purpose: a notification is three facts and a name, and a text part renders the
same everywhere without a stylesheet anybody has to maintain.
#}
{% set resource = booking.resource -%}
{{ resource.type.label }} {{ resource.label }} wurde gebucht.
Datum: {{ booking.date|format_datetime(pattern: 'EEEE, d. MMMM y') }}
Zeit: {{ booking.timeRange }}
{% if resource.group %}{{ resource.type.groupLabel }}:{{ ' ' }}{{ resource.group.label }}
{% endif %}Gebucht von: {{ booking.user.name }} ({{ booking.user.email }})
--
E&P Platz