@extends('layouts.app') @section('title', 'Member Overview') @section('header') @vite(['resources/sass/bootstrap-table.scss', 'resources/js/bootstrap-table.js']) @endsection @section('content')
Vatsim ID | First Name | Last Name | Registered in CC | ATC Rating | ATC Active | ATC Hours | Last rating change | Joined VATSIM | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $user['id'] }} | {{ $user['name_first'] }} | {{ $user['name_last'] }} | Yes | {{ App\Helpers\VatsimRating::from($user['rating'])->name }} | {{ $user['active'] ? 'Yes' : 'No' }} | {{ isset($user['hours']) ? round($user['hours']) : 'N/A' }} | {{ isset($user['lastratingchange']) ? Carbon\Carbon::create($user['lastratingchange'])->toEuropeanDate() : 'N/A' }} | {{ Carbon\Carbon::create($user['reg_date'])->toEuropeanDate() }} | @else{{ $user['id'] }} | {{ $user['name_first'] }} | {{ $user['name_last'] }} | No | {{ App\Helpers\VatsimRating::from($user['rating'])->name }} | N/A | N/A | {{ isset($user['lastratingchange']) ? Carbon\Carbon::create($user['lastratingchange'])->toEuropeanDate() : 'N/A' }} | {{ Carbon\Carbon::create($user['reg_date'])->toEuropeanDate() }} | @endif