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,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use Filament\Support\Contracts\HasLabel;
|
||||
|
||||
/**
|
||||
* Whether the guest of a binding booking gets a short booking information (without contract) from us (docs/
|
||||
* Prozessarchitektur/V2.1/02 §4) – independent of the contract documentation, which stays with its own step.
|
||||
*/
|
||||
enum BookingNoticeMode: string implements HasLabel
|
||||
{
|
||||
case Off = 'off';
|
||||
case Automatic = 'automatic';
|
||||
case AutomaticUnlessPortalConfirmed = 'automatic_unless_portal_confirmed';
|
||||
case Manual = 'manual';
|
||||
|
||||
public function getLabel(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Off => 'keine eigene Buchungsinformation',
|
||||
self::Automatic => 'automatisch senden',
|
||||
self::AutomaticUnlessPortalConfirmed => 'automatisch senden – außer das Portal hat nachweislich bestätigt',
|
||||
self::Manual => 'von Hand senden',
|
||||
};
|
||||
}
|
||||
|
||||
public function isAutomatic(): bool
|
||||
{
|
||||
return in_array($this, [self::Automatic, self::AutomaticUnlessPortalConfirmed], true);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user