@extends('layouts.default.app') @section('title', 'dashboard') @section('content')

{!! $user->flights !!}

{{ str_plural('flight', $user->flights) }}

{!! \App\Facades\Utils::minutesToTimeString($user->flight_time, false)!!}

total hours

{!! $user->current_airport->icao !!}

current airport
@if($last_pirep === null)
No reports yet. File one now.
@else @include('layouts.default.pireps.pirep_card', ['pirep' => $last_pirep]) @endif
News goes here!
@foreach($pireps as $p) @endforeach
{!! $p->airline->code !!} {!! $p->dpt_airport_id !!}- {!! $p->arr_airport_id !!}  {!! $p->aircraft->name !!}
@foreach($users as $u) @endforeach
{!! $u->pilot_id !!} {!! $u->name !!}
@endsection