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

{!! $user->flights !!}

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

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

total hours

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

current airport
News goes here!
@foreach($pireps as $p) @endforeach
{!! $p->airline->code !!} {!! $p->dpt_airport->icao !!}- {!! $p->arr_airport->icao !!}  {!! $p->aircraft->name !!}
@foreach($users as $u) @endforeach
{!! $u->pilot_id !!} {!! $u->name !!}
@endsection