@extends('layouts.superadmin') @section('title', 'مشاركي المسابقة: ' . $competition->title) @section('content') {{-- Navigation Tabs - Responsive --}}
القائمة نظرة عامة المشاركون {{ $competition->participants()->count() }} الإرسالات {{ $competition->submissions()->count() }} الفائزون @php($winnersCount = $competition->participants()->where('status', 'winner')->count()) @if($winnersCount > 0) {{ $winnersCount }} @endif
{{-- Custom Scrollbar Styles --}}

مشاركي المسابقة

{{ $competition->title }}

إجمالي المشاركين

{{ $participants->total() }}

المؤهلون

{{ $participants->where('status', 'qualified')->count() }}

الفائزون

{{ $participants->where('status', 'winner')->count() }}

المستبعدون

{{ $participants->where('status', 'disqualified')->count() }}

فلترة المشاركين

{{-- قائمة المشاركين - Cards Grid --}}

قائمة المشاركين

@if($participants && $participants->count() > 0)
@foreach($participants as $participant)
{{-- User Header --}}
{{ $participant->user->name }}

{{ $participant->user->name }}

{{ $participant->user->email }}

{{-- Status Badge --}} {{ $participant->status_text }}
{{-- Participant Info --}}
تاريخ الانضمام {{ $participant->joined_at->format('Y/m/d') }}
الإرسالات {{ $participant->submissions_count ?? 0 }}
النقاط الممنوحة @if($participant->awarded_points > 0) {{ $participant->awarded_points }} @else - @endif
{{-- Actions --}}
@if($participant->status === 'participating') @elseif($participant->status === 'qualified') @endif
@endforeach
@else

لا توجد مشاركات بعد

لم يتم إضافة أي مشاركين حتى الآن

@endif {{-- Pagination --}} @if($participants->hasPages())
{{ $participants->appends(request()->query())->links() }}
@endif
@endsection