Files
LarsandClaude Sonnet 5.5 221ce8ca81 Anfrage-Basisprozess inquiry.request mit Schablonen für Antwort und Gastkommunikation
Antwortart (Auskunft/Angebot) und Reservierung sind entkoppelt (neue Einstellung inquiry_answer;
pre_reservation bleibt die Reservierungsstrategie). Anlass-bezogene Absender für Anreise-Information
und Bewertungsbitte; Schablonen liefern Standardwerte unterhalb aller einstellbaren Ebenen.
A1/A2 bleiben Voreinstellungen und Altfassungen.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 12:40:22 +01:00

62 lines
1.9 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
namespace App\Process\Templates;
/**
* A request is answered with a non-binding information; the guest can ask for the booking from it, we check again and
* confirm. By definition (DocumentKind::Information) an information reserves nothing, so this template – and only
* this one – fixes the reservation to "no". Everything else (processing mode, deadlines, data request) stays free.
*/
final class InformationAnswer extends FunctionTemplate
{
public static function key(): string
{
return 'inquiry.information';
}
public static function version(): int
{
return 1;
}
public static function area(): TemplateArea
{
return TemplateArea::InquiryAnswer;
}
public static function label(): string
{
return 'Unverbindliche Auskunft';
}
public static function purpose(): string
{
return 'Der Gast erhält Preis und Verfügbarkeit zum Stand der Prüfung, ohne Reservierung und ohne Zusage. Er kann daraus die Buchung anfragen; verbindlich wird sie erst mit unserer Bestätigung nach erneuter Prüfung.';
}
public static function modules(): array
{
return ['offer.information'];
}
public static function requires(): array
{
return ['guest.identified', 'availability.checked'];
}
public static function fixes(): array
{
return ['inquiry_answer' => 'information', 'pre_reservation' => false];
}
public static function dimensions(): array
{
return [
'Verbindlichkeit' => 'Keine; der Vertrag entsteht erst nach dem Buchungswunsch und unserer Bestätigung.',
'Reservierung' => 'Keine (Festlegung der Auskunft, nicht des Prozesses).',
'Ausführung' => 'Automatisch, nach Freigabe oder von Hand (Modul „Unverbindliche Auskunft“).',
'Nachweis' => 'Versendete Auskunft mit Version und Stand der Prüfung.',
];
}
}