Files
fewo-stommer/config/process.php
T
LarsandClaude Sonnet 5.5 221ce8ca81 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>
2026-11-05 12:40:22 +01:00

96 lines
4.2 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],
'inquiry.request' => [1 => Models\InquiryRequestModel::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],
'inquiry.information' => [1 => Templates\InformationAnswer::class],
'inquiry.binding_offer' => [1 => Templates\OfferAnswer::class],
'guest_comm.own' => [1 => Templates\OwnGuestCommunication::class],
'guest_comm.portal' => [1 => Templates\PortalGuestCommunication::class],
],
];