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

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

@if (Auth::check() && Auth::user()->user_name == 'admin') {{ __('إضافة جديدة') }} @endif @if (count($groupedGuidelines) > 0) {{ __('معاينة الإستبيان') }} @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 (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)
  • {{ $answer->answer_text }}
  • @endforeach
{{ __('العمليات') }}
@else
{{ __('لا توجد بيانات متاحة') }}
@endif
@endsection @section('js') @endsection