2018-01-01 22:58:47 +08:00
|
|
|
<div class="row">
|
2018-01-04 10:39:24 +08:00
|
|
|
<div class="form-group col-sm-4">
|
2018-01-01 22:58:47 +08:00
|
|
|
<div class="box box-solid">
|
|
|
|
<div class="box-header with-border">
|
|
|
|
{{--<i class="fa fa-text-width"></i>--}}
|
|
|
|
<h3 class="box-title">{!! Form::label('dpt_airport_id', 'Dep ICAO') !!}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="box-body"><p class="lead">
|
|
|
|
{!! $pirep->dpt_airport->icao !!} - {!! $pirep->dpt_airport->name !!}
|
|
|
|
</p></div>
|
2017-07-14 11:09:38 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-29 08:54:05 +08:00
|
|
|
|
2018-01-04 10:39:24 +08:00
|
|
|
<div class="form-group col-sm-5">
|
2018-01-01 22:58:47 +08:00
|
|
|
<div class="box box-solid">
|
|
|
|
<div class="box-header with-border">
|
|
|
|
{{--<i class="fa fa-text-width"></i>--}}
|
|
|
|
<h3 class="box-title">{!! Form::label('arr_airport_id', 'Arrival ICAO') !!}</h3>
|
2017-07-14 11:09:38 +08:00
|
|
|
</div>
|
2018-01-01 22:58:47 +08:00
|
|
|
<div class="box-body"><p class="lead">
|
|
|
|
{!! $pirep->arr_airport->icao !!} - {!! $pirep->arr_airport->name !!}
|
2017-07-14 11:09:38 +08:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-01-04 10:39:24 +08:00
|
|
|
|
|
|
|
<div class="form-group col-sm-3">
|
|
|
|
<div id="pirep_{!! $pirep->id !!}_actionbar" class="pull-right">
|
|
|
|
@include('admin.pireps.actions')
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-07-14 11:09:38 +08:00
|
|
|
</div>
|
2018-01-01 22:58:47 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
2018-01-01 23:02:20 +08:00
|
|
|
<table class="table table-hover">
|
2018-01-01 22:58:47 +08:00
|
|
|
<tr>
|
|
|
|
<td>Pilot</td>
|
2018-01-01 23:02:20 +08:00
|
|
|
<td><a href="{!! route('admin.users.show', ['id' => $pirep->pilot->id]) !!}"
|
|
|
|
target="_blank">{!! $pirep->user->name !!}</a>
|
2018-01-01 22:58:47 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Flight</td>
|
|
|
|
<td>
|
2018-01-01 23:02:20 +08:00
|
|
|
<a href="{!! route('admin.flights.show', [$pirep->flight_id]) !!}"
|
|
|
|
target="_blank">
|
|
|
|
{!! $pirep->ident !!}
|
|
|
|
</a>
|
2018-01-01 22:58:47 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Aircraft</td>
|
2018-01-01 23:02:20 +08:00
|
|
|
<td>{!! $pirep->aircraft->subfleet->name !!}, {!! $pirep->aircraft->name !!}
|
|
|
|
({!! $pirep->aircraft->registration !!})
|
2018-01-01 22:58:47 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Flight Time</td>
|
2018-01-01 23:02:20 +08:00
|
|
|
<td>{!! Utils::minutesToTimeString($pirep->flight_time) !!}</td>
|
2018-01-01 22:58:47 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Flight Level</td>
|
2018-01-01 23:02:20 +08:00
|
|
|
<td>{!! $pirep->level !!}</td>
|
2018-01-01 22:58:47 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Route</td>
|
|
|
|
<td>{!! $pirep->route !!}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Notes</td>
|
|
|
|
<td>{!! $pirep->notes !!}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Filed On</td>
|
2018-01-01 23:02:20 +08:00
|
|
|
<td>{!! show_datetime($pirep->created_at) !!}</td>
|
2018-01-01 22:58:47 +08:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>Updated On</td>
|
2018-01-01 23:02:20 +08:00
|
|
|
<td>{!! show_datetime($pirep->updated_at) !!}</td>
|
2018-01-01 22:58:47 +08:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|