@extends('client.layouts.dashboard') @section('title', 'Detailed Logs') @section('styles') @endsection @section('content')
Track every user, number, call, SMS, WhatsApp, and follow-up in one place.
| User | Calls | In | Out | Missed | SMS | WA |
|---|---|---|---|---|---|---|
|
{{ $u->name }}
{{ $u->email }}
|
{{ number_format($u->calls_total_count) }} | {{ number_format($u->calls_incoming_count) }} | {{ number_format($u->calls_outgoing_count) }} | {{ number_format($u->calls_missed_count) }} | {{ number_format($u->sms_count) }} | {{ number_format($u->whatsapp_count) }} |
| No user statistics found | ||||||
| User | Number | Total | Last Seen | |
|---|---|---|---|---|
|
{{ $row->user_name ?? 'N/A' }}
|
{{ $row->phone_number }}
@if(!empty($row->contact_name) && $row->contact_name !== '—')
{{ $row->contact_name }}
@endif
|
{{ number_format($row->total_events) }} | {{ \Carbon\Carbon::parse($row->last_seen)->format('M d, Y h:i A') }} | View History |
| No grouped history found | ||||
| Time | User | Number | Type | Status | Details | Action |
|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($row->event_time)->format('M d, Y h:i A') }} |
{{ $row->user_name ?? 'N/A' }}
|
{{ $row->phone_number }}
@if(!empty($row->contact_name) && $row->contact_name !== '—')
{{ $row->contact_name }}
@endif
|
@if($row->event_type === 'call') CALL @elseif($row->event_type === 'whatsapp') WA @else SMS @endif | @if($row->event_type === 'call') @if($row->direction === 'incoming')Incoming @elseif($row->direction === 'outgoing')Outgoing @elseMissed@endif @else @if($row->message_status === 'sent')Sent @elseif($row->message_status === 'pending')Pending @elseFailed@endif @endif |
@if($row->event_type === 'call')
Call status: {{ $row->call_status ? ucfirst(str_replace('_', ' ', $row->call_status)) : '—' }}
@else
Duration: {{ (int) ($row->call_duration ?? 0) }} sec @if(!empty($row->status_note)) Note: {{ $row->status_note }}@endif
{{ $row->message ?? '—' }}
@endif
|
Focus |
| No detailed events found | ||||||