When a fare is assigned to a subfleet, the price, cost and capacity can be overridden,
so you can create default values that will apply to most of your subfleets, and change
them where they will differ.
{!! Form::label('code', 'Code:') !!} *
@component('admin.components.info')
How this fare class will show up on a ticket
@endcomponent
{!! Form::text('code', null, ['class' => 'form-control']) !!}
{{ $errors->first('code') }}
{!! Form::label('name', 'Name:') !!} *
@component('admin.components.info')
The fare class name, E.g, "Economy" or "First"
@endcomponent
{!! Form::text('name', null, ['class' => 'form-control']) !!}
{{ $errors->first('name') }}
{!! Form::label('price', 'Price:') !!}
@component('admin.components.info')
This is the price of a ticket for a passenger
@endcomponent
{!! Form::text('price', null, ['class' => 'form-control', 'placeholder' => 0]) !!}
{!! Form::label('capacity', 'Capacity:') !!}
@component('admin.components.info')
The number of seats available in this class.
@endcomponent
{!! Form::text('capacity', null, ['class' => 'form-control', 'placeholder' => 0]) !!}