This commit is contained in:
Kevin Adametz 2024-08-05 11:58:09 +02:00
parent c1c613a4b9
commit 881fc84207
384 changed files with 50679 additions and 990 deletions

View file

@ -0,0 +1,32 @@
<table border="0" cellspacing="0" cellpadding="0" class="booking-table">
<tr>
<th width="10%" class="text-center">Von</th>
<th width="10%" class="text-center">Bis</th>
<th width="55%">Leistungen</th>
<th width="10%" class="text-center">Teilnehmer</th>
<th width="15%" class="text-right">Preis in &euro;</th>
</tr>
@if ($booking->new_drafts)
@include('pdf.components.booking_drafs')
@else
@include('pdf.components.booking_drafs_old')
@endif
<tr>
<td colspan="4" class="text-right"><strong>Gesamtpreis: </strong></td>
<td class="text-right"><strong> {{ $booking->price }} &euro;</strong></td>
</tr>
@foreach ($booking->booking_service_items as $booking_service_item)
@if ($booking_service_item->travel_company && $booking_service_item->travel_company->name == 'ELVIA')
<tr>
<td colspan="5">&nbsp;</td>
</tr>
<tr>
<td>Reiseversicherung</td>
<td colspan="4"> {{ $booking_service_item->name }}</td>
<td class="text-right"><strong> {{ $booking_service_item->service_price }} &euro;</strong></td>
</tr>
@endif
@endforeach
</table>

View file

@ -0,0 +1,29 @@
<table border="0" cellspacing="0" cellpadding="0" class="booking-table">
<tr>
<th width="10%" class="text-center">Von</th>
<th width="10%" class="text-center">Bis</th>
<th width="45%">Leistungen</th>
<th width="10%" class="text-center">Teilnehmer</th>
<th width="10%" class="text-center">Status</th>
<th width="15%" class="text-right">Preis in &euro;</th>
</tr>
@if ($booking->new_drafts)
@include('pdf.components.booking_drafs_storno')
@else
@include('pdf.components.booking_drafs_old_storno')
@endif
<tr>
<td colspan="4" class="text-left"><strong>
Reisebetrag am {{ _format_date($document->storno_date) }}, {{ $booking->pax }} Teilnehmer
</strong></td>
<td class="text-center"></td>
<td class="text-right">{{ $booking->price }} &euro;</strong></td>
</tr>
<tr>
<td colspan="4" class="text-left"><strong>Storno-Reisebetrag:</strong></td>
<td class="text-center"><i>{{ _number_format($document->storno_level) }} %</i></td>
<td class="text-right"><strong> {{ $booking->price_canceled }} &euro;</strong></td>
</tr>
</table>

View file

@ -0,0 +1,17 @@
<table border="0" cellspacing="0" cellpadding="0" class="booking-table">
<tr>
<th width="10%" class="text-center">Von</th>
<th width="10%" class="text-center">Bis</th>
<th width="55%">Leistungen</th>
<th width="10%" class="text-center">Teilnehmer</th>
<th width="15%" class="text-right">Preis in &euro;</th>
</tr>
@if ($booking->new_drafts)
@include('pdf.components.booking_drafs_voucher')
@else
@include('pdf.components.booking_drafs_old_voucher')
@endif
</table>

View file

@ -0,0 +1,65 @@
@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-right">
@if ($booking_draft_item->adult > 0)
{{ $booking_draft_item->price_adult }} &euro;
@endif
@if ($booking_draft_item->children > 0)
<br>
{{ $booking_draft_item->price_children }} &euro;
@endif
@if ($booking_draft_item->adult > 0 || $booking_draft_item->children > 0)
<br>
<strong> {{ _number_format($booking_draft_item->getItemPrice('total')) }} &euro;</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-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-right"></td>
</tr>
@endif
@endif
@endforeach

View file

@ -0,0 +1,39 @@
@foreach($booking->arrangements as $arrangement)
@if($arrangement->in_pdf && $arrangement->arrangement_type)
@php ($data = $arrangement->getDataAsMap())
@if($arrangement->arrangement_type->name == 'Preisinformation')
<tr>
<td align="center"></td>
<td align="center"></td>
<td> {{ $data['Name'] }}</td>
<td align="center"> {{ $data['Teilnehmer'] }}</td>
<td align="right"> {{ _number_format($data['Preis']) }} &euro;</td>
</tr>
<tr>
<td align="center"></td>
<td align="center"></td>
<td>Für {{ $data['Teilnehmer'] }} {{ $data['Teilnehmer'] > 1 ? 'Personen' : 'Person' }}</td>
<td align="center"></td>
<td align="right"><strong> {{ _number_format($data['Preis'] * (float)$data['Teilnehmer']) }} &euro;</strong></td>
</tr>
@elseif($arrangement->arrangement_type->name == 'Text')
<tr>
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
<td align="center"> {{ _format_date($arrangement->end) }}</td>
<td> {{ $arrangement->getDataS() }}</td>
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' }}</td>
<td align="right"></td>
</tr>
@else
<tr>
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
<td align="center"> {{ _format_date($arrangement->end) }}</td>
<td> {{ $arrangement->getDataS() }}</td>
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $booking->pax }}</td>
<td align="right"></td>
</tr>
@endif
@endif
@endforeach

View file

@ -0,0 +1,44 @@
@foreach($booking->arrangements as $arrangement)
@if($arrangement->in_pdf && $arrangement->arrangement_type)
@php ($data = $arrangement->getDataAsMap())
@if($arrangement->arrangement_type->name == 'Preisinformation')
<tr>
<td align="center"></td>
<td align="center"></td>
<td> {{ $data['Name'] }}</td>
<td align="center"></td>
<td align="center"> {{ $data['Teilnehmer'] }}</td>
<td align="center"><strong>storniert</strong></td>
<td align="right"> {{ _number_format($data['Preis']) }} &euro;</td>
</tr>
<tr>
<td align="center"></td>
<td align="center"></td>
<td>Für {{ $data['Teilnehmer'] }} {{ $data['Teilnehmer'] > 1 ? 'Personen' : 'Person' }}</td>
<td align="center"></td>
<td align="center"><strong>storniert</strong></td>
<td align="right"><strong> {{ _number_format($data['Preis'] * (float)$data['Teilnehmer']) }} &euro;</strong></td>
</tr>
@elseif($arrangement->arrangement_type->name == 'Text')
<tr>
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
<td align="center"> {{ _format_date($arrangement->end) }}</td>
<td> {{ $arrangement->getDataS() }}</td>
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' }}</td>
<td align="center"><strong>storniert</strong></td>
<td align="right"></td>
</tr>
@else
<tr>
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
<td align="center"> {{ _format_date($arrangement->end) }}</td>
<td> {{ $arrangement->getDataS() }}</td>
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $booking->pax }}</td>
<td align="center"><strong>storniert</strong></td>
<td align="right"></td>
</tr>
@endif
@endif
@endforeach

View file

@ -0,0 +1,23 @@
@foreach($booking->arrangements as $arrangement)
@if($arrangement->in_pdf && $arrangement->arrangement_type && $arrangement->arrangement_type->name != 'Preisinformation')
@php ($data = $arrangement->getDataAsMap())
@if($arrangement->arrangement_type->name == 'Text')
<tr>
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
<td align="center"> {{ _format_date($arrangement->end) }}</td>
<td> {{ $arrangement->getDataS() }}</td>
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' }}</td>
<td align="right"></td>
</tr>
@else
<tr>
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
<td align="center"> {{ _format_date($arrangement->end) }}</td>
<td> {{ $arrangement->getDataS() }}</td>
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $booking->pax }}</td>
<td align="right"></td>
</tr>
@endif
@endif
@endforeach

View file

@ -0,0 +1,174 @@
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="booking-table">
<tr>
<th width="10%">Art</th>
<th width="35%">Leistungen</th>
<th width="10%" align="center">Von</th>
<th width="10%" align="center">Bis</th>
<th width="15%" align="center">Teilnehmer</th>
<th width="15%" align="center">Preis in EUR</th>
</tr>
@if($booking->new_drafts)
foreach($booking->booking_draft_items as $booking_draft_item)
@if($booking_draft_item->in_pdf)
@if(in_array($booking_draft_item->draft_type_id, array('26', '30', '31', '32', '33', '34', '35', '36', '37', '41', '42')))
{{-- /*
//Rundreise
@if($form["draft_type_id"]->getValue() == 24)
@endif
//Preisinfo
@if($form["draft_type_id"]->getValue() == 26)
@endif
//Preis info Hotel
@if($form["draft_type_id"]->getValue() == 30)
@endif
//Preis info Leistungen
@if($form["draft_type_id"]->getValue() == 31)
pro Person:
$set_price_info_field = ['data-pi_field' => 'service'];
@endif
//Preis info Kategorie
@if($form["draft_type_id"]->getValue() == 32)
@endif */
--}}
<tr>
<td width="10%" ><strong>{{ $booking_draft_item->draft_type->name }}</strong></td>
<td width="35%">{{ $booking_draft_item->service }}</td>
<td width="10%" align="center">{{ _format_date($booking_draft_item->start_date) }}</td>
<td width="10%" align="center">{{ _format_date($booking_draft_item->end_date) }}</td>
<td width="15%" align="right" >
@if(in_array($booking_draft_item->draft_type_id, array('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 width="15%" align="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> $booking_draft_item->getItemPrice('total') € </strong>
@endif
</td>
</tr>
@elseif($booking_draft_item->draft_type_id == 27)
<tr>
<td width="10%" ></td>
<td width="35%"> {{ $booking_draft_item->service }}</td>
<td width="10%" align="center"> {{ _format_date($booking_draft_item->start_date) }}</td>
<td width="10%" align="center"> {{ _format_date($booking_draft_item->end_date) }}</td>
<td width="15%" align="center"> {{ $booking->getPax()}}</td>
<td width="15%" align="right"></td>
</tr>
@else
<tr>
<td width="10%" ><strong> {{ $booking_draft_item->getDraftType()->getName() }}</td>
<td width="35%"> {{ $booking_draft_item->service }}</td>
<td width="10%" align="center"> {{ _format_date($booking_draft_item->start_date) }}</td>
<td width="10%" align="center"> {{ _format_date($booking_draft_item->end_date) }}</td>
<td width="15%" align="center"> {{ $booking->getPax()}}</td>
<td width="15%" align="right"></td>
</tr>
@endif
@endif
@endforeach
@else
@foreach($booking->getArrangement() as $arrangement)
@if($arrangement->getInPdf())
$data = $arrangement->getDataAsMap() }}
}}
@if($arrangement->getArrangementType()->getName() == 'Preisinformation')
<tr>
<td width="10%"><strong>Preis</strong></td>
<td width="35%"> {{ $data['Name'] }}</td>
<td width="10%" align="center"></td>
<td width="10%" align="center"></td>
<td width="15%" align="center"> {{ $data['Teilnehmer'] }}</td>
<td width="15%" align="right"> {{ $data['Preis'], '€') }}</td>
</tr>
<tr>
<td width="10%"><strong>Preis</strong></td>
<td width="35%">Für {{ $data['Teilnehmer'] }} {{ $data['Teilnehmer'] > 1 ? 'Personen' : 'Person' }}</td>
<td width="10%" align="center"></td>
<td width="10%" align="center"></td>
<td width="15%" align="center"></td>
<td width="15%" align="right"><strong> {{ $data['Preis'] * (float)$data['Teilnehmer'], '€') }}</strong></td>
</tr>
@elseif($arrangement->getArrangementType()->getName() == 'Text')
<tr>
<td width="10%"></td>
<td width="35%"> {{ $arrangement->getDataS() }}</td>
<td width="10%" align="center"> {{ _format_date($arrangement->getBegin()) }}</td>
<td width="10%" align="center"> {{ _format_date($arrangement->getEnd()) }}</td>
<td width="15%" align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' }}</td>
<td width="15%" align="right"></td>
</tr>
@else
<tr>
<td width="10%"> {{ $arrangement->getArrangementType()->getName() }}</td>
<td width="35%"> {{ $arrangement->getDataS() }}</td>
<td width="10%" align="center"> {{ _format_date($arrangement->getBegin()) }}</td>
<td width="10%" align="center"> {{ _format_date($arrangement->getEnd()) }}</td>
<td width="15%" align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $booking->getPax() }}</td>
<td width="15%" align="right"></td>
</tr>
@endif
@endif
@endforeach
@endif
<tr>
<td width="10%"><strong>Gesamtpreis</strong></td>
<td width="35%"></td>
<td width="10%"></td>
<td width="10%"></td>
<td width="15%"></td>
<td width="15%" align="right"><u><strong> {{ format_currency($booking->getPrice(), '€') }}</strong></u></td>
</tr>
<tr>
<td width="10%">&nbsp;</td>
<td width="35%">&nbsp;</td>
<td width="10%">&nbsp;</td>
<td width="10%">&nbsp;</td>
<td width="15%">&nbsp;</td>
<td width="15%">&nbsp;</td>
</tr>
@foreach($booking->getBookingServiceItems() as $serviceItem)
@if($serviceItem->getTravelCompany()->getName() == 'ELVIA')
<tr>
<td width="10%">Reiseversicherung</td>
<td width="35%"> {{ $serviceItem->getName() }}</td>
<td width="10%" align="center"></td>
<td width="10%" align="center"></td>
<td width="15%" align="center"></td>
<td width="15%" align="right"><strong> {{ format_currency($serviceItem->getServicePrice(), '€') }}</strong></td>
</tr>
@endif
@endforeach
</table>
<br />

View file

@ -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 }} &euro;
@endif
@if ($booking_draft_item->children > 0)
<br>
{{ $booking_draft_item->price_children }} &euro;
@endif
@if ($booking_draft_item->adult > 0 || $booking_draft_item->children > 0)
<br>
<strong> {{ _number_format($booking_draft_item->getItemPrice('total')) }} &euro;</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

View file

@ -0,0 +1,23 @@
@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']))
@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-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-right"></td>
</tr>
@endif
@endif
@endforeach

View file

@ -0,0 +1,23 @@
<table cellspacing="0" cellpadding="0" class="booking-table pdf-break-block">
<tr>
<th style="">
</th>
</tr>
<tr>
<td width="100%" class="text-center">
{!! \App\Models\CMSContent::getContentBySlug('pdf-footer-hinweise-rueckfragen') !!}
@if($booking->travel_country)
@foreach ($booking->travel_country->getContactLandsModels() as $country)
{!! $country->contact_footer !!}
<br>
@endforeach
@endif
<br>
{!! \App\Models\CMSContent::getContentBySlug('pdf-footer-hinweise-reisebedingungen') !!}
</td>
</tr>
</table>

View file

@ -0,0 +1,15 @@
<table cellspacing="0" cellpadding="0" class="booking-table pdf-break-block">
<tr>
<th style="">
</th>
</tr>
<tr>
<td width="100%" class="text-center">
{!! \App\Models\CMSContent::getContentBySlug('pdf-footer-hinweise-reisebedingungen') !!}
</td>
</tr>
</table>

View file

@ -0,0 +1,38 @@
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr style="background: #648859;">
<th width="50%" align="left" style="color: #ffffff; padding:0 0.5rem">
<h3>{{ $document->title }} {{ _format_date($document->date) }}</h3>
</th>
<th width="50%" align="left" style="color: #ffffff; padding:0 0.5rem">
<h3>Kundennummer: {{ $booking->customer->id }}</h3>
</th>
</tr>
<tr>
<td align="left" style="color: #000; padding:0.5rem">
{{-- @if (!isset($is_agency) || $is_agency !== true) --}}
@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 />
{{ $booking->customer->country_id }}<br /><br />
Tel.: {{ $booking->customer->phone }}<br />
E-Mail-Adresse: {{ $booking->customer->email }}
{{-- @endif --}}
</td>
<td align="left" style="color: #000; padding:0.5rem">
Buchungsnummer: <strong>{{ $booking->lead_id }}</strong><br />
Buchungsdatum: <strong>{{ _format_date($booking->booking_date) }}</strong><br /><br />
Reisetermin: <strong>{{ _format_date($booking->start_date) }} -
{{ _format_date($booking->end_date) }}</strong><br />
Reisenummer: {{ $booking->travel_number }}<br />
@if ($booking->travel_agenda)
{{ $booking->travel_agenda->title }}
@else
{{ $booking->title }}
@endif
<br />
</td>
</tr>
</table>

View file

@ -0,0 +1,68 @@
<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->lead_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>

View file

@ -0,0 +1,25 @@
@if($booking->travel_country)
@foreach ($booking->travel_country->getContactLandsModels() as $country)
<table border="0" cellspacing="0" cellpadding="4" class="booking-table pdf-break-block">
<tr>
<th width="100%" colspan="4" class="text-center">
{!! $country->contact_headline !!}
</th>
</tr>
<tr>
<td width="25%" align="center">
{!! $country->contact_text_1 !!}
</td>
<td width="25%" align="center" >
{!! $country->contact_text_2 !!}
</td>
<td width="25%" align="center">
{!! $country->contact_text_3 !!}
</td>
<td width="25%" align="center">
{!! $country->contact_text_4 !!}
</td>
</tr>
</table>
@endforeach
@endif

View file

@ -0,0 +1,42 @@
<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>

View file

@ -0,0 +1,72 @@
<table cellspacing="0" cellpadding="0" class="booking-table pdf-break-block">
<tr>
<th>
Sonstiges
</th>
</tr>
<tr>
<td>
@if($booking->travel_country->name == 'Jordanien')
Einreise-, Visabestimmungen und gesundheitspolizeilichen Vorschriften für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss sechs Monate bei Einreise gültig sein. Deutsche Staatsangehörige benötigen zur Einreise nach Jordanien ein Visum. Eine Gelbfieberimpfung ist bei Einreise aus Infektionsgebieten vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
Weitere Informationen zu den aktuellen Einreise- und Visabestimmungen finden Sie auf der Seite der jordanischen Botschaft:<br>
<a href="http://www.jordanembassy.de/" target="_blank">www.jordanembassy.de/</a><br>
<a href="http://www.tourism.jo/Contents/Visa_Information.aspx" target="_blank">www.tourism.jo/Contents/Visa_Information.aspx</a>
<br><br>Wir empfehlen Ihnen, sich von Ihrem Hausarzt über Ihren Impfschutz und weitere landesspezifische, medizinische Hinweise beraten zu lassen.
<br><br>
<b>STERN TOURS GmbH empfiehlt generell den Abschluss einer Reise-Rücktrittskosten-Versicherung und einer Auslands-Reisekrankenversicherung mit Rücktransport.</b>
@endif
@if($booking->travel_country->name == 'Israel')
Einreise- und Visabestimmungen für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss sechs Monate über die Reise hinaus gültig sein. Deutsche Staatsbürger, die nach 1928 geboren sind, benötigen kein Transit- oder Besuchsvisum. Sie erhalten bei der Einreise eine Einreisekarte und bei der Ausreise eine Ausreisekarte (Ein- und Ausreisestempel werden nicht in den Pass gestempelt). Eine Gelbfieberimpfung ist bei Einreise aus Infektionsgebieten vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
Weitere Informationen zu den aktuellen Einreise- und Visabestimmungen finden Sie auf der Seite der israelischen Botschaft:<br>
<a href="http://embassies.gov.il/berlin/ConsularServices/visainformation/Pages/Allgemeine-Informationen0124-4349.aspx" target="_blank">embassies.gov.il/berlin/ConsularServices/visainformation/Pages/Allgemeine-Informationen0124-4349.aspx</a>
<br><br>Wir empfehlen Ihnen, sich von Ihrem Hausarzt über Ihren Impfschutz und weitere landesspezifische, medizinische Hinweise beraten zu lassen.
<br><br>Bitte beachten Sie, dass bei Anreise am Samstag wegen des Shabat in vielen Hotels Einschränkungen beim Service, beim Check-In und beim Zimmerbezug geben kann.
<br><br>
<b>STERN TOURS GmbH empfiehlt generell den Abschluss einer Reise-Rücktrittskosten-Versicherung und einer Auslands-Reisekrankenversicherung mit Rücktransport.</b>
@endif
@if($booking->travel_country->name == 'Israel/Jordanien')
<b>Israel</b> Einreise-, Visabestimmungen und gesundheitspolizeilichen Vorschriften für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss sechs Monate über die Reise hinaus gültig sein. Deutsche Staatsbürger, die nach 1928 geboren sind, benötigen kein Transit- oder Besuchsvisum. Sie erhalten bei der Einreise eine Einreisekarte und bei der Ausreise eine Ausreisekarte (Ein- und Ausreisestempel werden nicht in den Pass gestempelt). Eine Gelbfieberimpfung ist bei Einreise aus Infektionsgebieten vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
Weitere Informationen finden Sie auf der Seite der israelischen Botschaft:<br>
<a href="http://embassies.gov.il/berlin/ConsularServices/visainformation/Pages/Allgemeine-Informationen0124-4349.aspx" target="_blank">embassies.gov.il/berlin/ConsularServices/visainformation/Pages/Allgemeine-Informationen0124-4349.aspx</a>
<br><br>
<b>Jordanien</b> Einreise-, Visabestimmungen und gesundheitspolizeilichen Vorschriften für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss sechs Monate bei Einreise gültig sein. Deutsche Staatsangehörige benötigen zur Einreise nach Jordanien ein Visum. Eine Gelbfieberimpfung ist bei Einreise aus Infektionsgebieten vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
Weitere Informationen zu den aktuellen Einreise- und Visabestimmungen finden Sie auf der Seite der jordanischen Botschaft:<br>
<a href="http://www.jordanembassy.de/" target="_blank">www.jordanembassy.de/</a><br>
<a href="http://www.tourism.jo/Contents/Visa_Information.aspx" target="_blank">www.tourism.jo/Contents/Visa_Information.aspx</a>
<br><br>Wir empfehlen Ihnen, sich von Ihrem Hausarzt über Ihren Impfschutz und weitere landesspezifische, medizinische Hinweise beraten zu lassen.
<br><br>Bitte beachten Sie, dass bei Anreise am Samstag wegen des Shabat in vielen Hotels Einschränkungen beim Service, beim Check-In und beim Zimmerbezug geben kann.
<br><br>
<b>STERN TOURS GmbH empfiehlt generell den Abschluss einer Reise-Rücktrittskosten-Versicherung und einer Auslands-Reisekrankenversicherung mit Rücktransport.</b>
@endif
@if($booking->travel_country->name == 'Oman')
Einreise-, Visabestimmungen und gesundheitspolizeilichen Vorschriften für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss noch sechs Monate nach Einreise gültig sein. Deutsche Staatsangehörige benötigen zur Einreise nach Jordanien ein Visum. Deutsche Staatsangehörige können bei der Royal Oman Police ein <a href="https://evisa.rop.gov.om/home" target="_blank">e-Visum</a> beantragen. Eine Gelbfieberimpfung ist bei Einreise aus einem Gelbfieber-Endemie Gebiet vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
Weitere Informationen zu den aktuellen Einreise- und Visabestimmungen finden Sie auf der Seite vom Auswärtigen Amt:<br>
<a href="https://www.auswaertiges-amt.de/de/aussenpolitik/laender/oman-node/omansicherheit/204160" target="_blank">www.auswaertiges-amt.de</a>
<br><br>Wir empfehlen Ihnen, sich von Ihrem Hausarzt über Ihren Impfschutz und weitere landesspezifische, medizinische Hinweise beraten zu lassen.
<br><br>
<b>STERN TOURS GmbH empfiehlt generell den Abschluss einer Reise-Rücktrittskosten-Versicherung und einer Auslands-Reisekrankenversicherung mit Rücktransport.</b>
@endif
@if($booking->travel_country->name == 'Ägypten')
<b>Ägypten</b> Einreise-, Visabestimmungen und gesundheitspolizeilichen Vorschriften für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss sechs Monate über die Reise hinaus gültig sein. Deutsche Staatsangehörige benötigen für die Einreise ein Visum. Eine Gelbfieberimpfung ist bei Einreise aus Infektionsgebieten vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
Weitere Informationen finden Sie auf der Seite der ägyptischen Botschaft:<br>
<a href="http://www.egyptian-embassy.de/" target="_blank">www.egyptian-embassy.de/</a>
<br><br>Wir empfehlen Ihnen, sich von Ihrem Hausarzt über Ihren Impfschutz und weitere landesspezifische, medizinische Hinweise beraten zu lassen.
<br><br>
<b>STERN TOURS GmbH empfiehlt generell den Abschluss einer Reise-Rücktrittskosten-Versicherung und einer Auslands-Reisekrankenversicherung mit Rücktransport.</b><br><br> <hr><br>
<center>Sollten vor Ort Fragen auftreten, wenden Sie sich bitte an Herrn Rabie 0020 1228 777940 - Herr Rashad Tel: 0020 1228 777942<br>
Örtlicher Vertreter: New Vision Travel, 7 Ali El Gendy st., 6 District Nasr City, Cairo<br>
Phone: 0020 22 2725646 * Fax: 0020 22 2725733 </center><br>
@endif
</td>
</tr>
@if(isset($document->name) && $document->name == 'registration')
<tr>
<td>
<br>
Reiserücktrittskostenversicherung angeboten [ <strong>X</strong> ]
<br><br>
</td>
</tr>
@endif
</table>

View file

@ -0,0 +1,28 @@
<table border="0" cellspacing="0" cellpadding="0" class="booking-table pdf-break-block">
<tr>
<th width="50%">Unterschrift</th>
<th width="50%"></th>
</tr>
<tr>
<td rowspan="2" style="border-bottom:0; border-right:0;">
Dieser Buchungsauftrag wird durch meine Unterschrift verbindlich.<br>
Die Reise- und Zahlungsbedingungen des Reiseveranstalters <br>
bzw. Leistungsträgers habe ich zur Kenntnis genommen.
</td>
<td style="border-bottom:0; border-left:0;"> <br><br><br></td>
</tr>
<tr>
<td class="text-right" style="border-top: 1pt; border-bottom:0; border-left:0;"><strong>Datum & Unterschrift des Kunden</strong></td>
</tr>
<tr>
<td rowspan="2" style="border-top:0; border-right:0;">
Hiermit erkläre ich, dass ich für die Verpflichtungen der von mir<br>
angemeldeten Reiseteilnehmer gegenüber dem Reiseveranstalter / <br>
Leistungsträger wie für meine eigenen einstehen werde.
</td>
<td style="border-top:0; border-left:0;"> <br><br><br></td>
</tr>
<tr>
<td class="text-right" style="border-top: 1pt; border-left:0;"><strong>Datum & Unterschrift des Kunden</strong></td>
</tr>
</table>

View file

@ -0,0 +1,20 @@
<table cellspacing="0" cellpadding="0" class="booking-table pdf-break-block">
<tr>
<th width="50%"></th>
<th class="text-right" width="50%">STERN TOURS GmbH</th>
</tr>
<tr>
<td rowspan="2" style="border-top:0; border-right:0;">
<br>
</td>
<td class="text-right" style="border-top:0; border-left:0;">
Emser Straße 3<br />
10719 Berlin<br />
Tel: 030/700 94 100<br />
Fax: 030/700 94 1044<br />
</td>
</tr>
<tr>
<td class="text-right" style="border-top: 1pt; border-left:0;"><strong>Stempel des Reisebüros</strong></td>
</tr>
</table>

View file

@ -0,0 +1,213 @@
<?php
/**
* @var Arrangement $arrangement
*/
?>
<table border="0" cellspacing="0" cellpadding="2" width="100%" style="font-size: 9px;">
<tr style="background: #254584;">
<td style="color: #ffffff">Reiseteilnehmer</td>
<td style="color: #ffffff">Geburtsdatum</td>
</tr>
<?php if($document->getBooking()->getParticipantFirstname()): ?>
<tr>
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;"><?php echo $document->getBooking()->getParticipantSalutation() ?> <?php echo $document->getBooking()->getParticipantFirstname() ?> <?php echo $document->getBooking()->getParticipantName() ?></td>
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo format_date($document->getBooking()->getParticipantBirthdate(), 'p') ?></td>
</tr>
<?php endif ?>
<?php foreach($document->getBooking()->getAdditionalParticipants() as $participant): ?>
<tr>
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;"><?php echo $participant->getParticipantSalutation() ?> <?php echo $participant->getParticipantFirstname() ?> <?php echo $participant->getParticipantName() ?></td>
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" ><?php echo format_date($participant->getParticipantBirthdate(), 'p') ?></td>
</tr>
<?php endforeach ?>
</table>
<br />
<table border="0" cellspacing="0" cellpadding="2" width="100%" style="font-size: 9px;">
<tr style="background: #254584;">
<td width="8%" style="color: #ffffff;">Art</td>
<td width="35%" style="color: #ffffff;">Leistungen</td>
<td width="8%" align="center" style="color: #ffffff;">Von</td>
<td width="8%" align="center" style="color: #ffffff;">Bis</td>
<td width="11%" align="center" style="color: #ffffff;">Teilnehmer</td>
<td width="10%" align="center" style="color: #ffffff;">Status</td>
<td width="15%" align="center" style="color: #ffffff;">Preis in EUR</td>
</tr>
<?php if($document->getBooking()->getNewDrafts()): ?>
<?php foreach($document->getBooking()->getBookingDraftItem() as $booking_draft_item): ?>
<?php if($booking_draft_item->getInPdf()): ?>
<?php if(in_array($booking_draft_item->getDraftTypeId(), array('26', '30', '31', '32', '33', '34', '35', '36', '37', '41', '42'))): ?>
<?php /* //Rundreise
if($form["draft_type_id"]->getValue() == 24){
}
//Preisinfo
if($form["draft_type_id"]->getValue() == 26){
}
//Preis info Hotel
if($form["draft_type_id"]->getValue() == 30){
}
//Preis info Leistungen
if($form["draft_type_id"]->getValue() == 31){pro Person:
$set_price_info_field = ['data-pi_field' => 'service'];
}
//Preis info Kategorie
if($form["draft_type_id"]->getValue() == 32){
}
*/ ?>
<tr>
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><strong><?php echo $booking_draft_item->getDraftType()->getName() ?></strong></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><?php echo $booking_draft_item->getService() ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getStartDate(), 'p') ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getEndDate(), 'p') ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="right" >
<?php
if(in_array($booking_draft_item->getDraftTypeId(), array('30', '36', '37'))){
if($booking_draft_item->getAdult() > 0){
echo ($booking_draft_item->getAdult() == 1 ? $booking_draft_item->getAdult().' Erwachsener' : $booking_draft_item->getAdult().' Erwachsene');
}
if($booking_draft_item->getChildren() > 0){
echo "<br>";
echo ($booking_draft_item->getChildren() == 1 ? $booking_draft_item->getChildren().' Kind' : $booking_draft_item->getChildren().' Kinder');
}
}else{
if($booking_draft_item->getAdult() > 0){
echo ($booking_draft_item->getAdult() == 1 ? $booking_draft_item->getAdult().' Person' : $booking_draft_item->getAdult().' Personen');
}
}
if($booking_draft_item->getAdult() > 0 || $booking_draft_item->getChildren() > 0) {
echo "<br>";
if($booking_draft_item->getDraftTypeId() == 36 || $booking_draft_item->getDraftTypeId() == 37) {
echo '<strong>Gesamt '.$booking_draft_item->getDaysDuration().' '.($booking_draft_item->getDaysDuration() == 1 ? 'Tag' : 'Tage').':</strong>';
}else{
echo '<strong>Gesamt:</strong>';
}
}
?>
</td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584; vertical-align: top" align="right">
<?php
if($booking_draft_item->getAdult() > 0){
echo format_currency((float)$booking_draft_item->getPriceAdult(), '€');
}
if($booking_draft_item->getChildren() > 0){
echo "<br>";
echo format_currency((float)$booking_draft_item->getPriceChildren(), '€');
}
if($booking_draft_item->getAdult() > 0 || $booking_draft_item->getChildren() > 0){
echo "<br>";
if($booking_draft_item->getDraftTypeId() == 36 || $booking_draft_item->getDraftTypeId() == 37){
echo '<strong>'.format_currency(((float)$booking_draft_item->getAdult() * (float)$booking_draft_item->getPriceAdult() * (float)$booking_draft_item->getDaysDuration()) + ((float)$booking_draft_item->getChildren() * (float)$booking_draft_item->getPriceChildren() * (float)$booking_draft_item->getDaysDuration()), '€').'</strong>';
}else{
echo '<strong>'.format_currency(((float)$booking_draft_item->getAdult() * (float)$booking_draft_item->getPriceAdult()) + ((float)$booking_draft_item->getChildren() * (float)$booking_draft_item->getPriceChildren()), '€').'</strong>';
}
}
?>
</td>
</tr>
<?php elseif($booking_draft_item->getDraftTypeId() == 27): ?>
<tr>
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><?php echo $booking_draft_item->getService() ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getStartDate(), 'p') ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getEndDate(), 'p') ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo $document->getBooking()->getPax()?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="right"></td>
</tr>
<?php else: ?>
<tr>
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><strong><?php echo $booking_draft_item->getDraftType()->getName() ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><?php echo $booking_draft_item->getService() ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getStartDate(), 'p') ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getEndDate(), 'p') ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo $document->getBooking()->getPax()?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="right"></td>
</tr>
<?php endif ?>
<?php endif ?>
<?php endforeach ?>
<?php else: ?>
<?php foreach($document->getBooking()->getArrangement() as $arrangement): ?>
<?php if($arrangement->getInPdf() && $arrangement->getTypeId() != 13): ?>
<?php
$data = $arrangement->getDataAsMap();
?>
<?php if($arrangement->getArrangementType()->getName() == 'Preisinformation'): ?>
<tr>
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"><strong>Preis</strong></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $data['Name'] ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo $data['Teilnehmer'] ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"><?php echo format_currency((float)$data['Preis'], '€') ?></td>
</tr>
<tr>
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"><strong>Preis</strong></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;">Für <?php echo $data['Teilnehmer'] ?> <?php echo $data['Teilnehmer'] > 1 ? 'Personen' : 'Person' ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"><strong><?php echo format_currency((float)$data['Preis'] * (float)$data['Teilnehmer'], '€') ?></strong></td>
</tr>
<?php elseif($arrangement->getArrangementType()->getName() == 'Text'): ?>
<tr>
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getDataS() ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getBegin(), 'p') ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getEnd(), 'p') ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"></td>
</tr>
<?php else: ?>
<tr>
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getArrangementType()->getName() ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getDataS() ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getBegin(), 'p') ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getEnd(), 'p') ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $document->getBooking()->getPax() ?></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"></td>
</tr>
<?php endif ?>
<?php endif ?>
<?php endforeach ?>
<?php endif ?>
<tr>
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;" colspan="3"><strong>Storno-Reisebetrag am <?php echo format_date($document->getStornoDate(), 'p') ?>, <?php echo array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $document->getBooking()->getPax() ?> Teilnehmer</strong></td>
<td style="border-bottom: 1px solid #254584;"></td>
<td style="border-bottom: 1px solid #254584;"></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"><strong><?php echo format_currency($document->getBooking()->getPriceCanceled(), '€') ?></strong></td>
</tr>
<tr>
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;" colspan="3"><strong>Gesamtbetrag</strong></td>
<td style="border-bottom: 1px solid #254584;"></td>
<td style="border-bottom: 1px solid #254584;"></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"></td>
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"><strong><?php echo format_currency($document->getBooking()->getPriceCanceled(), '€') ?></strong></td>
</tr>
<tr>
<td style="border-bottom: 1px solid #254584;">&nbsp;</td>
<td style="border-bottom: 1px solid #254584;">&nbsp;</td>
<td style="border-bottom: 1px solid #254584;">&nbsp;</td>
<td style="border-bottom: 1px solid #254584;">&nbsp;</td>
<td style="border-bottom: 1px solid #254584;">&nbsp;</td>
<td style="border-bottom: 1px solid #254584;">&nbsp;</td>
<td style="border-bottom: 1px solid #254584;">&nbsp;</td>
</tr>
</table>
<br />

View file

@ -0,0 +1,114 @@
<style>
/*DIN LANG*/
@font-face {
font-family: "Source Sans 3";
src: url("fonts/source-sans-3-v15-latin-regular.ttf") format("truetype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Source Sans 3';
font-style: normal;
font-weight: 500;
src: url('fonts/source-sans-3-v15-latin-500.ttf') format('truetype');
}
@font-face {
font-family: 'Source Sans 3';
font-style: normal;
font-weight: 600;
src: url('fonts/source-sans-3-v15-latin-600.ttf') format('truetype');
}
@font-face {
font-family: 'Source Sans 3';
font-style: normal;
font-weight: 700;
src: url('fonts/source-sans-3-v15-latin-700.ttf') format('truetype');
}
html {
width: 100%;
height: 100%;
}
body {
position: relative;
width: 100%;
height: 100%;
margin: 0 auto;
padding: 0;
color: #000;
font-size: 11.5pt;
line-height: 9pt;
font-weight: 400 ;
font-family: "Source Sans 3", serif;
}
h2 {
margin-bottom: 0;
}
ul,
ol {
padding-left: 2rem;
}
li {
padding-bottom: 0.5rem;
}
.booking-table {
width: 180mm;
border-collapse: collapse;
margin-bottom: 2rem;
text-align: left;
font-size: 8pt;
}
.booking-table tr {
}
.booking-table th {
padding: 0.2rem 0.4rem;
color:#ffffff;
background: #648859;
font-weight: bold;
border: 0.25pt solid #648859;
text-align: left;
}
.booking-table h3 {
padding: 0.2rem 0rem;
line-height: 1rem;
margin:0;
text-align: left;
font-size: 9pt;
}
.booking-table td {
padding: 0.15rem 0.4rem;
color: #000;
border: 0.25pt solid #000;
}
.pdf-input-content {
font-size: 11pt;
line-height: 1.3em;
margin-bottom: 2rem;
}
.pdf-break-block {
page-break-inside: avoid;
}
.text-center, .booking-table th.text-center, .booking-table td.text-center {
text-align: center;
}
.text-right, .booking-table th.text-right, .booking-table td.text-right{
text-align: right;
}
</style>

View file

@ -0,0 +1,116 @@
<?php
/**
* @var Arrangement $arrangement
*/
?>
<table border="0" cellspacing="0" cellpadding="4" width="100%" style="font-size: 9px;">
<tr style="background: #254584;">
<td style="color: #ffffff">Reiseteilnehmer</td>
<td style="color: #ffffff">Geburtsdatum</td>
</tr>
<?php if($document->getBooking()->getParticipantFirstname()): ?>
<tr>
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;"><?php echo $document->getBooking()->getParticipantSalutation() ?> <?php echo $document->getBooking()->getParticipantFirstname() ?> <?php echo $document->getBooking()->getParticipantName() ?></td>
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;">
<?php if(!isset($is_agency) || $is_agency !== true): ?>
<?php echo format_date($document->getBooking()->getParticipantBirthdate(), 'p') ?></td>
<?php endif ?>
</tr>
<?php endif ?>
<?php foreach($document->getBooking()->getAdditionalParticipants() as $participant): ?>
<?php if(!$participant->getParticipantStorno()): ?>
<tr>
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;"><?php echo $participant->getParticipantSalutation() ?> <?php echo $participant->getParticipantFirstname() ?> <?php echo $participant->getParticipantName() ?></td>
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" >
<?php if(!isset($is_agency) || $is_agency !== true): ?>
<?php echo format_date($participant->getParticipantBirthdate(), 'p') ?>
<?php endif ?>
</td>
</tr>
<?php endif ?>
<?php endforeach ?>
</table>
<br />
<table border="0" cellspacing="0" cellpadding="4" width="100%" style="font-size: 9px;">
<tr style="background: #254584;">
<td width="11%" style="color: #ffffff;">Art</td>
<td width="35%" style="color: #ffffff;">Leistungen</td>
<td width="12%" align="center" style="color: #ffffff;">Von</td>
<td width="12%" align="center" style="color: #ffffff;">Bis</td>
<td width="15%" align="center" style="color: #ffffff;">Teilnehmer</td>
<td width="15%" align="center" style="color: #ffffff;">Preis in EUR</td>
</tr>
<?php if($document->getBooking()->getNewDrafts()): ?>
<?php foreach($document->getBooking()->getBookingDraftItem() as $booking_draft_item): ?>
<?php if($booking_draft_item->getInPdf()): ?>
<?php if(in_array($booking_draft_item->getDraftTypeId(), array('26', '30', '31', '32', '33', '34', '35'))): ?>
<?php echo $booking_draft_item->getService() ?>
<?php echo $booking_draft_item->getId(); ?>
<?php echo $booking_draft_item->getInPdf(); ?>
<?php echo $booking_draft_item->getDraftTypeId(); ?>
<?php echo "<br>" ?>
<?php elseif($booking_draft_item->getDraftTypeId() == 27): ?>
<tr>
<td width="10%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"></td>
<td width="35%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><?php echo $booking_draft_item->getService() ?></td>
<td width="10%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getStartDate(), 'p') ?></td>
<td width="10%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getEndDate(), 'p') ?></td>
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo $document->getBooking()->getPax()?></td>
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="right"></td>
</tr>
<?php else: ?>
<tr>
<td width="10%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><strong><?php echo $booking_draft_item->getDraftType()->getName() ?></td>
<td width="35%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><?php echo $booking_draft_item->getService() ?></td>
<td width="10%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getStartDate(), 'p') ?></td>
<td width="10%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getEndDate(), 'p') ?></td>
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo $document->getBooking()->getPax()?></td>
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="right"></td>
</tr>
<?php endif ?>
<?php endif ?>
<?php endforeach ?>
<?php else: ?>
<?php foreach($document->getBooking()->getArrangement() as $arrangement): ?>
<?php if($arrangement->getInPdf() && $arrangement->getArrangementType()->getName() != 'Preisinformation'): ?>
<?php $data = $arrangement->getDataAsMap() ?>
<?php if($arrangement->getArrangementType()->getName() == 'Text'): ?>
<tr>
<td width="11%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"></td>
<td width="35%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getDataS() ?></td>
<td width="12%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getBegin(), 'p') ?></td>
<td width="12%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getEnd(), 'p') ?></td>
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' ?></td>
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"></td>
</tr>
<?php else: ?>
<tr>
<td width="11%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getArrangementType()->getName() ?></td>
<td width="35%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getDataS() ?></td>
<td width="12%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getBegin(), 'p') ?></td>
<td width="12%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getEnd(), 'p') ?></td>
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $document->getBooking()->getPax() ?></td>
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"></td>
</tr>
<?php endif ?>
<?php endif ?>
<?php endforeach ?>
<?php endif ?>
</table>
<br />