@if($ac->subfleet_id)
{!! $ac->subfleet->name !!}
@else
-
@endif
|
{!! $ac->name !!} |
{!! $ac->icao !!} |
{!! $ac->registration !!} |
@if($ac->active == 1)
Active
@else
Inactive
@endif
|
{!! Form::open(['route' => ['admin.aircraft.destroy', $ac->id], 'method' => 'delete']) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) !!}
{!! Form::close() !!}
|
@endforeach