@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
Recent Reports
@foreach($pireps as $p)
{!! $p->airline->code !!} |
{!! $p->dpt_airport->icao !!}-
{!! $p->arr_airport->icao !!}
{!! $p->aircraft->name !!}
|
@endforeach
Newest Pilots
@foreach($users as $u)
{!! $u->pilot_id !!} |
{!! $u->name !!} |
@endforeach
@endsection