@extends('layouts.main_dashboard.app') @section('title', app()->getLocale() === 'ar' ? 'التقارير والتحليلات' : 'Reports and Analytics') @section('skip_page_hero', true) @php($isArabic = app()->getLocale() === 'ar') @section('content')

{{ $isArabic ? 'التقارير والتحليلات' : 'Reports and analytics' }}

{{ $isArabic ? 'قراءة كلية للمشكلات المدرسية بدون كشف الأفراد' : 'Aggregated school issues without exposing identities' }}

{{ $isArabic ? 'تصدير التقرير' : 'Export report' }} {{ $isArabic ? 'PDF الجلسات' : 'Sessions PDF' }} {{ $isArabic ? 'PDF الإحالات' : 'Referrals PDF' }}

{{ $isArabic ? 'إجمالي الحالات' : 'Total cases' }}

{{ $overview['total_cases'] }}

{{ $isArabic ? 'المفتوحة' : 'Open' }}

{{ $overview['open_cases'] }}

{{ $isArabic ? 'مرتفعة الشدة' : 'High severity' }}

{{ $overview['high_severity'] }}

{{ $isArabic ? 'المغلقة' : 'Resolved' }}

{{ $overview['resolved_cases'] }}

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