Deploy FeWo mit PipelineManager / deploy (push) Successful in 4m44s
- Paket 8: Zahlungsarten (Gast an uns, laut Portal, Auszahlung, Erstattung), Portalbeträge als Angaben mit Quelle, Übersicht nach Zuständigkeit (R09). - Paket 5: Ändern mit Folgenvorschau, vereinbart oder dem Gast vorgeschlagen (signierter Link), ein Stornoweg mit Grund und Erstattung, Portalstorno erst nach Bestätigung. - Paket 6: eigene Nutzung, Besuch und Sperre als Vorgang mit Kurabgabe und Aufenthaltsbestätigung; Bestandsübernahme der Sperren mit identischem Export. - Wirksame Einstellungen (Expertenansicht), Abnahmekatalog T01–T14, Ergebnis-, Abnahme- und Konfigurationsdokument. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
989 B
PHP
42 lines
989 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
use Filament\Support\Contracts\HasColor;
|
|
use Filament\Support\Contracts\HasLabel;
|
|
|
|
enum ChangeStatus: string implements HasColor, HasLabel
|
|
{
|
|
/** Sent to the guest, waiting for the guest's answer; nothing has changed yet. */
|
|
case Proposed = 'proposed';
|
|
|
|
/** In force. */
|
|
case Applied = 'applied';
|
|
|
|
case Declined = 'declined';
|
|
|
|
case Withdrawn = 'withdrawn';
|
|
|
|
case Expired = 'expired';
|
|
|
|
public function getLabel(): string
|
|
{
|
|
return match ($this) {
|
|
self::Proposed => 'dem Gast vorgeschlagen',
|
|
self::Applied => 'wirksam',
|
|
self::Declined => 'vom Gast abgelehnt',
|
|
self::Withdrawn => 'zurückgezogen',
|
|
self::Expired => 'nicht beantwortet',
|
|
};
|
|
}
|
|
|
|
public function getColor(): string
|
|
{
|
|
return match ($this) {
|
|
self::Proposed => 'warning',
|
|
self::Applied => 'success',
|
|
default => 'gray',
|
|
};
|
|
}
|
|
}
|