Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m38s
- Buchung erfassen: Buchungsweg Portal (Referenz, Portalpreis, ohne Kontaktdaten), Prozess bestaetigen/Vertrag sofort/nur erfassen - Buchungsakte: Kontaktdaten eintragen (automatisch oder manuell weiter), Gast um Kontaktdaten bitten, Status von Hand aendern, Archivieren - Liste: Filter Kanal, Anreisezeitraum, Kontaktdaten fehlen; Spalten ausblendbar; Archiv - Klaerung: verstaendlichere Texte, eigenstaendige Belegung mit Kanal gilt als geklaert (Gitea #4) - Akte per Button aus Liste und Belegungsplan erreichbar - Menue: Gruppen Verwaltung (Tagesgeschaeft) und Einrichtung (Konfiguration), einfache Ansicht auf 8 Punkte Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
67 lines
2.0 KiB
PHP
67 lines
2.0 KiB
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Channels;
|
|
|
|
use App\Filament\Concerns\FollowsAdminMode;
|
|
use App\Filament\Concerns\SelectsRecordProperty;
|
|
use App\Filament\Resources\Channels\Pages\ChannelRules;
|
|
use App\Filament\Resources\Channels\Pages\CreateChannel;
|
|
use App\Filament\Resources\Channels\Pages\EditChannel;
|
|
use App\Filament\Resources\Channels\Pages\ListChannels;
|
|
use App\Filament\Resources\Channels\Schemas\ChannelForm;
|
|
use App\Filament\Resources\Channels\Tables\ChannelsTable;
|
|
use App\Models\Channel;
|
|
use BackedEnum;
|
|
use Filament\Resources\Resource;
|
|
use Filament\Schemas\Schema;
|
|
use Filament\Support\Icons\Heroicon;
|
|
use Filament\Tables\Table;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use UnitEnum;
|
|
|
|
class ChannelResource extends Resource
|
|
{
|
|
use FollowsAdminMode, SelectsRecordProperty;
|
|
|
|
protected static ?string $model = Channel::class;
|
|
|
|
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedArrowsRightLeft;
|
|
|
|
protected static string|UnitEnum|null $navigationGroup = 'Einrichtung';
|
|
|
|
protected static ?string $navigationLabel = 'Kalenderabgleich (iCal)';
|
|
|
|
protected static ?string $modelLabel = 'iCal-Verbindung';
|
|
|
|
protected static ?string $pluralModelLabel = 'Kalenderabgleich (iCal)';
|
|
|
|
protected static ?int $navigationSort = 4;
|
|
|
|
protected static ?string $recordTitleAttribute = 'name';
|
|
|
|
public static function form(Schema $schema): Schema
|
|
{
|
|
return ChannelForm::configure($schema, selectProperty: true);
|
|
}
|
|
|
|
public static function table(Table $table): Table
|
|
{
|
|
return ChannelsTable::configure($table);
|
|
}
|
|
|
|
public static function canDelete(Model $record): bool
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public static function getPages(): array
|
|
{
|
|
return [
|
|
'index' => ListChannels::route('/'),
|
|
'create' => CreateChannel::route('/create'),
|
|
'edit' => EditChannel::route('/{record}/edit'),
|
|
'rules' => ChannelRules::route('/{record}/rules'),
|
|
];
|
|
}
|
|
}
|