- Connector-System (app/Channels, config/channels.php) mit iCal-Connector, robustem Parser und Export-Feed je Portal (ohne eigene Belegungen, ohne Gästedaten) - Abgleich alle 5 Min. mit Protokoll, Echo-Erkennung, Konflikt-Mail bei möglicher Doppelbuchung - Überwachung: Störungs-Mail, Status-Endpunkt /health/sync für n8n - Portal-Aufgaben für Sofortbuchungsportale (FeWo-direkt): automatisch aus Buchungen/Sperren/anderen Portalen, Mail + Erinnerung, Abhaken im Admin - Optionaler signierter Automatisierungs-Webhook mit Rückmeldung - Herkunftsmessung: Abfrage im Formular + UTM-Parameter - Portal-Analyse: AGB-Prüfung Automatisierung, Umsetzungsbeschreibung Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
1.1 KiB
PHP
37 lines
1.1 KiB
PHP
<?php
|
||
|
||
namespace App\Enums;
|
||
|
||
use Filament\Support\Contracts\HasLabel;
|
||
|
||
/**
|
||
* "How did you find us?" – answered by the guest in the request form.
|
||
*/
|
||
enum ReferralSource: string implements HasLabel
|
||
{
|
||
case SearchEngine = 'search_engine';
|
||
case FewoDirekt = 'fewo_direkt';
|
||
case Ostseeklar = 'ostseeklar';
|
||
case FerienUndWohnen = 'ferienundwohnen';
|
||
case TouristInformation = 'tourist_information';
|
||
case SocialMedia = 'social_media';
|
||
case Recommendation = 'recommendation';
|
||
case ReturningGuest = 'returning_guest';
|
||
case Other = 'other';
|
||
|
||
public function getLabel(): string
|
||
{
|
||
return match ($this) {
|
||
self::SearchEngine => 'Suchmaschine (z. B. Google)',
|
||
self::FewoDirekt => 'FeWo-direkt',
|
||
self::Ostseeklar => 'Ostseeklar',
|
||
self::FerienUndWohnen => 'ferienundwohnen.de',
|
||
self::TouristInformation => 'Tourist-Information Kühlungsborn',
|
||
self::SocialMedia => 'Social Media',
|
||
self::Recommendation => 'Empfehlung',
|
||
self::ReturningGuest => 'Ich war schon Gast',
|
||
self::Other => 'Sonstiges',
|
||
};
|
||
}
|
||
}
|