@extends('layouts.app') @section('htmlheader_title') Systems @endsection @section('content')

{{ $o->name }}

@if($o->phone) @endif @if($o->addresses->count()) @endif
System Name {{ $o->name }} @can('update',$o)Edit@endcan
Sysop {{ $o->sysop }}
Location {{ $o->location }}
Address {{ $o->access_method }}
Mailer {{ $o->access_mailer }}
Phone {{ $o->phone }}
FTN Addresses @foreach($o->addresses->sortBy('zone.domain.name')->groupBy('zone.domain.name') as $name => $children) @endforeach
Domain Addresses
{{ $name }} {{ $children->pluck('ftn3d')->join(', ') }}
Echoarea Activity @foreach($o->addresses->sortBy('zone.domain.name')->groupBy('zone.domain.name') as $net => $children) @if($children->pluck('echomails')->flatten()->count()) @foreach($children->pluck('echomails')->flatten()->sortBy('echoarea.name')->groupBy('echoarea.name') as $name => $echomails) @endforeach @else @endif @endforeach
Domain Echoarea # Last
{{ $net }} {{ $name }} {{ ($y=$children->pluck('echomail_from')->flatten()->where('echoarea_id',$x))->count() }} {{ $y->max('datetime') }}
{{ $net }} No Echoarea Activity
@endsection