@extends('layouts.main_dashboard.app') @section('title', $child->name) @section('skip_page_hero', true) @php $isArabic = app()->getLocale() === 'ar'; @endphp @section('content')
{{ $avgMark ? number_format($avgMark, 1) : '—' }}
{{ $isArabic ? 'متوسط الدرجات' : 'Avg. Mark' }}
{{ $attendanceSummary['pct'] !== null ? $attendanceSummary['pct'].'%' : '—' }}
{{ $isArabic ? 'نسبة الحضور' : 'Attendance' }}
{{ $submittedCount }}/{{ $totalAssignments }}
{{ $isArabic ? 'الواجبات المسلّمة' : 'Assignments' }}
{{ $quizAvg ? number_format($quizAvg, 0).'%' : '—' }}
{{ $isArabic ? 'متوسط الاختبارات' : 'Quiz Avg.' }}
{{ $subject }}
{{ $data['count'] }} {{ $isArabic ? 'درجة' : 'marks' }}
{{ $attendanceSummary['total'] }}
{{ $isArabic ? 'إجمالي الحصص' : 'Total' }}
{{ $attendanceSummary['present'] }}
{{ $isArabic ? 'حاضر' : 'Present' }}
{{ $attendanceSummary['absent'] }}
{{ $isArabic ? 'غائب' : 'Absent' }}
{{ $attendanceSummary['pct'] !== null ? $attendanceSummary['pct'].'%' : '—' }}
{{ $isArabic ? 'نسبة الحضور' : 'Rate' }}
{{ $qr['title'] }}
{{ $qr['subject'] }} · {{ $qr['date'] }}
{{ $ms->mark->title }}
{{ $ms->mark->course?->subject?->name }} @if($ms->mark->date) · {{ $ms->mark->date->format('Y-m-d') }} @endif
{{ $a['title'] }}
{{ $a['subject'] }} @if($a['due_date']) · {{ $a['due_date']->format('Y-m-d') }} @endif
{{ $isArabic ? 'تصدير التقارير' : 'Export Reports' }}