@foreach($aircraft->fares as $atf) @endforeach
name code capacity (default) price (default) cost (default)
{!! $atf->name !!} {!! $atf->code !!} {!! $atf->pivot->capacity !!} ({!! $atf->capacity !!}) {!! $atf->pivot->price !!} ({!! $atf->price !!}) {!! $atf->pivot->cost !!} ({!! $atf->cost!!})
{!! Form::open(['url' => '/admin/aircraft/'.$aircraft->id.'/fares', 'method' => 'delete', 'class' => 'rm_fare']) !!} {!! Form::hidden('fare_id', $atf->id) !!} {!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-danger btn-s']) !!} {!! Form::close() !!}

{!! Form::open(['url' => '/admin/aircraft/'.$aircraft->id.'/fares', 'method' => 'post', 'class' => 'rm_fare form-inline' ]) !!} {!! Form::select('fare_id', $avail_fares, null, [ 'placeholder' => 'Select Fare', 'class' => 'ac-fare-dropdown form-control input-lg', ]) !!} {!! Form::button(' add', ['type' => 'submit', 'class' => 'btn btn-success btn-s']) !!} {!! Form::close() !!}