@extends('layouts.app') @section('title', 'ONTs') @section('content')

ONTs

{{ $onus->total() }} optical network terminal(s) on the plant.

PON ports
@include('components.kpi', ['label' => 'ONTs', 'value' => number_format($totals['count']), 'variant' => 'info']) @include('components.kpi', ['label' => 'Active', 'value' => number_format($totals['active']), 'variant' => 'good']) @include('components.kpi', ['label' => 'Degraded optical', 'value' => number_format($totals['degraded']), 'variant' => $totals['degraded'] ? 'warn' : 'good', 'href' => route('fibre.onus', ['health' => 'degraded'])]) @include('components.kpi', ['label' => 'No optical signal', 'value' => number_format($totals['noSignal']), 'variant' => $totals['noSignal'] ? 'bad' : 'good'])
@if ($onus->isEmpty()) @include('components.empty-state', [ 'icon' => '📡', 'title' => 'No ONTs found', 'message' => 'No optical terminal matches those filters.', ]) @else @foreach ($onus as $onu) @endforeach
SerialPON portService RxOpticalLast seen StatusUpdate
{{ $onu->serial_number }}
{{ $onu->vendor }} {{ $onu->model }}
@if ($onu->pon) {{ $onu->pon->pon_port }}
{{ $onu->pon->olt?->name }}
@else — @endif
@if ($onu->service) {{ $onu->service->service_number }}
{{ $onu->service->customer?->display_name }}
@else unbound @endif
{{ $onu->rx_power_dbm !== null ? $onu->rx_power_dbm : '—' }} {{ title_case_words($onu->optical_health) }} {{ $onu->last_seen_at?->diffForHumans() ?: 'never' }} {{ title_case_words($onu->status) }}
@csrf @method('PUT') @if (! $onu->service_id) @endif
@if (! $onu->service_id)
@csrf @method('DELETE')
@endif
@endif
@if ($onus->hasPages())
{{ $onus->links('partials.pagination') }}
@endif
@endsection