ranks

@component('admin.components.info') These ranks are allowed to fly aircraft in this subfleet. The pay can be set as a fixed amount, or a percentage of the rank's base payrate @endcomponent

@if(count($subfleet->ranks)) @endif @foreach($subfleet->ranks as $rank) @endforeach
Name Base rate ACARS pay Manual pay
{{ $rank->name }} {{ $rank->base_pay_rate ?: '-' }} {{ $rank->pivot->acars_pay }} {{ $rank->pivot->manual_pay }} {{ Form::open(['url' => '/admin/subfleets/'.$subfleet->id.'/ranks', 'method' => 'delete', 'class' => 'modify_rank']) }} {{ Form::hidden('rank_id', $rank->id) }} {{ Form::button('', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon']) }} {{ Form::close() }}

{{ Form::open(['url' => '/admin/subfleets/'.$subfleet->id.'/ranks', 'method' => 'post', 'class' => 'modify_rank form-inline']) }} {{ Form::select('rank_id', $avail_ranks, null, [ 'placeholder' => 'Select Rank', 'class' => 'ac-fare-dropdown form-control input-lg select2', ]) }} {{ Form::button(' add', ['type' => 'submit', 'class' => 'btn btn-success btn-s']) }} {{ Form::close() }}
{{----}}