#21 file PIREP; populate custom fields and set correct status

This commit is contained in:
Nabeel Shahzad
2017-08-23 14:19:05 -05:00
parent 2c41144c61
commit 0d29369e54
7 changed files with 168 additions and 89 deletions
@@ -4,8 +4,13 @@
<div class="row">
<div class="col-sm-2 text-center">
<h5>
<a class="text-c" href="{!! route('frontend.flights.show', [$pirep->flight_id]) !!}">
{!! $pirep->airline->code !!}{!! $pirep->flight->flight_number !!}
<a class="text-c" href="{!! route('frontend.pireps.show', [$pirep->id]) !!}">
{!! $pirep->airline->code !!}
@if($pirep->flight_id)
{!! $pirep->flight->flight_number !!}
@else
{!! $pirep->flight_number !!}
@endif
</a>
</h5>
<div>