Passolution
This commit is contained in:
parent
f79806ffe8
commit
06fc3ba919
31 changed files with 337 additions and 119 deletions
|
|
@ -30,6 +30,7 @@
|
|||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Reise |
|
||||
Gesamtpreis: {{ \App\Services\Util::_number_format($booking_application->total)}} €
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_application->updated_at, 'date')}}</td>
|
||||
|
|
@ -53,6 +54,7 @@
|
|||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Reise |
|
||||
Gesamtpreis: {{ \App\Services\Util::_number_format($booking_confirmation->total)}} € |
|
||||
Anzahlung: {{ \App\Services\Util::_number_format($booking_confirmation->deposit)}} € |
|
||||
Restzahlung: {{ \App\Services\Util::_number_format($booking_confirmation->final_payment)}} €
|
||||
|
|
@ -78,7 +80,7 @@
|
|||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Stornobetrag: {{ \App\Services\Util::_number_format($booking_storno->total)}} €
|
||||
Storno | Betrag: {{ \App\Services\Util::_number_format($booking_storno->total)}} €
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_storno->updated_at, 'date')}}</td>
|
||||
<td>
|
||||
|
|
@ -100,7 +102,7 @@
|
|||
<i class="fa fa-file-pdf mr-1"></i> Gutschein {{$coupon->number}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<td>Gutschein |
|
||||
Wert: {{ \App\Services\Util::_number_format($coupon->value)}} € |
|
||||
bis: {{\App\Services\Util::_format_date($coupon->valid_date, 'date')}} |
|
||||
@if($coupon->is_redeemed) <i class="fa fa-check-circle text-success"></i> {{\App\Services\Util::_format_date($coupon->redeem_date, 'date')}} @else <i class="fa fa-times-circle text-danger"></i> @endif
|
||||
|
|
@ -234,6 +236,30 @@
|
|||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach($booking->getPassolutionPDF() as $PassolutionPDF)
|
||||
@if($PassolutionPDF)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a target="_blank" href="{{ $PassolutionPDF['url'] }}" class="badge badge-md badge-next">
|
||||
<i class="fa fa-file-pdf mr-1"></i> {{$PassolutionPDF['filename']}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Passolution |
|
||||
{{ \App\Services\Util::_formatBytes($PassolutionPDF['size']) }}
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($PassolutionPDF['date'], 'date')}}</td>
|
||||
<td>
|
||||
<a href="{{ $PassolutionPDF['url'] }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip" download="">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@if($booking->booking_files)
|
||||
@foreach($booking->booking_files as $booking_file)
|
||||
<tr>
|
||||
|
|
@ -244,6 +270,7 @@
|
|||
</a>
|
||||
</td>
|
||||
<td>
|
||||
hinzugefügt |
|
||||
{{ $booking_file->mine }} | {{ $booking_file->formatBytes() }}
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_file->created_at, 'date')}}</td>
|
||||
|
|
|
|||
|
|
@ -200,6 +200,31 @@
|
|||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach($booking->getPassolutionPDF() as $PassolutionPDF)
|
||||
@if($PassolutionPDF)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a target="_blank" href="{{ $PassolutionPDF['url'] }}" class="badge badge-md badge-next">
|
||||
<i class="fa fa-file-pdf mr-1"></i> {{$PassolutionPDF['filename']}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Passolution |
|
||||
{{ \App\Services\Util::_formatBytes($PassolutionPDF['size']) }}
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($PassolutionPDF['date'], 'date')}}</td>
|
||||
<td>
|
||||
<button data-target="{{ $PassolutionPDF['url'] }}" data-name="{{$PassolutionPDF['filename']}}" class="btn btn-xs btn-primary add-file-to-attachment"
|
||||
title="als Anhang hinzufügen" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-cloud-download-alt"></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@if($booking->booking_files)
|
||||
@foreach($booking->booking_files as $booking_file)
|
||||
<tr>
|
||||
|
|
|
|||
39
resources/views/pdf/passolution.blade.php
Normal file
39
resources/views/pdf/passolution.blade.php
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
@extends('pdf.layout-small')
|
||||
|
||||
@section('content')
|
||||
<style>
|
||||
h1 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
li {
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
.pdf-input-content {
|
||||
font-size: 11pt;
|
||||
line-height: 1.3em;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
.pdf-break-block {
|
||||
/* page-break-inside: avoid; */
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
<h1>Einreise-, Visabestimmungen und gesundheitspolizeilichen Vorschriften</h1>
|
||||
<hr>
|
||||
@if($contents)
|
||||
<div class="pdf-break-block">
|
||||
<div class="pdf-input-content">
|
||||
{!! nl2br($contents) !!}
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue