@foreach($pireps as $p) @endforeach
{{ $p->airline->code }} {{ $p->flight_number }} {{$p->dpt_airport_id}}  -  {{$p->arr_airport_id}}  @if(!empty($p->aircraft)) {{ optional($p->aircraft)->registration }} ({{ $p->aircraft->icao }}) @endif