Files
fewo-stommer/config/process.php
T
LarsandClaude Sonnet 5.5 e95ba4f986 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>
2026-11-05 10:48:49 +01:00

91 lines
3.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
use App\Process\Models;
use App\Process\Modules\Guest;
use App\Process\Modules\Intake;
use App\Process\Modules\Loyalty;
use App\Process\Modules\Money;
use App\Process\Modules\Offer;
use App\Process\Modules\Settlement;
use App\Process\Modules\Stay;
use App\Process\Templates;
/*
|--------------------------------------------------------------------------
| Process catalogue (docs/Prozessarchitektur/Architektur/02)
|--------------------------------------------------------------------------
|
| The registered business modules and process models – a fixed catalogue in code, like the channel connectors in
| config/channels.php. Models are listed per version: a version stays registered as long as any case (open or
| finished) carries it in its frozen plan (requirement T3); `php artisan process:check` verifies that.
|
*/
return [
'modules' => [
Intake\IntakeRecord::class,
Intake\GuestDetails::class,
Intake\GuestDataRequest::class,
Intake\Hold::class,
Intake\AvailabilityCheck::class,
Intake\PortalBinding::class,
Intake\ChannelBlocks::class,
Intake\PortalConfirmationStep::class,
Offer\Information::class,
Offer\BindingOffer::class,
Offer\OfferAcceptance::class,
Settlement\BookingDocuments::class,
Settlement\BookingNoticeStep::class,
Settlement\StayConfirmation::class,
Settlement\CaseTasks::class,
Settlement\ChangeProposal::class,
Settlement\StayClosure::class,
Settlement\CommercialSettlement::class,
Money\PaymentMonitoring::class,
Money\PortalPayout::class,
Money\InternalPayment::class,
Stay\ArrivalDetails::class,
Stay\ArrivalInformation::class,
Stay\Stay::class,
Stay\ReviewRequest::class,
// Architecture proof, tester only (decision E7).
Guest\AddressCheck::class,
Loyalty\LoyaltyStatusCheck::class,
Loyalty\LoyaltyDiscount::class,
],
/*
| Module versions an older plan may name although the module has moved on: the current class serves them because the
| change was declared compatible (rule R2/R4 – e.g. a correction that rightly applies to running cases).
*/
'compatible' => [
'offer.binding' => [1],
// V2.1: contract_delivery / portal confirmation were added; with the defaults the step behaves as in version 1.
'documents.send' => [1],
],
'models' => [
'a1.offer' => [1 => Models\A1OfferModel::class],
'a1.information' => [1 => Models\A1InformationModel::class],
'a2.offer' => [1 => Models\A2OfferModel::class],
'a2.information' => [1 => Models\A2InformationModel::class],
'a3.portal_booking' => [1 => Models\A3PortalBookingModelV1::class, 2 => Models\A3PortalBookingModel::class],
'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],
],
];