@php $tab_height = '62vh'; @endphp
@include('pireps.map', ['map_height' => $tab_height])
@if($AuthCheck && $pirep->acars && $pirep->acars->count() > 0)
@include('pireps.chart')
@endif
@if($AuthCheck && $pirep->fields && $pirep->fields->count() > 0 && $pirep->fields->count() <= 150)
@foreach($pirep->fields as $field)
{{ $field->name }} |
{!! DT_PirepField($field, $units) !!} |
@endforeach
@endif
@if($AuthCheck && $pirep->acars_logs && $pirep->acars_logs->count() > 0 && $pirep->acars_logs->count() <= 250)
@foreach($pirep->acars_logs->sortBy('created_at') as $log)
{{ $log->created_at->format('d.M.Y H:i') }} |
{{ $log->log }} |
@endforeach
@endif
@if($AuthCheck && $pirep->comments->count() > 0)
@endif