Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m36s
- Zahlungen werden nicht mehr automatisch angemahnt: faellige Anzahlung/Restzahlung werden Aufgaben (Zahlungen & Wuensche, Tages-/Wochenuebersicht); Mail nur per Klick; je Portal und Buchungstyp abschaltbar - Freigabe-Link in der Eingangsbestaetigung, Storno-Link in der Buchungsbestaetigung; je Wohnung Wunsch / sofort / sofort bis Frist; Stornowuensche und Kosten bleiben Aufgabe des Gastgebers - Vertragsvorlagen mit Versionen (je Angebot, Portal oder Wohnung waehlbar), benutzte Versionen gesperrt; Angebot und finaler Vertrag als unveraenderliche PDF mit SHA-256, Vertrag wird nie neu geschrieben - Anreise-Mail je Wohnung einstellbar (Standard 3 Tage), neue Textfelder Schluessel/Parken/Ankunftstag Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
30 lines
914 B
PHP
30 lines
914 B
PHP
<?php
|
||
|
||
namespace App\Enums;
|
||
|
||
use Filament\Support\Contracts\HasLabel;
|
||
|
||
/**
|
||
* What the cancellation link in the booking confirmation does.
|
||
*/
|
||
enum CancellationMode: string implements HasLabel
|
||
{
|
||
/** The guest sends a request; the landlord decides and settles costs. */
|
||
case Request = 'request';
|
||
|
||
/** The booking is cancelled at once and the dates are released. */
|
||
case Instant = 'instant';
|
||
|
||
/** Cancelled at once while the stay is still far enough away (free cancellation), otherwise a request. */
|
||
case InstantWhenFree = 'instant_when_free';
|
||
|
||
public function getLabel(): string
|
||
{
|
||
return match ($this) {
|
||
self::Request => 'Nur Stornierungswunsch – ich entscheide',
|
||
self::Instant => 'Sofort stornieren (Ein-Klick)',
|
||
self::InstantWhenFree => 'Sofort stornieren bis zur Frist der kostenfreien Stornierung, danach Wunsch',
|
||
};
|
||
}
|
||
}
|