- 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>
74 lines
2.6 KiB
PHP
74 lines
2.6 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Landlord
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Shown in e-mails and documents. Notifications about new requests are sent
|
|
| to notification_email.
|
|
|
|
|
*/
|
|
|
|
'owner' => [
|
|
'name' => env('FEWO_OWNER_NAME', 'Brigitte Stommer'),
|
|
'street' => env('FEWO_OWNER_STREET', 'Erbstollen 3'),
|
|
'city' => env('FEWO_OWNER_CITY', '44225 Dortmund'),
|
|
'phone' => env('FEWO_OWNER_PHONE', '0170 8165208'),
|
|
'email' => env('FEWO_OWNER_EMAIL', 'fewo@stommer.de'),
|
|
],
|
|
|
|
'notification_email' => env('FEWO_NOTIFICATION_EMAIL', env('FEWO_OWNER_EMAIL', 'fewo@stommer.de')),
|
|
|
|
'bank' => [
|
|
'account_holder' => env('FEWO_BANK_ACCOUNT_HOLDER'),
|
|
'iban' => env('FEWO_BANK_IBAN'),
|
|
'bic' => env('FEWO_BANK_BIC'),
|
|
'bank_name' => env('FEWO_BANK_NAME'),
|
|
],
|
|
|
|
/*
|
|
| Days after confirmation within which the deposit has to be paid.
|
|
*/
|
|
'deposit_due_days' => (int) env('FEWO_DEPOSIT_DUE_DAYS', 7),
|
|
|
|
/*
|
|
| Days after departure when guests are asked for a review.
|
|
*/
|
|
'review_request_after_days' => (int) env('FEWO_REVIEW_REQUEST_AFTER_DAYS', 2),
|
|
|
|
/*
|
|
| Years after the last stay after which guest data is anonymised automatically.
|
|
| Default 10 years because booking records are accounting documents (§ 147 AO);
|
|
| please confirm with your tax advisor.
|
|
*/
|
|
'guest_retention_years' => (int) env('FEWO_GUEST_RETENTION_YEARS', 10),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Portal synchronisation
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
'channels' => [
|
|
// An import without success for this long triggers an alert.
|
|
'stale_after_minutes' => (int) env('FEWO_CHANNEL_STALE_AFTER_MINUTES', 60),
|
|
// Open manual blocking tasks are reminded after this time.
|
|
'task_reminder_after_minutes' => (int) env('FEWO_CHANNEL_TASK_REMINDER_AFTER_MINUTES', 120),
|
|
// Token for GET /health/sync (external monitoring, e.g. n8n). Empty = endpoint disabled.
|
|
'health_token' => env('FEWO_HEALTH_TOKEN'),
|
|
],
|
|
|
|
/*
|
|
| Optional external automation (e.g. a browser bot on a private server) that carries out
|
|
| manual blocking tasks. Tasks are POSTed signed with HMAC-SHA256 of the body.
|
|
*/
|
|
'automation' => [
|
|
'webhook_url' => env('FEWO_AUTOMATION_WEBHOOK_URL'),
|
|
'secret' => env('FEWO_AUTOMATION_SECRET'),
|
|
],
|
|
|
|
];
|