@php use App\Models\{Address,Zone}; @endphp
@if(! $o->setup && ($x=Zone::active() ->whereIn('id',$o->zones->pluck('id')) ->whereNotIn('id',$o->sessions->pluck('id')) ->get())->count())

This host's mail is sent to:

@foreach($x as $zo) @foreach ($o->match($zo,Address::NODE_ALL) as $oo) @endforeach @endforeach
AKA Uplink
{{ $oo->ftn }} @if ($x=$oo->uplink()) {{ $x->ftn4d }} @else None @endif
@endif
@if($o->sessions->count())

This host collects mail for the following systems:

@foreach ($o->sessions->sortBy('zone_id') as $zo) @foreach ($o->match($zo,Address::NODE_ALL) as $oo) @endforeach @endforeach
AKA For Systems(s)
{{ $oo->ftn }} {!! (($x=$oo->downlinks()) && $x->count()) ? $x->pluck('ftn')->join('
') : 'None' !!}
@endif