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>
This commit is contained in:
1 parent
e40f8639b3
commit
221ce8ca81
51 files changed
+773
-73
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<?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',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user