Files
fewo-stommer/resources/views/filament/booking-contract.blade.php
T
LarsandClaude Sonnet 5.5 5baf39441f
Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m38s
Buchungsakte: Vorgang, naechster Schritt, Vertrag, Mailverlauf, Storno mit Mail, Archiv
- Buchungsseite zeigt Art des Vorgangs, Verlaufsleiste und den naechsten Schritt in Klartext
- Vertragsabschnitt (Vorlage, Dokumente mit Pruefsumme, Zustellung) und Vertragstext-Ansicht
- Reiter Aufgaben und Mailverlauf (jede Mail zur Buchung wird protokolliert)
- Stornieren in der Verwaltung informiert Gast und Vermieter und legt eine Aufgabe fuer Stornokosten an
- Stornierte/abgelehnte/abgelaufene Buchungen aus der Hauptliste, Filter Archiv anzeigen

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 16:16:42 +01:00

23 lines
1.1 KiB
PHP

@php($document = \App\Documents\OfferTerms::document($booking))
<div class="space-y-4 text-sm">
<p class="text-gray-500">
Der Vertragstext, wie er beim Angebot festgehalten wurde (Stand {{ \Carbon\CarbonImmutable::parse($booking->offer_terms['captured_at'])->format('d.m.Y, H:i') }} Uhr).
@if ($booking->offer_hash) Prüfsumme des Angebots: {{ substr($booking->offer_hash, 0, 16) }}… @endif
</p>
@if ($document)
<div class="prose max-w-none">{!! $document['body'] !!}</div>
@if ($document['annex'])
<hr>
<h3 class="font-semibold">{{ $document['annex_title'] ?: 'Anlage' }}</h3>
<div class="prose max-w-none">{!! $document['annex'] !!}</div>
@endif
@else
<div class="prose max-w-none">{{ $booking->offerHtml('contract.terms') }}</div>
@if ($booking->offerText('stay.cancellation'))
<h3 class="font-semibold">Rücktritt / Stornierung</h3>
<div class="prose max-w-none">{{ $booking->offerHtml('stay.cancellation') }}</div>
@endif
@endif
</div>