diff --git a/resources/views/layouts/default/dashboard/index.blade.php b/resources/views/layouts/default/dashboard/index.blade.php index 7c241c55..e83efc28 100644 --- a/resources/views/layouts/default/dashboard/index.blade.php +++ b/resources/views/layouts/default/dashboard/index.blade.php @@ -82,11 +82,13 @@ @foreach($pireps as $p) - + @endforeach @@ -105,8 +107,10 @@
{!! $p->airline->code !!} + {!! $p->airline->code !!} + - {!! $p->dpt_airport->icao !!}- - {!! $p->arr_airport->icao !!}  - {!! $p->aircraft->name !!} + {!! $p->dpt_airport_id !!}- + {!! $p->arr_airport_id !!}  + {!! $p->aircraft->name !!}
@foreach($users as $u) - - + + @endforeach
{!! $u->pilot_id !!}{!! $u->name !!} + {!! $u->pilot_id !!} + {!! $u->name !!}
diff --git a/resources/views/layouts/default/pireps/pirep_card.blade.php b/resources/views/layouts/default/pireps/pirep_card.blade.php index c0933eed..71cd8db3 100644 --- a/resources/views/layouts/default/pireps/pirep_card.blade.php +++ b/resources/views/layouts/default/pireps/pirep_card.blade.php @@ -28,26 +28,35 @@
-
- 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 !!} -
-
- Filed On:  - {!! show_datetime($pirep->created_at) !!} -
+ + + + + + + + + + + + + + + + + + @if($pirep->level) + + + + + @endif + + + + +
DEP {!! $pirep->dpt_airport_id !!}
ARR {!! $pirep->arr_airport_id !!} 
Flight Time {!! Utils::minutesToTimeString($pirep->flight_time) !!}
Aircraft {!! $pirep->aircraft->name !!} + ({!! $pirep->aircraft->registration !!})
Flight Level {!! $pirep->level !!}
Filed On: {!! show_datetime($pirep->created_at) !!}