Files
fewo-stommer/app/Enums/InquiryAnswer.php
T
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

24 lines
642 B
PHP
Raw 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\Enums;
use Filament\Support\Contracts\HasLabel;
/**
* How a request is answered first: a non-binding information or a binding offer the guest can accept. Independent of the
* reservation strategy (ProcessSetting::PreReservation) – except that an information reserves nothing by definition.
*/
enum InquiryAnswer: string implements HasLabel
{
case Information = 'information';
case Offer = 'offer';
public function getLabel(): string
{
return match ($this) {
self::Information => 'Unverbindliche Auskunft',
self::Offer => 'Verbindliches Angebot',
};
}
}