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
@@ -100,7 +100,7 @@ public function test_every_combination_is_composed_into_a_valid_versioned_plan(s
|
||||
$plan = ProcessPlan::of($booking);
|
||||
|
||||
$this->assertSame(['external.booking', 1], [$plan->model, $plan->modelVersion]);
|
||||
$this->assertEquals(['collection' => $collection.'@1', 'contract_documents' => $documents.'@1'], $plan->templates);
|
||||
$this->assertEquals(['collection' => $collection.'@1', 'contract_documents' => $documents.'@1', 'guest_communication' => 'guest_comm.own@1'], $plan->templates);
|
||||
$this->assertSame($payout, array_key_exists('portal.payout', $plan->modules));
|
||||
$this->assertArrayHasKey('payments.monitor', $plan->modules);
|
||||
$this->assertArrayHasKey('documents.send', $plan->modules);
|
||||
@@ -263,7 +263,7 @@ public function test_the_base_process_cannot_be_saved_with_templates_the_portal_
|
||||
$this->assertNull(($channel->fresh()->process_overrides ?? [])['booking'] ?? null, 'nothing saved');
|
||||
|
||||
$configure->handle($channel, IntakeKind::Booking, [...$draft, 'templates' => ['collection' => 'collection.portal', 'contract_documents' => 'contract_docs.own']]);
|
||||
$this->assertEquals(['collection' => 'collection.portal', 'contract_documents' => 'contract_docs.own'], $channel->fresh()->process_overrides['booking']['templates']);
|
||||
$this->assertEquals(['collection' => 'collection.portal', 'contract_documents' => 'contract_docs.own', 'guest_communication' => 'guest_comm.own'], $channel->fresh()->process_overrides['booking']['templates']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user