@if(count($rank->subfleets)) @endif @foreach($rank->subfleets as $sf) @endforeach
Airline Name ACARS Pay Manual Pay Actions
{!! $sf->airline->name !!} {!! $sf->name !!} ({!! $sf->type !!}) {!! $sf->pivot->acars_pay !!} {!! $sf->pivot->manual_pay !!} {!! Form::open(['url' => '/admin/ranks/'.$rank->id.'/subfleets', 'method' => 'delete', 'class' => 'pjax_form']) !!} {!! Form::hidden('subfleet_id', $sf->id) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon']) !!}
{!! Form::close() !!}

{!! Form::open(['url' => url('/admin/ranks/'.$rank->id.'/subfleets'), 'method' => 'post', 'class' => 'pjax_form form-inline' ]) !!} {!! Form::select('subfleet_id', $avail_subfleets, null, [ 'placeholder' => 'Select Subfleet', 'class' => 'select2 form-control input-lg']) !!} {!! Form::button(' Add', ['type' => 'submit', 'class' => 'btn btn-success btn-small']) !!} {!! Form::close() !!}