@extends('layouts.superadmin') @section('title','نظام زُهرة — عرض اجتماع') @section('content')
{{-- TOP BAR --}}
محضر (Wizard) {{-- Broadcast --}}
@csrf
@if(session('success'))
{{ session('success') }}
@endif {{-- HERO --}}
زُهرة — ملف اجتماع

{{ $meeting->title }}

التاريخ: {{ \Carbon\Carbon::parse($meeting->meeting_date)->format('Y-m-d H:i') }} @if($meeting->location) · المكان: {{ $meeting->location }} @endif · الحالة: {{ \App\Services\Zuhra\ZuhraAi::statusLabel($meeting->status) }}
@if($meeting->description)

{{ $meeting->description }}

@endif
@php $riskBadge = $riskLevel['badge'] ?? 'bg-white/5 border-white/10 text-white/70'; $riskDot = $riskLevel['dot'] ?? 'bg-white/30'; @endphp
Zuhra AI
{{ $riskLevel['label'] ?? '—' }} · {{ $risk }}/20
الحضور
{{ $attendance['attended'] }}/{{ $attendance['total'] }}
غياب بدون عذر
{{ $attendance['unexcused'] }}
اكتمال المحضر
{{ $comp['percent'] }}%
المدة
{{ $duration ? $duration.' د' : '—' }}
نصيحة: {{ $tips[0] ?? '—' }}
{{-- PARTICIPANTS --}}
Participants
المشاركون
{{ $participants->count() }} مشارك
@foreach($participants as $p) @php $s = $p->attendance_status; $badge = match($s){ 'attended' => 'bg-emerald-500/15 border-emerald-400/25 text-emerald-200', 'absent_excused' => 'bg-amber-500/15 border-amber-400/25 text-amber-200', 'absent_unexcused' => 'bg-rose-500/15 border-rose-400/25 text-rose-200', default => 'bg-white/5 border-white/10 text-white/70' }; @endphp @endforeach
الاسم الحالة سبب (إن وجد)
{{ optional($p->user)->name ?? ('#'.$p->user_id) }} {{ \App\Services\Zuhra\ZuhraAi::attendanceLabel($s) }} {{ $p->excuse_reason ?? '—' }}
{{-- REPORT --}}
Report
محضر الاجتماع
تعديل/كتابة المحضر
@if(!$report)
لا يوجد محضر لهذا الاجتماع بعد.
@else
الأجندة
{{ $report->agenda ?: '—' }}
النقاشات
{{ $report->discussions ?: '—' }}
القرارات
{{ $report->decisions ?: '—' }}
المهام التنفيذية
{{ $report->action_items ?: '—' }}
ملاحظات
{{ $report->notes ?: '—' }}
@endif
{{-- AI TIPS --}}
Zuhra AI
توصيات متابعة
{{ count($tips) }} نصيحة
@foreach($tips as $t)
{{ $t }}
@endforeach
@endsection