Schablonenkomposition: Basisprozess external.booking mit Platz für Finanz- und Dokumentenschablonen

Vier Schablonen (Eigenes/Portal-Inkasso, Eigene/Externe Vertragsdokumentation) in
app/Process/Templates, TemplateComposer prüft Ergebnisse, Verantwortlichkeiten, Ausschlüsse
und harte Modulabhängigkeiten. Der Plan friert die Schablonenversionen ein. A3–A5 bleiben
als Voreinstellungen; die vierte Kombination (eigenes Inkasso + externe Unterlagen) ist
darstellbar. Konfigurator-Logik und ConfigureChannelProcess kennen die Schablonenwahl.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-05 10:48:49 +01:00
1 parent 381720763c
commit e95ba4f986
24 files changed
+1666 -37

No files matched your search

+14
View File
@@ -8,6 +8,7 @@
use App\Process\Modules\Offer;
use App\Process\Modules\Settlement;
use App\Process\Modules\Stay;
use App\Process\Templates;
/*
|--------------------------------------------------------------------------
@@ -72,5 +73,18 @@
'a4.portal_booking' => [1 => Models\A4PortalBookingModelV1::class, 2 => Models\A4PortalBookingModel::class],
'a5.portal_booking' => [1 => Models\A5PortalBookingModelV1::class, 2 => Models\A5PortalBookingModel::class],
'a6.internal' => [1 => Models\A6InternalModel::class],
// Base process with slots for function templates; A3–A5 above are its presets (compatibility).
'external.booking' => [1 => Models\ExternalBookingModel::class],
],
/*
| Function templates (docs/Prozessarchitektur/SCHABLONEN.md): versioned combinations of the modules above for the slots
| of a model. A plan freezes the template versions it was built with.
*/
'templates' => [
'collection.own' => [1 => Templates\OwnCollection::class],
'collection.portal' => [1 => Templates\PortalCollection::class],
'contract_docs.own' => [1 => Templates\OwnContractDocumentation::class],
'contract_docs.external' => [1 => Templates\ExternalContractDocuments::class],
],
];