@extends('layout.app') @section('content')

OLT List {{ $oltinfos->count() }}

@foreach ($oltinfos as $oltinfo) @endforeach
Id OLT Address Community Port Company Type Remarks MikroTik Status Action
{{ $oltinfo->id }} {{ $oltinfo->olt_address }} {{ $oltinfo->community }} {{ $oltinfo->port }} {{ $oltinfo->olt_company }} {{ $oltinfo->olt_type }} {{ $oltinfo->olt_remarks ?? '—' }} @isset($oltMikrotikMap[$oltinfo->id]) @foreach($oltMikrotikMap[$oltinfo->id] as $mk) {{ $mk->nasname }} @endforeach @else — @endisset Pending… Run
@csrf @method('DELETE')
{{-- Run Log --}} @if(session('olt_run_log'))

Run Log

Clear Log
@foreach(session('olt_run_log') as $entry) @php $rowClass = $entry['type'] === 'success' ? 'table-success' : ($entry['type'] === 'warning' ? 'table-warning' : 'table-danger'); @endphp @endforeach
Time OLT Message
{{ $entry['time'] }} {{ $entry['olt'] }} {{ $entry['message'] }}
@endif {{-- Create / Edit Modal --}} @endsection @section('ajax') @endsection