@extends('layouts.moderator') @section('title', 'الاجتماعات الإدارية') @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

الاجتماعات الإدارية

الاجتماعات التي تشارك فيها وتقاريرها

{{ $stats['total'] }} إجمالي اجتماعاتي
{{ $stats['scheduled'] }} مجدولة
{{ $stats['completed'] }} مكتملة
{{ $stats['cancelled'] }} ملغية
@forelse($meetings as $meeting) @empty @endforelse
عنوان الاجتماع تاريخ ووقت الاجتماع المشاركون حالة حضوري الحالة الإجراءات
{{ Str::limit($meeting->title, 50) }}
@if($meeting->description)
{{ Str::limit($meeting->description, 80) }}
@endif @if($meeting->location)
{{ $meeting->location }}
@endif
{{ $meeting->meeting_date->format('Y/m/d') }}
{{ $meeting->meeting_date->format('H:i') }}
@foreach($meeting->participants->take(3) as $participant) {{ $participant->user->name }} @if($participant->user_id == Auth::id()) (أنت) @endif @endforeach @if($meeting->participants->count() > 3) +{{ $meeting->participants->count() - 3 }} @endif
@php $myParticipation = $meeting->participants->where('user_id', Auth::id())->first(); @endphp @if($myParticipation) @if($myParticipation->attendance_status == 'attended') حضرت @elseif($myParticipation->attendance_status == 'absent_excused') غائب بعذر @elseif($myParticipation->attendance_status == 'absent_unexcused') غائب @else مدعو @endif @endif @if($meeting->status == 'scheduled') مجدول @elseif($meeting->status == 'ongoing') قيد التنفيذ @elseif($meeting->status == 'completed') مكتمل @else ملغي @endif
@if($meeting->hasReport()) @endif
لا توجد اجتماعات مدعو إليها تطابق معايير البحث
@if($meetings->hasPages())
{{ $meetings->withQueryString()->links() }}
@endif
@endsection