@php($money = fn (int $cents): string => \App\Support\Money::format($cents)) @php($owner = \App\Documents\OfferTerms::owner($booking)) @php($bank = \App\Documents\OfferTerms::bank($booking)) @php($external = ($kind ?? null) === \App\Enums\DocumentKind::ExternalRecord) @php($portal = $booking->processChannel()?->name ?? 'das Portal')
Angebot {{ $booking->reference }} · Version {{ $booking->offer_version }} · erstellt am {{ ($booking->offer_sent_at ?? now())->format('d.m.Y') }} · gültig bis {{ $booking->hold_expires_at?->format('d.m.Y, H:i') }} Uhr
{{ $booking->offerText('offer.contract_note') }}
@elseif ($external)Gebucht über {{ $portal }}@if ($booking->portal_reference) · Buchungsnummer {{ $booking->portal_reference }}@endif · unsere Nummer {{ $booking->reference }} · ausgestellt am {{ now()->format('d.m.Y') }}
Die Buchung ist über {{ $portal }} verbindlich zustande gekommen. Dieses Dokument hält die Buchung fest.
@elseBuchungsnummer {{ $booking->reference }} · ausgestellt am {{ ($booking->confirmed_at ?? now())->format('d.m.Y') }}@if ($booking->accepted_at) · Angebot angenommen am {{ $booking->accepted_at->format('d.m.Y, H:i') }} Uhr @endif
@endif{{ $booking->offerText('contract.intro') }}
Vermieter{{ ($owner['name'] ?? null) }}{{ ($owner['street'] ?? null) }} {{ ($owner['city'] ?? null) }} Tel. {{ ($owner['phone'] ?? null) }} · {{ ($owner['email'] ?? null) }} |
Mieter{{ $booking->guestName() }}@if ($booking->guest?->street){{ $booking->guest->street }} @endif @if ($booking->guest?->city){{ $booking->guest->postal_code }} {{ $booking->guest->city }} @endif {{ $booking->guest?->email }}@if ($booking->guest?->phone) · {{ $booking->guest->phone }}@endif |
| Objekt | {{ $booking->property->name }}, {{ $booking->property->address }}@if ($booking->property->size_sqm), {{ $booking->property->size_sqm }} m²@endif |
| Anreise | {{ $booking->arrival->translatedFormat('l, d.m.Y') }}@if ($booking->property->check_in_time) ab {{ substr($booking->property->check_in_time, 0, 5) }} Uhr @endif |
| Abreise | {{ $booking->departure->translatedFormat('l, d.m.Y') }}@if ($booking->property->check_out_time) bis {{ substr($booking->property->check_out_time, 0, 5) }} Uhr @endif |
| Übernachtungen | {{ $booking->nights() }} |
| Personen | {{ $booking->guests }} |
| {{ $line['label'] }} | {{ $money($line['amount']) }} |
| Gesamtpreis | {{ $money($booking->total) }} |
Die Kurtaxe ist nicht enthalten und wird vor Ort entrichtet.
Die Zahlung läuft über {{ $portal }}.
@elseif ($booking->requiresFullPayment())Der Gesamtbetrag von {{ $money($booking->total) }} ist bis zum {{ $booking->deposit_due_on->format('d.m.Y') }} zu überweisen.
@elseAnzahlung {{ $money($booking->deposit) }} bis zum {{ $booking->deposit_due_on?->format('d.m.Y') }}, Restbetrag {{ $money($booking->total - $booking->deposit) }} bis zum {{ $booking->balance_due_on->format('d.m.Y') }}.
@endif @if (($bank['iban'] ?? null) && ! ($external && ! $booking->wantsPaymentTasks()))Bankverbindung: {{ ($bank['account_holder'] ?? null) }} · IBAN {{ ($bank['iban'] ?? null) }}@if (($bank['bic'] ?? null)) · BIC {{ ($bank['bic'] ?? null) }}@endif · Verwendungszweck: {{ $booking->reference }}
@endif{{ $booking->offerText('contract.closing') }}
{{ ($owner['name'] ?? null) }}