{!! $pirep->getFlightId() !!}
@if($pirep->status == config('enums.pirep_status.PENDING'))
Pending
@elseif($pirep->status === config('enums.pirep_status.ACCEPTED'))
Accepted
@else
Rejected
@endif
DEP  {!! $pirep->dpt_airport->icao !!}  ARR  {!! $pirep->arr_airport->icao !!} 
Flight Time  {!! Utils::minutesToTimeString($pirep->flight_time) !!}
Aircraft  {!! $pirep->aircraft->registration !!} ({!! $pirep->aircraft->name !!})
Flight Level  {!! $pirep->level !!}
File Date  {!! $pirep->created_at !!}
more data 
more data 
@if($pirep->status == config('enums.pirep_status.PENDING') || $pirep->status == config('enums.pirep_status.REJECTED')) {!! Form::open(['url' => '/admin/pireps/'.$pirep->id.'/status', 'method' => 'post', 'name' => 'accept_'.$pirep->id, 'id' => $pirep->id.'_accept', 'pirep_id' => $pirep->id, 'new_status' => config('enums.pirep_status.ACCEPTED'), 'class' => 'pirep_submit_status']) !!} {!! Form::button('Accept', ['type' => 'submit', 'class' => 'btn btn-info']) !!} {!! Form::close() !!} @endif   @if($pirep->status == config('enums.pirep_status.PENDING') || $pirep->status == config('enums.pirep_status.ACCEPTED')) {!! Form::open(['url' => '/admin/pireps/'.$pirep->id.'/status', 'method' => 'post', 'name' => 'reject_'.$pirep->id, 'id' => $pirep->id.'_reject', 'pirep_id' => $pirep->id, 'new_status' => config('enums.pirep_status.REJECTED'), 'class' => 'pirep_submit_status']) !!} {!! Form::button('Reject', ['type' => 'submit', 'class' => 'btn btn-danger']) !!} {!! Form::close() !!} @endif