Generische iCal-Kanäle mit Bestandsklärung und sicheren Exporten bereitstellen
Deploy FeWo mit PipelineManager / deploy (push) Successful in 2m33s

This commit is contained in:
Lars committed 2026-10-27 17:14:45 +01:00
1 parent 6fe5bbc6e3
commit 783068501c
42 files changed
+2646 -248

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Enums;
use Filament\Support\Contracts\HasLabel;
enum ChannelBookingModel: string implements HasLabel
{
case Inquiry = 'inquiry';
case PortalBooking = 'portal_booking';
case Mixed = 'mixed';
public function getLabel(): string
{
return match ($this) {
self::Inquiry => 'Vermittlung / Anfrage',
self::PortalBooking => 'Portalbuchung',
self::Mixed => 'Gemischt',
};
}
}
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Enums;
use Filament\Support\Contracts\HasLabel;
enum ChannelEchoBehavior: string implements HasLabel
{
case Unverified = 'unverified';
case NoReexport = 'no_reexport';
case Reexports = 'reexports';
public function getLabel(): string
{
return match ($this) {
self::Unverified => 'Noch ungeprüft',
self::NoReexport => 'Im geprüften Fall keine Weitergabe importierter Ereignisse',
self::Reexports => 'Gibt importierte Ereignisse weiter – neue Belegungen erst klären',
};
}
}
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\Enums;
use Filament\Support\Contracts\HasLabel;
enum ChannelExportMode: string implements HasLabel
{
case Test = 'test';
case Regular = 'regular';
public function getLabel(): string
{
return match ($this) {
self::Test => 'Testbetrieb: nur eigene Belegungen',
self::Regular => 'Regulär: alle übrigen Kanäle einbeziehen',
};
}
}
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Enums;
use Filament\Support\Contracts\HasLabel;
enum ChannelStatus: string implements HasLabel
{
case Setup = 'setup';
case Active = 'active';
case Paused = 'paused';
public function getLabel(): string
{
return match ($this) {
self::Setup => 'Noch nicht eingerichtet',
self::Active => 'Aktiv',
self::Paused => 'Pausiert',
};
}
}