Vorgangskern und geführte Vorgangsbearbeitung (Pakete 1 und 2, Prozessarchitektur v0.10)
- Buchung ist der einheitliche Vorgang: Eingangsart, Vorgangsart A1–A6, eingefrorenes Abwicklungsprofil, gespeicherter Verlauf (booking_events); Gast, Personen und Beträge dürfen unbekannt sein, Platzhalter-Gäste werden migriert und nicht mehr angelegt - Einstellungen in Ebenen: Vermieterstandard (So arbeite ich), Abweichung der Wohnung (Experte), Abweichung je Portal und Eingangsart; ersetzt booking_model als Steuergröße - Ein Weg für extern verbindliche Buchungen (TakeOverExternalBooking) statt RecordPortalBooking und "Akte anlegen"; Portalpreis als belegte Gesamtposition - Startseite "Zu erledigen", neue Vorgangsseite mit nächstem Schritt, Automatik-Schalter, "Beenden" mit Storno statt Statusumschaltung; Status von Hand nur im Expertenmodus - Migration übernimmt bisheriges Verhalten unverändert (abweichende Wohnungswerte bleiben als Abweichung), Bericht: php artisan process:settings-report Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9005c12164
commit
3a728c3255
78 files changed
+4296
-1180
No files matched your search
@@ -95,8 +95,7 @@ public function test_portal_reservation_uses_the_reservation_template_and_a_conf
|
||||
$reservation = $this->template('FeWo-direkt', '<p>PORTAL-VERTRAG {{ mieter }}</p>', null, null);
|
||||
$portal = Channel::factory()->for($this->property)->create([
|
||||
'booking_model' => 'portal_booking',
|
||||
'contract_template_id' => $inquiry->id,
|
||||
'contract_template_reservation_id' => $reservation->id,
|
||||
'process_overrides' => ['inquiry' => ['contract_template_id' => $inquiry->id], 'booking' => ['contract_template_id' => $reservation->id, 'payments' => 'portal']],
|
||||
]);
|
||||
$booking = $this->booking(['import_channel_id' => $portal->id, 'source' => 'portal']);
|
||||
|
||||
@@ -109,7 +108,7 @@ public function test_portal_reservation_uses_the_reservation_template_and_a_conf
|
||||
Storage::disk('local')->assertExists($booking->contract_path);
|
||||
Mail::assertSent(BookingConfirmed::class, fn (BookingConfirmed $mail): bool => ! str_contains($mail->render(), 'überweisen'));
|
||||
|
||||
$inquiryPortal = Channel::factory()->for($this->property)->create(['booking_model' => 'inquiry', 'contract_template_id' => $inquiry->id, 'contract_template_reservation_id' => $reservation->id]);
|
||||
$inquiryPortal = Channel::factory()->for($this->property)->create(['booking_model' => 'inquiry', 'process_overrides' => ['inquiry' => ['contract_template_id' => $inquiry->id], 'booking' => ['contract_template_id' => $reservation->id]]]);
|
||||
$this->assertSame($inquiry->id, OfferTerms::templateFor($this->booking(['import_channel_id' => $inquiryPortal->id, 'source' => 'portal', 'arrival' => '2026-12-01', 'departure' => '2026-12-03']))->id);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user