@extends('client.layouts.dashboard') @section('title', 'User Details') @section('styles') @endsection @section('content')
{{ $user->email }}
{{ $user->rejection_reason }}
| Phone | Channel | Type | Status | Time |
|---|---|---|---|---|
| {{ $sms->phone_number }} | @if($sms->channel === 'whatsapp') WA @else SMS @endif | @if($sms->sms_type === 'auto_reply') Auto Reply @elseif($sms->sms_type === 'promotion') Promotion @else {{ ucfirst(str_replace('_', ' ', $sms->sms_type ?? 'unknown')) }} @endif | @if($sms->status === 'sent') Sent @elseif($sms->status === 'pending') Pending @else Failed @endif | {{ $sms->created_at->diffForHumans() }} |
| No message logs yet | ||||
| Phone | Type | Duration | Time |
|---|---|---|---|
| {{ $call->phone_number }} | @if($call->call_type === 'incoming') Incoming @elseif($call->call_type === 'outgoing') Outgoing @else Missed @endif | {{ $call->duration ? gmdate('i:s', $call->duration) : '-' }} | {{ $call->created_at->diffForHumans() }} |
| No call logs yet | |||