@php($booking_files_count = 1)
@if($booking->fewo_lodging)
| {{$booking_files_count++}} |
{{\App\Services\BookingFewo::getFeWoInstructionPDFName($booking->fewo_lodging)}}
|
application/pdf
|
- |
|
@endif
@foreach(\App\Services\BookingFewo::contentFiles() as $content_file)
@if($file = \App\Models\CMSContent::getModelBySlug($content_file))
| {{$booking_files_count++}} |
{{$file->name}}
|
{{ $file->formatBytes() }}
|
{{\App\Services\Util::_format_date($file->created_at, 'date')}} |
|
@endif
@endforeach
@if($booking->booking_files)
@foreach($booking->booking_files as $booking_file)
| {{$booking_files_count++}} |
{{ $booking_file->original_name }}
|
{{ $booking_file->mine }} | {{ $booking_file->formatBytes() }}
|
{{\App\Services\Util::_format_date($booking_file->created_at, 'date')}} |
|
@endforeach
@endif