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>
46 lines
2.2 KiB
PHP
46 lines
2.2 KiB
PHP
{{-- Working draft for package 6 (A6, private stays): a confirmation of the stay, explicitly not a rental contract. --}}
|
|
@php($owner = \App\Documents\OfferTerms::owner($booking))
|
|
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Aufenthaltsbestätigung {{ $booking->reference }}</title>
|
|
<style>
|
|
@page { margin: 22mm 20mm 20mm 20mm; }
|
|
body { font-family: 'DejaVu Sans', sans-serif; font-size: 9.5pt; color: #1f2933; line-height: 1.45; }
|
|
h1 { font-size: 17pt; margin: 0 0 2mm; color: #1d3a4d; }
|
|
.muted { color: #5f6b73; }
|
|
.facts td { padding: 0.8mm 0; }
|
|
.facts td.label { width: 38%; color: #5f6b73; }
|
|
.footer { position: fixed; bottom: -12mm; left: 0; right: 0; font-size: 7.5pt; color: #8a959c; text-align: center; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="footer">{{ $owner['name'] ?? '' }} · {{ $owner['street'] ?? '' }} · {{ $owner['city'] ?? '' }}</div>
|
|
|
|
@if ($logo ?? null)
|
|
<img src="{{ $logo }}" alt="" style="max-height: 18mm; max-width: 60mm; margin-bottom: 4mm;">
|
|
@endif
|
|
|
|
<h1>Aufenthaltsbestätigung</h1>
|
|
<p class="muted">Nummer {{ $booking->reference }} · ausgestellt am {{ now()->format('d.m.Y') }}</p>
|
|
|
|
<p>Hiermit bestätigen wir den folgenden Aufenthalt. Es handelt sich um eine private Überlassung, nicht um einen Mietvertrag.</p>
|
|
|
|
<table class="facts">
|
|
<tr><td class="label">Gast</td><td>{{ $booking->guestName() }}</td></tr>
|
|
<tr><td class="label">Wohnung</td><td>{{ $booking->property->name }}, {{ $booking->property->address }}</td></tr>
|
|
<tr><td class="label">Anreise</td><td>{{ $booking->arrival->translatedFormat('l, d.m.Y') }}</td></tr>
|
|
<tr><td class="label">Abreise</td><td>{{ $booking->departure->translatedFormat('l, d.m.Y') }}</td></tr>
|
|
@if ($booking->guests)
|
|
<tr><td class="label">Personen</td><td>{{ $booking->guests }}</td></tr>
|
|
@endif
|
|
@if ($booking->total)
|
|
<tr><td class="label">Vereinbarter Betrag</td><td>{{ \App\Support\Money::format($booking->total) }}</td></tr>
|
|
@endif
|
|
</table>
|
|
|
|
<p style="margin-top: 8mm">{{ $owner['name'] ?? '' }}</p>
|
|
</body>
|
|
</html>
|