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>
This commit is contained in:
1 parent
ef1635e59a
commit
8442d0a3d8
62 files changed
+1818
-69
No files matched your search
@@ -0,0 +1,34 @@
|
||||
<?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',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user