@if($deviceReady) Ready @elseif($deviceRegistering) Connecting @else Offline @endif
@if($inCall) {{ $this->callDurationLabel }} @else {{ strtoupper($callState) }} @endif
{{ strtoupper(substr($this->callableLabel, 0, 1)) }}
{{ $this->callableLabel }}
{{ $this->callableNumber ?: 'No number available' }}
{{ $errorMessage ?: ($statusMessage ?: 'Ready to call') }}
Case
@if($showWrapUp)
Call Wrap-Up
@error('disposition')
{{ $message }}
@enderror
@if($callbackRequired)
@error('callbackAt')
{{ $message }}
@enderror
@endif
@error('notes')
{{ $message }}
@enderror
@endif
Recent Calls
@forelse($this->recentCommunications as $communication)
{{ ucfirst(is_object($communication->direction) ? $communication->direction->value : $communication->direction) }} {{ ucfirst(is_object($communication->channel) ? $communication->channel->value : $communication->channel) }}
{{ optional($communication->started_at)?->format('d M H:i') }}
@if($communication->preview)
{{ $communication->preview }}
@endif @if($communication->call)
{{ $communication->call->from_number }} → {{ $communication->call->to_number }}
@endif @if($communication->recordings->isNotEmpty())
Recording available
@endif
@empty
No recent calls yet.
@endforelse