@extends('layouts.superadmin') @section('title', 'تقرير الاجتماع - ' . $meeting->title) @section('content')

تقرير الاجتماع #{{ $meeting->id }}

{{ $meeting->title }}

{{ $meeting->formatted_date }}

العودة للاجتماع

تقرير اجتماع إداري

{{ $meeting->title }}

{{ $meeting->formatted_date }}

@if($meeting->location)

{{ $meeting->location }}

@endif

معلومات الاجتماع

التاريخ: {{ $meeting->meeting_date->format('Y/m/d') }}
الوقت المجدول: {{ $meeting->meeting_date->format('H:i') }}
عدد المشاركين: {{ $meeting->participants->count() }}
منشئ الاجتماع: {{ $meeting->creator->name }}
@if($meeting->report)

التوقيت الفعلي

وقت البداية: {{ $meeting->report->formatted_start_time }}
وقت النهاية: {{ $meeting->report->formatted_end_time }}
المدة: {{ $meeting->report->formatted_duration }}
كاتب التقرير: {{ $meeting->report->creator->name }}
@endif
@if($meeting->report && $meeting->report->agenda)

جدول الأعمال

{{ $meeting->report->agenda }}

@endif @if($meeting->report && $meeting->report->discussions)

المناقشات

{{ $meeting->report->discussions }}

@endif @if($meeting->report && $meeting->report->decisions)

القرارات المتخذة

{{ $meeting->report->decisions }}

@endif @if($meeting->report && $meeting->report->action_items)

الإجراءات المطلوبة

{{ $meeting->report->action_items }}

@endif @if($meeting->report && $meeting->report->notes)

ملاحظات إضافية

{{ $meeting->report->notes }}

@endif

قائمة الحضور والغياب

@php $attendanceGroups = $meeting->participants->groupBy('attendance_status'); $attended = $attendanceGroups->get('attended', collect()); $absentExcused = $attendanceGroups->get('absent_excused', collect()); $absentUnexcused = $attendanceGroups->get('absent_unexcused', collect()); $total = $meeting->participants->count(); @endphp
@if($attended->count() > 0)
الحاضرون ({{ $attended->count() }})
    @foreach($attended as $participant)
  • {{ $participant->user->name }}
  • @endforeach
@endif @if($absentExcused->count() > 0)
غائب بعذر ({{ $absentExcused->count() }})
    @foreach($absentExcused as $participant)
  • {{ $participant->user->name }}
    @if($participant->excuse_reason)
    ({{ $participant->excuse_reason }})
    @endif
  • @endforeach
@endif @if($absentUnexcused->count() > 0)
غائب بدون عذر ({{ $absentUnexcused->count() }})
    @foreach($absentUnexcused as $participant)
  • {{ $participant->user->name }}
  • @endforeach
@endif
إحصائيات الحضور
{{ $attended->count() }}
حاضر
{{ $absentExcused->count() }}
غائب بعذر
{{ $absentUnexcused->count() }}
غائب بدون عذر
{{ $total > 0 ? round(($attended->count() / $total) * 100) : 0 }}%
نسبة الحضور
@if($total > 0)
نسبة الحضور الإجمالية {{ round(($attended->count() / $total) * 100) }}%
@endif
@if($meeting->report)
أعد التقرير

{{ $meeting->report->creator->name }}

تاريخ إعداد التقرير

{{ $meeting->report->created_at->format('Y/m/d H:i') }}

@endif
@endsection