{{-- NOTE ABOUT THIS VIEW The fields that are marked "read-only", make sure the read-only status doesn't change! If you make those fields editable, after they're in a read-only state, it can have an impact on your stats and financials, and will require a recalculation of all the flight reports that have been filed. You've been warned! --}} @if($read_only)
{{ $pirep->airline->name }}
{{ Form::hidden('airline_id') }} @else{{ $errors->first('airline_id') }}
@endif{{ $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') }}
@endif{{ \App\Models\Enums\FlightType::label($pirep->flight_type) }}
{{ Form::hidden('flight_type') }} @else{{ $errors->first('flight_type') }}
@endif{{ $pirep->hours }} hours, {{ $pirep->minutes }} minutes {{ Form::hidden('hours') }} {{ Form::hidden('minutes') }}
@else{{ $errors->first('hours') }}
{{ $errors->first('minutes') }}
@endif{{ $errors->first('dpt_airport_id') }}
@endif{{ $errors->first('arr_airport_id') }}
@endif{{ $pirep->aircraft->name }}
{{ Form::hidden('aircraft_id') }} @else{{ $errors->first('aircraft_id') }}
@endif{{ $errors->first('route') }}
{{ $errors->first('notes') }}
{{ $errors->first($field->slug) }}