@extends('layouts.app') @section('content')
@if($activeCalls->count() > 0)
@foreach($activeCalls as $call)
{{ $call->handset->name ?? 'Unknown Handset' }}
{{ $call->call_status }}
Direction
{{ ucfirst($call->call_direction) }}
Remote Number
{{ $call->remote_number ?? 'Unknown' }}
Base Station
{{ $call->baseStation->name ?? 'N/A' }}
Started
{{ $call->start_time->format('H:i:s') }}
Duration
{{ $call->start_time->diffForHumans() }}
Quality
@if($call->quality_score) {{ $call->quality_score }}/5.0 @else Monitoring... @endif
@csrf
Details
@endforeach
@else

No Active Calls

There are currently no active DECT calls in progress.

View Call History
@endif
@endsection