diff --git a/resources/views/admin/flights/search.blade.php b/resources/views/admin/flights/search.blade.php index 4d8ea432..7bae0594 100644 --- a/resources/views/admin/flights/search.blade.php +++ b/resources/views/admin/flights/search.blade.php @@ -3,21 +3,31 @@
- @if($pirep->state === PirepState::PENDING || $pirep->state === PirepState::REJECTED)
+
- Pilot {{ $pirep->user->name }}
+ Pilot {{ '('.$pirep->user_id.') '.optional($pirep->user)->name }}
@@ -35,11 +35,11 @@
@if($pirep->aircraft)
- Aircraft {{ $pirep->aircraft->registration }} ({{ $pirep->aircraft->name }})
+ Aircraft {{ $pirep->aircraft->registration }} @if($pirep->aircraft->registration != $pirep->aircraft->name) '{{ $pirep->aircraft->name }}' @endif
@endif
- @if(filled($pirep->level))
+ @if(filled($pirep->level) && $pirep->level > 10)
Flight Level {{ $pirep->level }}
|
diff --git a/resources/views/admin/pireps/pirep_card.blade.php b/resources/views/admin/pireps/pirep_card.blade.php
index 7b619e33..48d92d67 100644
--- a/resources/views/admin/pireps/pirep_card.blade.php
+++ b/resources/views/admin/pireps/pirep_card.blade.php
@@ -18,7 +18,7 @@