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

{{ $isArabic ? 'إدارة الرعاية الاجتماعية' : 'Social care management' }}

{{ $isArabic ? 'إشراف إداري على الملفات الحساسة والتقارير' : 'Administrative oversight for sensitive records and reporting' }}

{{ $isArabic ? 'الملاحظات' : 'Notes' }}

{{ $overview['notes'] }}

{{ $isArabic ? 'الإحالات' : 'Referrals' }}

{{ $overview['referrals'] }}

{{ $isArabic ? 'الوقائع' : 'Incidents' }}

{{ $overview['incidents'] }}

{{ $isArabic ? 'الموارد' : 'Resources' }}

{{ $overview['resources'] }}

@foreach($rows as $row)@endforeach
{{ $isArabic ? 'الفئة' : 'Category' }}{{ $isArabic ? 'الإجمالي' : 'Total' }}{{ $isArabic ? 'المفتوح' : 'Open' }}{{ $isArabic ? 'مرتفع الشدة' : 'High severity' }}{{ $isArabic ? 'المغلق' : 'Resolved' }}
{{ $row['issue_type'] }}{{ $row['total_cases'] }}{{ $row['open_cases'] }}{{ $row['high_severity'] }}{{ $row['resolved_cases'] }}

{{ $isArabic ? 'آخر أحداث التدقيق' : 'Latest audit events' }}

@foreach($audits as $audit)

{{ $audit->action }}

{{ $audit->user?->name ?? '—' }} • {{ $audit->student?->name ?? '—' }} • {{ $audit->created_at?->format('Y-m-d H:i') ?? '—' }}

@endforeach
@endsection