57 lines
1.2 KiB
SQL
57 lines
1.2 KiB
SQL
DO $body$
|
|
BEGIN
|
|
IF NOT EXISTS (
|
|
SELECT 1
|
|
FROM template_item
|
|
WHERE category = 'meeting_protocol'
|
|
) THEN
|
|
INSERT INTO template_item(
|
|
title,
|
|
category,
|
|
description,
|
|
content,
|
|
version_label,
|
|
is_active
|
|
) VALUES (
|
|
'Sitzungsprotokoll Standard',
|
|
'meeting_protocol',
|
|
'Wird beim Beenden einer Sitzung zur automatischen Protokollerzeugung verwendet. Platzhalter wie {{meeting_number}} oder {{agenda_sections}} können frei umgestellt werden.',
|
|
$template$# Betriebsrat {{committee_name}}
|
|
# Protokoll der BR-Sitzung am {{meeting_date}}
|
|
VERTRAULICH
|
|
|
|
{{meeting_title_block}}
|
|
|
|
## Organisatorisches und Feststellungen
|
|
|
|
Sitzungsnummer: {{meeting_number}}
|
|
Sitzungsart: {{meeting_type}}
|
|
Sitzungsbeginn: {{start_time}}
|
|
Sitzungsort: {{location}}
|
|
Sitzungsleitung: {{chair_name}}
|
|
Schriftführung: {{secretary_name}}
|
|
{{quorum_statement}}
|
|
{{attendees_block}}
|
|
|
|
## Protokollnotizen
|
|
{{protocol_notes}}
|
|
|
|
## Tagesordnung und Beratung
|
|
{{agenda_sections}}
|
|
|
|
## Sitzungsende
|
|
Schließung der Sitzung um {{end_time}} Uhr.
|
|
|
|
{{signature_place}}
|
|
______________________________
|
|
{{chair_name}}
|
|
|
|
______________________________
|
|
{{secretary_name}}$template$,
|
|
'v1',
|
|
TRUE
|
|
);
|
|
END IF;
|
|
END
|
|
$body$;
|