2017-11-23 10:03:49 +08:00
|
|
|
<div class="row">
|
2018-04-10 09:04:21 +08:00
|
|
|
<div class="col-sm-12">
|
|
|
|
<div class="form-container">
|
|
|
|
<h6><i class="fas fa-clock"></i>
|
|
|
|
Subfleet and Status
|
|
|
|
</h6>
|
|
|
|
<div class="form-container-body row">
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{{ Form::label('subfleet_id', 'Subfleet:') }}
|
|
|
|
{{ Form::select('subfleet_id', $subfleets, $subfleet_id ?? null, [
|
|
|
|
'class' => 'form-control select2',
|
|
|
|
'placeholder' => 'Select Subfleet'
|
|
|
|
])
|
|
|
|
}}
|
|
|
|
<p class="text-danger">{{ $errors->first('subfleet_id') }}</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{{ Form::label('status', 'Status:') }}
|
|
|
|
{{ Form::select('status', $statuses, null, ['class' => 'form-control select2', 'placeholder' => 'Select Status']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('subfleet_id') }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-09 09:37:51 +08:00
|
|
|
|
2018-02-13 01:03:25 +08:00
|
|
|
</div>
|
2017-06-12 04:37:57 +08:00
|
|
|
</div>
|
2018-02-13 01:03:25 +08:00
|
|
|
|
2018-01-01 04:00:50 +08:00
|
|
|
<div class="row">
|
2018-03-31 09:21:18 +08:00
|
|
|
<div class="col-12">
|
2018-04-10 09:04:21 +08:00
|
|
|
<div class="form-container">
|
|
|
|
<h6>
|
|
|
|
<span style="float:right">
|
|
|
|
View list of
|
|
|
|
<a href="https://en.wikipedia.org/wiki/List_of_ICAO_aircraft_type_designators"
|
|
|
|
target="_blank">
|
|
|
|
IATA and ICAO Type Designators
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
<i class="fas fa-plane"></i>
|
|
|
|
Aircraft Information
|
2018-03-31 09:21:18 +08:00
|
|
|
|
2018-04-10 09:04:21 +08:00
|
|
|
</h6>
|
|
|
|
<div class="form-container-body">
|
|
|
|
<div class="row">
|
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
{{ Form::label('name', 'Name:') }} <span class="required">*</span>
|
|
|
|
{{ Form::text('name', null, ['class' => 'form-control']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('name') }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
{{ Form::label('iata', 'IATA:') }}
|
|
|
|
{{ Form::text('iata', null, ['class' => 'form-control']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('iata') }}</p>
|
|
|
|
</div>
|
2018-01-04 02:41:01 +08:00
|
|
|
|
2018-04-10 09:04:21 +08:00
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
{{ Form::label('icao', 'ICAO:') }}
|
|
|
|
{{ Form::text('icao', null, ['class' => 'form-control']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('icao') }}</p>
|
|
|
|
</div>
|
2018-02-24 06:37:10 +08:00
|
|
|
|
2018-04-10 09:04:21 +08:00
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
{{ Form::label('registration', 'Registration:') }}
|
|
|
|
{{ Form::text('registration', null, ['class' => 'form-control']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('registration') }}</p>
|
|
|
|
{{--{{ Form::label('zfw', 'Zero Fuel Weight:') }}
|
|
|
|
{{ Form::text('zfw', null, ['class' => 'form-control']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('zfw') }}</p>--}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-01-01 04:00:50 +08:00
|
|
|
</div>
|
2018-01-04 02:41:01 +08:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2018-01-01 04:00:50 +08:00
|
|
|
<!-- Submit Field -->
|
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
<div class="pull-right">
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) }}
|
|
|
|
<a href="{{ route('admin.aircraft.index') }}" class="btn btn-default">Cancel</a>
|
2018-01-01 04:00:50 +08:00
|
|
|
</div>
|
2017-11-23 10:03:49 +08:00
|
|
|
</div>
|
|
|
|
</div>
|