U-C: Kanalkonfigurator (Kanal › Ablauf): Modellwahl nach Kanalprofil (E2/O2), Schritte mit Schalter, Ausführung, Ausführenden und Fristen, Herkunft der Werte, Vorschau; ConfigureChannelProcess; Modell legt Einstellungen fest
Flache Prozessfelder im Kanalformular entfallen als Hauptansicht. Volle Suite 820/820. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d695566a7a
commit
c255783cec
13 files changed
+981
-50
No files matched your search
@@ -19,6 +19,7 @@ class EditChannel extends EditRecord
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
Action::make('process')->label('Ablauf')->url(fn (): string => ChannelResource::getUrl('process', ['record' => $this->record])),
|
||||
Action::make('rules')->label('Regeln & Exportfelder')->url(fn (): string => ChannelResource::getUrl('rules', ['record' => $this->record]))->visible(fn (): bool => $this->record->isPortal()),
|
||||
Action::make('analyze')->label('Kalender analysieren')->visible(fn (): bool => $this->record->isPortal())->action(function (AnalyzeChannelCalendar $analyze): void {
|
||||
try {
|
||||
@@ -38,10 +39,8 @@ protected function mutateFormDataBeforeFill(array $data): array
|
||||
|
||||
protected function handleRecordUpdate(Model $record, array $data): Model
|
||||
{
|
||||
// The own website's entry only keeps its settings; there is no connection to configure.
|
||||
// The own website's entry has no connection to configure; its process is set up under "Ablauf" (ChannelProcess).
|
||||
if ($record instanceof Channel && $record->isWebsite()) {
|
||||
$record->update(['process_overrides' => $data['process_overrides'] ?? []]);
|
||||
|
||||
return $record;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user