#32 assign aircraft to subfleets, and aircraft to subfleets
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<thead>
|
||||
<th>ICAO</th>
|
||||
<th>Name</th>
|
||||
<th>Subfleet</th>
|
||||
<th>Registration</th>
|
||||
<th style="text-align: center;">Active</th>
|
||||
<th style="text-align: center;">Actions</th>
|
||||
@@ -11,6 +12,13 @@
|
||||
<tr>
|
||||
<td><a href="{!! route('admin.aircraft.show', [$ac->id]) !!}">{!! $ac->icao !!}</a></td>
|
||||
<td>{!! $ac->name !!}</td>
|
||||
<td>
|
||||
@if($ac->subfleet)
|
||||
{!! $ac->subfleet->name !!}
|
||||
@else
|
||||
-
|
||||
@endif
|
||||
</td>
|
||||
<td>{!! $ac->registration !!}</td>
|
||||
<td style="text-align: center;">
|
||||
<i class="fa fa-{{$ac->active == 1?"check":""}}-square-o" aria-hidden="true"
|
||||
|
||||
Reference in New Issue
Block a user