@extends('layouts.base', [ "breadcrumb" => [ // see partials/breadcrumb.blade.php for default options "title" => "GESTSTUDENT NOUVELLE GÉNÉRATION", "nav" => [ "ACCUEIL" => route("student.index"), "CORRIGE DE L'EPREUVE" => "javaScript:void(0);", ], ] ]) @section('title', "Corrige Epreuve") @section('css') @endsection @section('content') {{-- copy of the student --}}

{{$copy->nom." ".$copy->prenom}}

Filière : {{$copy->intituleFilieres." / ".$copy->annee_etude}}
Matière : {{$copy->intituleEcu}}
Composé le : {{$copy->formated_date}}
Note : {{$copy->note}} / {{$copy->echelle}}
@php // feuille de l'étudiant pour l'examen $feuille = explode('$', $copy->resultat); @endphp
    @foreach ($questions as $i => $question) @php // réponses possibles pour la question $reponses = $propoReponses[$question->idquestion]; // choix de l'étudiant $choix = empty($feuille[$i]) ? [] : explode("^",$feuille[$i]); @endphp
  1. {!! nl2br($question->intitulequestion) !!}
      @foreach ($reponses as $j => $rep)
    • idpropositionreponse, $choix) ? 'checked' : '' }} disabled /> {{ range('a', 'z')[$j] }}-) {!! nl2br($rep->proporeponse) !!}
    • @endforeach
  2. @endforeach
@endsection @section('script') {{-- include page's specific scripts here --}} @endsection