2018-04-02 19:47:05 +08:00
|
|
|
<table>
|
2019-10-30 01:03:04 +08:00
|
|
|
@foreach($pireps as $p)
|
|
|
|
<tr>
|
|
|
|
<td style="padding-right: 10px;">
|
2020-12-05 00:04:47 +08:00
|
|
|
<span class="title">{{ $p->airline->code }} {{ $p->flight_number }}</span>
|
2019-10-30 01:03:04 +08:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<a href="{{route('frontend.airports.show', [$p->dpt_airport_id])}}">{{$p->dpt_airport_id}}</a>
|
|
|
|
-
|
|
|
|
<a href="{{route('frontend.airports.show', [$p->arr_airport_id])}}">{{$p->arr_airport_id}}</a>
|
2020-09-15 04:17:03 +08:00
|
|
|
@if(!empty($p->aircraft))
|
2020-12-05 00:04:47 +08:00
|
|
|
{{ optional($p->aircraft)->registration }} ({{ $p->aircraft->icao }})
|
2019-10-30 01:03:04 +08:00
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
2018-04-02 19:47:05 +08:00
|
|
|
</table>
|