08 2024
This commit is contained in:
parent
c1c613a4b9
commit
881fc84207
384 changed files with 50679 additions and 990 deletions
|
|
@ -0,0 +1,67 @@
|
|||
@foreach ($booking->booking_draft_items as $booking_draft_item)
|
||||
@if ($booking_draft_item->in_pdf)
|
||||
@if (in_array($booking_draft_item->draft_type_id, ['26', '30', '31', '32', '33', '34', '35', '36', '37', '41', '42']))
|
||||
<tr>
|
||||
<td class="text-center">{{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td class="text-center">{{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td>{{ $booking_draft_item->service }}</td>
|
||||
<td class="text-right">
|
||||
@if (in_array($booking_draft_item->draft_type_id, ['30', '36', '37']))
|
||||
@if ($booking_draft_item->adult > 0)
|
||||
{{ $booking_draft_item->adult == 1 ? $booking_draft_item->adult . ' Erwachsener' : $booking_draft_item->adult . ' Erwachsene' }}
|
||||
@endif
|
||||
@if ($booking_draft_item->children > 0)
|
||||
<br>
|
||||
{{ $booking_draft_item->children == 1 ? $booking_draft_item->children . ' Kind' : $booking_draft_item->children . ' Kinder' }}
|
||||
@endif
|
||||
@else
|
||||
@if ($booking_draft_item->adult > 0)
|
||||
{{ $booking_draft_item->adult == 1 ? $booking_draft_item->adult . ' Person' : $booking_draft_item->adult . ' Personen' }}
|
||||
@endif
|
||||
@endif
|
||||
@if ($booking_draft_item->adult > 0 || $booking_draft_item->children > 0)
|
||||
<br>
|
||||
@if ($booking_draft_item->draft_type_id == 36 || $booking_draft_item->draft_type_id == 37)
|
||||
<strong>Gesamt {{ $booking_draft_item->days_duration }}
|
||||
{{ $booking_draft_item->days_duration == 1 ? 'Tag' : 'Tage' }} </strong>
|
||||
@else
|
||||
<strong>Gesamt:</strong>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-center"><strong>storniert</strong></td>
|
||||
<td class="text-right">
|
||||
@if ($booking_draft_item->adult > 0)
|
||||
{{ $booking_draft_item->price_adult }} €
|
||||
@endif
|
||||
@if ($booking_draft_item->children > 0)
|
||||
<br>
|
||||
{{ $booking_draft_item->price_children }} €
|
||||
@endif
|
||||
@if ($booking_draft_item->adult > 0 || $booking_draft_item->children > 0)
|
||||
<br>
|
||||
<strong> {{ _number_format($booking_draft_item->getItemPrice('total')) }} €</strong>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@elseif($booking_draft_item->draft_type_id == 27)
|
||||
<tr>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td>{{ $booking_draft_item->service }}</td>
|
||||
<td class="text-center"> {{ $booking->pax }}</td>
|
||||
<td class="text-center"><strong>storniert</strong></td>
|
||||
<td class="text-right"></td>
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td>{{ $booking_draft_item->service }}</td>
|
||||
<td class="text-center"> {{ $booking->pax }}</td>
|
||||
<td class="text-center"><strong>storniert</strong></td>
|
||||
<td class="text-right"></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
Loading…
Add table
Add a link
Reference in a new issue