Files
LarsandClaude Sonnet 5.5 8442d0a3d8 V2.1: Kanalfähigkeiten, Ausführungsvarianten, Dokumentenentkopplung, Portalbestätigung
Modellwahl über Kanalfähigkeiten mit erklärten Einschränkungen, Abgleich alter Werte,
Ausführungsvarianten je Modul, getrennte Vertrags-/Buchungsinformation, Warten auf
die Portalbestätigung mit Eskalation und Wiederaufnahme (Fälle C und D getestet).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 07:54:11 +01:00

35 lines
1.2 KiB
PHP

<?php
namespace App\Enums;
use Filament\Support\Contracts\HasLabel;
/**
* The ways a task of the process may be fulfilled (docs/Prozessarchitektur/V2.1/02 §2). What is business-mandatory stays
* mandatory; the question is not „can I switch it off?“ but „which admissible ways do I have?“. A module names its ways,
* the process model narrows them for its archetype.
*/
enum Execution: string implements HasLabel
{
case Automatic = 'automatic';
case Approval = 'approval';
case Manual = 'manual';
case Portal = 'portal';
case ServiceProvider = 'service_provider';
case External = 'external';
case NotRequired = 'not_required';
public function getLabel(): string
{
return match ($this) {
self::Automatic => 'automatisch durch FewoPortal',
self::Approval => 'vorbereitet, nach Ihrer Freigabe',
self::Manual => 'von Ihnen von Hand',
self::Portal => 'durch das Portal',
self::ServiceProvider => 'durch einen Dienstleister',
self::External => 'bereits extern erledigt (mit Nachweis)',
self::NotRequired => 'nicht erforderlich',
};
}
}