@extends('dashboard.layouts.base') @section('content') @php \Carbon\Carbon::setLocale('ar'); @endphp

الدردشات المبلّغ عنها

@forelse ($chats as $index => $chat) @php $reporter = $chat->is_reported_by_user_one ? $chat->userOne : ($chat->is_reported_by_user_two ? $chat->userTwo : null); $reportedUser = $chat->is_reported_by_user_one ? $chat->userTwo : ($chat->is_reported_by_user_two ? $chat->userOne : null); @endphp @empty @endforelse
# المُبلّغ المُبلّغ عنه تاريخ الإبلاغ العمليات
{{ $chats->firstItem() + $index }} @if ($reporter) {{ $reporter->name }} @else غير معروف @endif @if ($reportedUser) {{ $reportedUser->name }} @else غير معروف @endif {{ $chat->reported_chat_time ? $chat->reported_chat_time->translatedFormat('d F Y، h:i A') : '-' }} عرض المحادثة
لا توجد دردشات مُبلّغ عنها
{{ $chats->links() }}
@endsection