Sperrzeiten um Eigenbelegung und privaten Buchungskanal erweitern
Deploy FeWo mit PipelineManager / deploy (push) Successful in 2m49s

This commit is contained in:
Lars committed 2026-10-27 22:26:47 +01:00
1 parent 2b2e732612
commit 4389894959
12 files changed
+305 -28

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Enums;
use Filament\Support\Contracts\HasLabel;
enum BlockedPeriodPurpose: string implements HasLabel
{
case OwnUse = 'own_use';
case Maintenance = 'maintenance';
case Other = 'other';
public function getLabel(): string
{
return match ($this) {
self::OwnUse => 'Eigenbelegung',
self::Maintenance => 'Wartung / Renovierung',
self::Other => 'Sonstige Sperre',
};
}
}