mein-sterntours/resources/views/pdf/components/booking_header.blade.php
Phase-1-Rollback-Agent e3dc1afd8e WIP: Sicherheitsnetz vor Phase-1-R\u00fcckbau
Enth\u00e4lt gemischt: Laravel-10-Upgrade + Phase 1 (Contacts-Modul, Duplicats-Commands,
Soft-Delete+Merge-Fields) + Phase 2 Code-Umstellungen (inquiry_id, $table='contacts'/'inquiries')
+ Offers-Modul (Migrationen, Models, offer_id in Booking, offer-Disk in filesystems.php).

Phase 2 + Offers werden im folgenden Commit nach dev/backups/phase2-offers-2026-04-17/
verschoben, damit der Workspace auf Phase-1-only (= Test-System-Stand) reduziert ist
und direkt auf Live deploybar wird.

Tarball-Backup zus\u00e4tzlich unter: ../backups-safety/workspace-pre-phase1-rollback-2026-04-17.tar.gz

Made-with: Cursor
2026-04-17 13:40:31 +00:00

68 lines
No EOL
2.4 KiB
PHP
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1>{{ $document->title }} | {{ _format_date($document->date) }} </h1>
<br>
<table cellspacing="0" cellpadding="0" class="booking-table">
<tr>
<th width="50%">
<h3> </h3>
</th>
<th width="50%">
<h3></h3>
</th>
</tr>
<tr>
<td>
@if($document->voucher === null || $document->voucher !== 'agency')
@if ($booking->customer->salutation_id != 3)
{{ $booking->customer->getSalutation() }}
@endif
{{ $booking->customer->fullName() }}<br>
{{ $booking->customer->street }}<br>
{{ $booking->customer->zip }} {{ $booking->customer->city }}<br>
@if($booking->customer->travel_country)
{{ $booking->customer->travel_country->name }}
@endif
<br><br>
Tel.: {{ $booking->customer->phone }}<br>
E-Mail-Adresse: {{ $booking->customer->email }}
@endif
</td>
<td>
<table border="0" class="no-border-table">
<tr>
<td>Kundennummer:</td>
<td><strong>{{ $booking->customer_id }}</strong></td>
</tr>
<tr>
<td>Buchungsnummer:</td>
<td><strong>{{ $booking->inquiry_id }}</strong></td>
</tr>
<tr>
<td>Buchungsdatum:</td>
<td><strong>{{ _format_date($booking->booking_date) }}</strong></td>
</tr>
<tr>
<td><br></td>
<td></td>
</tr>
<tr>
<td>Reisetermin:</td>
<td><strong>{{ _format_date($booking->start_date) }} - {{ _format_date($booking->end_date) }}</strong></td>
</tr>
<tr>
<td>Reisenummer:</td>
<td><strong>{{ $booking->travel_number }}</strong></td>
</tr>
<tr>
<td>Reiseprogramm:</td>
<td><strong>
@if ($booking->travel_agenda)
{{ $booking->travel_agenda->name }}
@else
{{ $booking->title }}
@endif</strong></td>
</tr>
</table>
</td>
</tr>
</table>