Dokumentenzusammenstellung und Vorlagensteuerung (Paket 3, Prozessarchitektur v0.10)
Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m59s
Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m59s
Eine Zusammenstellung vor jedem Dokument (Angebot, Bestaetigung, Buchungsunterlagen extern), Dokumentart je Vorgangsart, Freigaben fuer Vorlagen und Dokumentarten, Schutz vor unvereinbarten Bedingungen bei Portalbuchungen (E-004), kein doppelter Versand, Absicherung Hold 0 bis Paket 7, A6-Aufenthaltsbestaetigung vorbereitet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
64248c09fa
commit
cf11c8a474
45 files changed
+2385
-144
No files matched your search
@@ -62,7 +62,7 @@ public function test_next_step_follows_the_state_of_the_booking(): void
|
||||
$this->assertStringContainsString('Angebot liegt beim Gast', CaseActivities::situation($offer));
|
||||
|
||||
$confirmed = Booking::factory()->for($this->property)->create(['status' => BookingStatus::Confirmed, 'arrival' => '2026-12-01', 'departure' => '2026-12-05', 'deposit_due_on' => '2026-10-25', 'balance_due_on' => '2026-11-20', 'total' => 100000, 'deposit' => 30000]);
|
||||
$this->assertSame('resendConfirmation', CaseActivities::next($confirmed)?->action);
|
||||
$this->assertSame('sendDocuments', CaseActivities::next($confirmed)?->action);
|
||||
|
||||
$this->travelTo(CarbonImmutable::parse('2026-12-02 12:00'));
|
||||
$confirmed->update(['status' => BookingStatus::Paid, 'total' => 0, 'deposit' => 0]);
|
||||
@@ -77,7 +77,7 @@ public function test_portal_booking_is_recognised_without_payment_steps_and_asks
|
||||
|
||||
$this->assertSame(CaseType::A4, $booking->caseType());
|
||||
$this->assertStringContainsString('Gebucht über FeWo-direkt', CaseActivities::situation($booking));
|
||||
$this->assertSame('resendConfirmation', CaseActivities::next($booking)?->action);
|
||||
$this->assertSame('sendDocuments', CaseActivities::next($booking)?->action);
|
||||
$keys = array_map(fn ($activity) => $activity->key, CaseActivities::for($booking));
|
||||
$this->assertContains('payment', $keys);
|
||||
$this->assertNotContains('deposit', $keys);
|
||||
|
||||
Reference in new issue
Block a user