Anfrage-Basisprozess inquiry.request mit Schablonen für Antwort und Gastkommunikation
Antwortart (Auskunft/Angebot) und Reservierung sind entkoppelt (neue Einstellung inquiry_answer; pre_reservation bleibt die Reservierungsstrategie). Anlass-bezogene Absender für Anreise-Information und Bewertungsbitte; Schablonen liefern Standardwerte unterhalb aller einstellbaren Ebenen. A1/A2 bleiben Voreinstellungen und Altfassungen. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e40f8639b3
commit
221ce8ca81
51 files changed
+773
-73
No files matched your search
@@ -72,6 +72,11 @@ public function problems(ProcessModel $model, array $chosen, string $variant = '
|
||||
$classes = [];
|
||||
foreach ($resolved as $area => $reference) {
|
||||
$class = $this->catalogue->templateClass($reference);
|
||||
if ($class !== null && isset($model::templateRestrictions()[$class::key()])) {
|
||||
$problems[] = '„'.$class::label().'“ passt nicht zu „'.$model::label().'“: '.$model::templateRestrictions()[$class::key()];
|
||||
|
||||
continue;
|
||||
}
|
||||
if ($class === null) {
|
||||
$problems[] = 'Die Schablone „'.$reference.'“ gibt es nicht.';
|
||||
|
||||
|
||||
Reference in new issue
Block a user