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('type', 'Fare Type:') }} *
@component('admin.components.info')
If this is a passenger or cargo fare
@endcomponent
{{ Form::select('type', $fare_types, null , [
'id' => 'type',
'class' => 'form-control select2'
]) }}
{{ $errors->first('type') }}
Base Fare Finances
{{ Form::label('price', 'Price:') }}
@component('admin.components.info')
This is the price of a ticket or price per {{ setting('units.weight') }}
@endcomponent
{{ Form::text('price', null, ['class' => 'form-control', 'placeholder' => 0]) }}
{{ $errors->first('price') }}
{{ Form::label('cost', 'Cost:') }}
@component('admin.components.info')
The operating cost per unit (passenger or {{ setting('units.weight') }})
@endcomponent
{{ Form::number('cost', null, ['class' => 'form-control', 'placeholder' => 0, 'step' => '0.01']) }}
{{ $errors->first('cost') }}
{{ Form::label('capacity', 'Capacity:') }}
@component('admin.components.info')
Max seats or capacity available. This can be adjusted in the subfleet
@endcomponent
{{ Form::number('capacity', null, ['class' => 'form-control', 'min' => 0]) }}
{{ $errors->first('capacity') }}
{{ Form::label('notes', 'Notes:') }}
@component('admin.components.info')
Notes for this fare
@endcomponent
{{ Form::text('notes', null, ['class' => 'form-control']) }}