{{ __('استبيان تقييم الأداء الطلابي') }}

@if (Session::has('success')) @endif @if ($errors->any())
@endif
@csrf
{{ __('معلومات الطالب') }}
{{--
--}}
@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
{{ $department->name }} - {{ $standard->standard_name }}
@php $lastDeptStandard = $deptId . '-' . $standardId; $lastIndicator = null; @endphp @endif @if ($lastIndicator !== $indicatorId)
{{ __('المؤشر') }}: {{ $indicator->name }}
@php $lastIndicator = $indicatorId; @endphp @endif @foreach ($group as $guideline)
{{ $guideline->paragraph->name }}

{{ __('السؤال:') }} {{ 'كيف ' . $guideline->paragraph->name . '؟' }}

    @foreach ($guideline->answers as $answer)
  • id, old('answers')) ? 'checked' : '' }}>
  • @endforeach
@endforeach @if ($loop->last || (isset($groupedGuidelines[$loop->index + 1]) && explode('-', array_keys($groupedGuidelines)[$loop->index + 1])[0] . '-' . explode('-', array_keys($groupedGuidelines)[$loop->index + 1])[1] !== $lastDeptStandard))
@endif @endforeach