phpvms/resources/views/layouts/default/widgets/recent_pireps.blade.php
2018-01-08 19:53:55 -06:00

25 lines
824 B
PHP

<div class="card">
<div class="nav nav-tabs" role="tablist" style="background: #067ec1; color: #FFF;">
Recent Reports
</div>
<div class="card-block">
<!-- Tab panes -->
<div class="tab-content">
<table>
@foreach($pireps as $p)
<tr>
<td style="padding-right: 10px;">
<span class="title">{!! $p->airline->code !!}</span>
</td>
<td>
{!! $p->dpt_airport_id !!}-
{!! $p->arr_airport_id !!}&nbsp;
{!! $p->aircraft->name !!}
</td>
</tr>
@endforeach
</table>
</div>
</div>
</div>