77 lines
3.1 KiB
PHP
77 lines
3.1 KiB
PHP
<?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;
|
||
|
||
/*
|
||
|--------------------------------------------------------------------------
|
||
| 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],
|
||
],
|
||
];
|