@extends('layouts.app') @section('htmlheader_title') Dashboard @endsection @php($user->load(['systems.akas.zone.domain.echoareas','systems.akas.echoareas'])) @section('content')

{{ $user->name }}

@if($user->systems->count())
@foreach ($user->systems->sortBy('name') as $o) @endforeach
System Addresses
{{ $o->name }} {{ $o->akas->count() }} AKAs configured

@if ($o->akas->count()) @foreach ($o->akas as $ao) {{ $ao->ftn }} ({{ $ao->security ?: '-' }})
@endforeach @else - @endif

Active and Available Echos

@foreach (($dl=$user ->systems ->pluck('akas')->flatten() ->pluck('zone.domain') ->unique() ->filter(function($item) { return $item->active && $item->public && $item->isManaged(); }) ->sortBy('name')) as $o) @endforeach
{{ $o->name }} ({{ ($sec=$user->systems->pluck('akas')->flatten()->filter(function($item) use ($o) { return $item->zone->domain_id === $o->id; })->max('security') ?: 0) ?? '-' }})

{{ ($sub=$user->systems->pluck('akas')->flatten()->pluck('echoareas')->flatten()->filter(function($item) use ($o) { return $item->domain_id === $o->id; }))->count() }} Subscribed
@foreach ($o->echoareas->sortBy('name') as $eo) {{ $eo->name }} @endforeach
@else

You are not linked to any BBS systems. Start here to link to your first.

@endif @endsection @section('page-css') @append @section('page-scripts') @js('highcharts') @append