{{-- resources/views/livewire/admin/call-histories.blade.php --}}
{{-- Header --}}

سجل المكالمات

{{-- Statistics Cards --}}
{{ $totalCalls }}
كل المكالمات
{{ $incomingCalls }}
واردة
{{ $outgoingCalls }}
صادرة
{{ $missedCalls }}
لم يتم الرد عليها
{{-- Filters --}}
من
الى
{{-- Table Header --}}
الحالة
النوع
الوقت
المدة
الإجراءات
{{-- Call List --}}
@php $icons = [ 'incoming' => '↗', 'outgoing' => '↙', 'missed' => '✗', 'voiceMail' => '📩', 'rejected' => '✗', 'blocked' => '🚫', 'answeredExternally' => '📞', 'unknown' => '?', 'wifiIncoming' => '📶↗', 'wifiOutgoing' => '📶↙', ]; @endphp @forelse ($calls as $call)
{{ $icons[$call->type] ?? $icons['unknown'] }}

{{ $call->phone ?: $call->client?->phone }}

{{ __($call->type) }}

{{ $call->date . ' - ' . arabic_time($call->time) }}
{{ $call->duration }}
@if (!$call->client) @endif
@empty
لا توجد مكالمات
@endforelse {{-- Pagination --}}
{{ $calls->links() }}
{{-- Add Client Modal --}}
{{-- Styles --}} @push('styles') @endpush {{-- Scripts --}} @push('scripts') @endpush