{{-- 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! --}} @php $readonly = (!empty($pirep) && $pirep->read_only) ? 'readonly' : null; $select2_readonly = isset($readonly) ? 'disabled' : null; @endphp