@if(!empty($pirep) && $pirep->read_only)
{{ $pirep->ident }} {{ Form::hidden('flight_number') }} {{ Form::hidden('flight_code') }} {{ Form::hidden('flight_leg') }}
@else{{ $errors->first('flight_number') }}
{{ $errors->first('route_code') }}
{{ $errors->first('route_leg') }}
{{ $errors->first('flight_type') }}
Filed Via:
{{ PirepSource::label($pirep->source) }} @if(filled($pirep->source_name)) ({{ $pirep->source_name }}) @endif{{ $pirep->airline->name }}
{{ Form::hidden('airline_id') }} @else {{ Form::select('airline_id', $airlines_list, null, [ 'class' => 'form-control select2', 'readonly' => $pirep->read_only]) }}{{ $errors->first('airline_id') }}
@endif{{ $pirep->aircraft->name }}
{{ Form::hidden('aircraft_id') }} @else {{ Form::select('aircraft_id', $aircraft_list, null, [ 'id' => 'aircraft_select', 'class' => 'form-control select2', 'readonly' => $pirep->read_only ]) }}{{ $errors->first('aircraft_id') }}
@endif{{ $pirep->dpt_airport_id }}@if($pirep->dpt_airport->name) - {{ $pirep->dpt_airport->name }}@endif
{{ Form::hidden('dpt_airport_id') }} @else {{ Form::select('dpt_airport_id', $airports_list, null, [ 'class' => 'form-control select2', 'readonly' => $pirep->read_only]) }}{{ $errors->first('dpt_airport_id') }}
@endif{{ $pirep->arr_airport->id }}@if($pirep->arr_airport->name) - {{ $pirep->arr_airport->name }}@endif
{{ Form::hidden('arr_airport_id') }} @else {{ Form::select('arr_airport_id', $airports_list, null, ['class' => 'form-control select2']) }}{{ $errors->first('arr_airport_id') }}
@endif{{ $pirep->hours }} hours, {{ $pirep->minutes }} minutes {{ Form::hidden('hours') }} {{ Form::hidden('minutes') }}
@else{{ $errors->first('hours') }}
{{ $errors->first('minutes') }}
{{ $errors->first('level') }}
{{ $errors->first('route') }}
{{ $errors->first('notes') }}