2017-11-23 01:52:02 +08:00
|
|
|
<div class="row">
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="col-sm-12">
|
|
|
|
@component('admin.components.info')
|
|
|
|
Subfleets are aircraft groups. The "type" is a short name. Airlines always
|
|
|
|
group aircraft together by feature, so 737s with winglets might have a type of
|
|
|
|
"B.738-WL". You can create as many as you want, you need at least one, though.
|
2017-06-23 09:55:45 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
Read more about subfleets <a
|
|
|
|
href="http://docs.phpvms.net/concepts/basics#subfleets-and-aircraft"
|
|
|
|
target="_new">here</a>.
|
2018-03-24 09:30:31 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
@endcomponent
|
|
|
|
</div>
|
2017-06-23 09:55:45 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
{{ Form::label('airline_id', 'Airline:') }}
|
|
|
|
{{ Form::select('airline_id', $airlines, null , ['class' => 'form-control select2']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('airline_id') }}</p>
|
|
|
|
</div>
|
2018-03-30 02:42:16 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
{{ Form::label('type', 'Type:') }}
|
|
|
|
{{ Form::text('type', null, ['class' => 'form-control']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('type') }}</p>
|
|
|
|
</div>
|
2018-03-24 09:30:31 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
{{ Form::label('name', 'Name:') }}
|
|
|
|
{{ Form::text('name', null, ['class' => 'form-control']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('name') }}</p>
|
|
|
|
</div>
|
2018-03-24 09:30:31 +08:00
|
|
|
|
2018-02-24 06:00:14 +08:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2017-06-23 09:55:45 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="form-group col-sm-3">
|
|
|
|
{{ Form::label('cost_block_hour', 'Cost Per Hour:') }}
|
|
|
|
{{ Form::number('cost_block_hour', null , ['class' => 'form-control', 'step' => '0.01']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('cost_block_hour') }}</p>
|
|
|
|
</div>
|
2018-02-21 11:53:50 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="form-group col-sm-3">
|
|
|
|
{{ Form::label('cost_delay_minute', 'Cost Delay Per Minute:') }}
|
|
|
|
{{ Form::number('cost_delay_minute', null , ['class' => 'form-control', 'step' => '0.01']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('cost_delay_minute') }}</p>
|
|
|
|
</div>
|
2018-03-30 02:42:16 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="form-group col-sm-3">
|
|
|
|
{{ Form::label('fuel_type', 'Fuel Type:') }}
|
|
|
|
{{ Form::select('fuel_type', $fuel_types, null , ['class' => 'form-control select2']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('fuel_type') }}</p>
|
|
|
|
</div>
|
2017-07-05 22:55:36 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="form-group col-sm-3">
|
|
|
|
{{ Form::label('ground_handling_multiplier', 'Ground Handling Multiplier:') }}
|
|
|
|
{{ Form::text('ground_handling_multiplier', null, ['class' => 'form-control']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('ground_handling_multiplier') }}</p>
|
2018-02-24 06:00:14 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
@component('admin.components.info')
|
|
|
|
This is the multiplier of the airport ground-handling cost to charge for
|
|
|
|
aircraft in this subfleet, as a percentage. Defaults to 100.
|
|
|
|
@endcomponent
|
|
|
|
</div>
|
2018-02-24 06:00:14 +08:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
<div class="pull-right">
|
|
|
|
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) }}
|
|
|
|
<a href="{{ route('admin.subfleets.index') }}" class="btn btn-default">Cancel</a>
|
2017-07-03 04:11:27 +08:00
|
|
|
</div>
|
2020-02-02 02:05:56 +08:00
|
|
|
</div>
|
2017-06-23 09:55:45 +08:00
|
|
|
</div>
|