fares

@component('admin.components.info') Fares assigned to the current flight. These can be overridden, otherwise, the values used come from the subfleet of the aircraft that the flight is filed with. Only assign the fares you want to override. They can be set as a monetary amount, or a percentage. Read documentation about finances. @endcomponent

{{ $errors->first('value') }}

@if(count($flight->fares)) @endif @foreach($flight->fares as $atf) @endforeach
Name Code Capacity Price Cost Actions
{!! $atf->name !!} {!! $atf->code !!} {!! $atf->pivot->capacity !!} {!! $atf->pivot->price !!} {!! $atf->pivot->cost !!} {!! Form::open(['url' => '/admin/flights/'.$flight->id.'/fares', 'method' => 'delete', 'class' => 'pjax_fares_form' ]) !!} {!! Form::hidden('fare_id', $atf->id) !!} {!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs']) !!} {!! Form::close() !!}

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