@extends('layouts.main_dashboard.app') @section('title', app()->getLocale() === 'ar' ? 'الدعم الاجتماعي' : 'Social Support') @section('skip_page_hero', true) @php($isArabic = app()->getLocale() === 'ar') @section('content')

{{ $isArabic ? 'الدعم الاجتماعي' : 'Social Support' }}

{{ $isArabic ? 'ملاحظات الأخصائية الاجتماعية وطلبات الحضور' : 'Social worker notes and parent requests' }}

{{ $isArabic ? 'كل ما تم ربطه بك من الأخصائية الاجتماعية بخصوص الأبناء يظهر هنا بوضوح.' : 'Everything linked to you by the social worker about your children appears here clearly.' }}

{{ $isArabic ? 'الملاحظات الاجتماعية' : 'Social notes' }}

@foreach($notes as $note)

{{ $note->title }}

{{ $note->student?->name ?? '—' }}

{{ $note->note }}

@endforeach @if($notes->isEmpty())
{{ $isArabic ? 'لا توجد ملاحظات اجتماعية مشتركة حتى الآن.' : 'No shared social notes yet.' }}
@endif

{{ $isArabic ? 'طلبات واستدعاءات ولي الأمر' : 'Parent requests and summons' }}

@foreach($requests as $request)

{{ $request->title }}

{{ $request->status }}

{{ $request->student?->name ?? '—' }} · {{ $request->meeting_at?->translatedFormat('Y/m/d h:i A') ?? ($isArabic ? 'بدون موعد محدد' : 'No meeting scheduled') }}

{{ $request->message }}

@endforeach @if($requests->isEmpty())
{{ $isArabic ? 'لا توجد طلبات من الأخصائية الاجتماعية حاليًا.' : 'No social worker requests right now.' }}
@endif
@endsection