mein-sterntours/resources/views/pdf/components/booking_participant.blade.php
Kevin Adametz 881fc84207 08 2024
2024-08-05 11:58:09 +02:00

42 lines
No EOL
1.4 KiB
PHP

<table cellspacing="0" cellpadding="0" class="booking-table">
<tr>
<th width="50%">
Reiseteilnehmer
</th>
<th width="50%">
Geburtsdatum
</th>
</tr>
@if ($booking->participant_firstname)
<tr>
<td>
@if ($booking->participant_salutation)
{{ $booking->participant_salutation->name }}
@endif
{{ $booking->participant_firstname }} {{ $booking->participant_name }}
</td>
<td>
@if($document->voucher === null || $document->voucher !== 'agency')
{{ _format_date($booking->participant_birthdate) }}
@endif
</td>
</tr>
@endif
@foreach ($booking->participants as $participant)
@if(!$participant->participant_storno)
<tr>
<td>
@if ($participant->salutation)
{{ $participant->salutation->name }}
@endif
{{ $participant->participant_firstname }} {{ $participant->participant_name }}
</td>
<td>
@if($document->voucher === null || $document->voucher !== 'agency')
{{ _format_date($participant->participant_birthdate) }}
@endif
</td>
</tr>
@endif
@endforeach
</table>