@extends('layouts.dashboard') @section('title', 'Call Summary Report') @section('content')
| ID | User | Phone Number | Type | Status | Note | Duration | SMS Sent | Time |
|---|---|---|---|---|---|---|---|---|
| {{ $log->id }} | {{ $log->user->name ?? 'N/A' }} |
{{ $log->phone_number }}
@if(!empty($log->contact_name))
{{ $log->contact_name }}
@endif
|
@switch(strtoupper($log->call_type)) @case('INCOMING') Incoming @break @case('OUTGOING') Outgoing @break @case('MISSED') Missed @break @case('REJECTED') Rejected @break @default {{ $log->call_type }} @endswitch | @if($log->status_label) {{ $log->status_label }} @else — @endif | {{ $log->status_note ?: '—' }} | {{ gmdate('i:s', $log->call_duration ?? 0) }} | @if($log->sms_sent) Yes @else No @endif | {{ $log->call_time }} |
| No calls found for the selected criteria. | ||||||||