Dokumentenzusammenstellung und Vorlagensteuerung (Paket 3, Prozessarchitektur v0.10)
Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m59s
Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m59s
Eine Zusammenstellung vor jedem Dokument (Angebot, Bestaetigung, Buchungsunterlagen extern), Dokumentart je Vorgangsart, Freigaben fuer Vorlagen und Dokumentarten, Schutz vor unvereinbarten Bedingungen bei Portalbuchungen (E-004), kein doppelter Versand, Absicherung Hold 0 bis Paket 7, A6-Aufenthaltsbestaetigung vorbereitet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
64248c09fa
commit
cf11c8a474
45 files changed
+2385
-144
No files matched your search
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
namespace App\Documents;
|
||||
|
||||
/**
|
||||
* One finding of a document composition. A blocker stops the document (data missing or contradictory); a point to
|
||||
* confirm stops the automatic run and needs the landlord's explicit confirmation before sending by hand; information
|
||||
* only explains.
|
||||
*/
|
||||
final class DocumentFinding
|
||||
{
|
||||
public const BLOCKER = 'blocker';
|
||||
|
||||
public const CONFIRM = 'confirm';
|
||||
|
||||
public const INFO = 'info';
|
||||
|
||||
/** Code of the finding "the settings reserve nothing for requests" (Hold = 0, package 7). */
|
||||
public const HOLD_ZERO = 'hold_zero';
|
||||
|
||||
public function __construct(
|
||||
public readonly string $severity,
|
||||
public readonly string $message,
|
||||
public readonly ?string $code = null,
|
||||
) {}
|
||||
|
||||
public static function blocker(string $message): self
|
||||
{
|
||||
return new self(self::BLOCKER, $message);
|
||||
}
|
||||
|
||||
public static function confirm(string $message, ?string $code = null): self
|
||||
{
|
||||
return new self(self::CONFIRM, $message, $code);
|
||||
}
|
||||
|
||||
public static function info(string $message): self
|
||||
{
|
||||
return new self(self::INFO, $message);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user