{{--
--}}

fares

   Fares assigned to the current subfleet. These can be overridden, otherwise, the value used is the default, which comes from the fare.


@foreach($subfleet->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/subfleets/'.$subfleet->id.'/fares', 'method' => 'delete', 'class' => 'rm_fare' ]) !!} {!! Form::hidden('fare_id', $atf->id) !!} {!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon']) !!} {!! Form::close() !!}

{!! Form::open(['url' => '/admin/subfleets/'.$subfleet->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 select2', ]) !!} {!! Form::button(' add', ['type' => 'submit', 'class' => 'btn btn-success btn-s']) !!} {!! Form::close() !!}
{{--
--}}