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>
24 lines
642 B
PHP
24 lines
642 B
PHP
<?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',
|
||
};
|
||
}
|
||
}
|