@extends('layout.app') @section('title') {{ __('عرض بطاقات رصد الإجابات للمعلمين') }} @endsection @section('css') @endsection @section('content')

{{ __('بطاقة رصد الإجابات للموجة للمعلمين') }}

@if (!$finalized && count($groupedGuidelines) > 0) @endif @if (count($groupedGuidelines) > 0) {{ __('تصدير PDF') }} @endif @if (Auth::check() && Auth::user()->user_name == 'admin') {{ __('إضافة جديدة') }} @endif
@if (count($groupedGuidelines) > 0) @php $lastDeptStandard = null; $lastIndicator = null; @endphp @foreach ($groupedGuidelines as $groupKey => $group) @php [$deptId, $standardId, $indicatorId] = explode('-', $groupKey); $department = $group->first()->department; $standard = $group->first()->standard; $indicator = $group->first()->indicator; @endphp @if ($lastDeptStandard !== $deptId . '-' . $standardId) @if ($lastDeptStandard !== null) @endif @php $lastDeptStandard = $deptId . '-' . $standardId; $lastIndicator = null; @endphp @endif @if ($lastIndicator !== $indicatorId) @php $lastIndicator = $indicatorId; @endphp @endif @foreach ($group as $guideline) @if ($finalized && isset($evaluations[$guideline->paragraph->id])) @endif @if (!$finalized && Auth::check() && Auth::user()->user_name == 'admin') @endif @endforeach @endforeach
{{ $department->name }} - {{ $standard->standard_name }}
{{ __('المؤشر') }}: {{ $indicator->name }}
{{ __('الفقرة') }} {{ $guideline->paragraph->name }}
{{ __('السؤال') }} {{ 'كيف ' . $guideline->paragraph->name . '؟' }}
{{ __('الإجابات المتوقعة') }}
    @foreach ($guideline->answers as $answer)
  • paragraph->id]) && $userAnswers[$guideline->paragraph->id]->contains('answer_id', $answer->id)) checked @endif @if ($finalized) disabled @endif> {{ $answer->answer_text }}
  • @endforeach
{{ __('التقييم') }} {{ $evaluations[$guideline->paragraph->id] }}
{{ __('العمليات') }}
@else
{{ __('لا توجد بيانات متاحة') }}
@endif
@endsection @section('js') @endsection