@extends('dashboard.layouts.base') @section('content')

تفاصيل المستخدم

رجوع
{{-- Basic User Information --}}
الاسم {{ $user->name }}
الايميل {{ $user->email }}
رقم الهاتف {{ $user->country_code }} {{ $user->phone }}
النوع {{ $user->gender == 'male' ? 'ذكر' : 'أنثى' }}
الصورة user image
آخر ظهور {{ $user->last_seen ? \Carbon\Carbon::parse($user->last_seen)->diffForHumans() : 'غير متاح' }}
عدد البلاغات {{ $countReports }}
@csrf @if ($user->is_blocked) @else @endif
{{-- Received Reports Section --}}
📝 التقارير المستلمة
@if($user->reportsReceived->isNotEmpty())
@foreach($user->reportsReceived as $report)
السبب: {{ $report->reasonInfo?->reason ? (is_array($report->reasonInfo->reason) ? $report->reasonInfo->reason['ar'] ?? '-' : $report->reasonInfo->reason) : '—' }}
بواسطة: @if($report->reporter) {{ $report->reporter->name }} @else مستخدم محذوف @endif
📅 تاريخ الإبلاغ: {{ $report->created_at->format('Y-m-d H:i') }}
@endforeach
@else

لا توجد بلاغات لهذا المستخدم

@endif
{{-- Additional Attributes --}}

البيانات الإضافية

العمر {{ $user->attribute->age ?? '-' }}
الوزن {{ $user->attribute->weight ?? '-' }} كجم
الطول {{ $user->attribute->height ?? '-' }} سم
الحالة الاجتماعية {{ $user->attribute?->marital_status ? __("user.{$user->attribute?->marital_status}") : '-' }}
المؤهل {{ $user->attribute->qualification->name ?? '-' }}
الوظيفة {{ $user->attribute?->job?->getTranslation("name", app()->getLocale())[$user->gender] ?? '-' }}
الدخل {{ $user->attribute?->income?->getTranslation("name", app()->getLocale()) ?? '-' }}
الجنسية {{ $user->attribute?->nationality?->getTranslation("name", app()->getLocale())[$user->gender] ?? '-' }}
الدولة {{ $user->attribute->country->name ?? '-' }}
المدينة {{ $user->attribute->city->name ?? '-' }}
لون البشرة {{ $user->attribute?->skinColor->name ?? '-' }}
الحالة الصحية {{ $user->attribute?->healthCondition->name ?? '-' }}
الحالة الدينية {{ $user->attribute?->religious_commitment ? __("user.{$user->attribute?->religious_commitment}") : '-' }}
الصلاة {{ $user->attribute?->prayer ? __("user.{$user->attribute?->prayer}") : '-' }}
التدخين {{ is_null($user->attribute?->smoking) ? '-' : ($user->attribute->smoking ? 'نعم' : 'لا') }}
الحجاب {{ $user->attribute?->hijab ? __("user.{$user->attribute?->hijab}") : '-' }}
عن نفسي {{ $user->attribute?->about_me ?? '-' }}
شريك الحياة {{ $user->attribute?->life_partner ?? '-' }}
@endsection