@extends('layout.template') @section('intitule')

MODIFICATION DE NOTES POUR : {{ $nomEC }}

@endsection @section('breadcrumb') @endsection @section('styles') @endsection @section('main')

Notes des étudiants

Ce formulaire permet de supprimer la note des étudiants par EC.

@php $number = 0; $limite = 0; @endphp @for ($i = 0; $i < $nombredepages; $i++)
STEP {{$i+1}}
@php $compte = 0 ; $nbreEtud = 0; @endphp @foreach ($selections as $selection) @if ($compte < $limite) @php $compte++ @endphp @continue @endif @php $nbreEtud ++; $number++; $nom = $selection->nom; $prenom = $selection->prenom; $matricule = $selection->matricule; @endphp @foreach ($notes as $note) @if ($note->matricule == $matricule) @php $noteEtud = $note->noteEcu; $compteur = $note->compteur; $date_modif = $note->date_modif; $auteur_modif = $note->auteur_modif; @endphp @endif @endforeach @foreach ($students as $student) @if ($student->matricule == $auteur_modif) @php $nom_auteur = $student->nom; $prenom_auteur = $student->prenom; $style = ''; @endphp @endif @endforeach @if ($compteur == 1) @php $style = 'font-color:arial;font-weight:bold;color:white;font-size:13px;background-color:#ff00bf'; @endphp @endif @if ($compteur > 1) @php $style = 'font-color:arial;font-weight:bold;color:white;font-size:13px;background-color:red'; @endphp @endif @if ($compteur >= 1) @else @endif @if ($nbreEtud == $etu) @php $limite=$number; @endphp @break @endif @endforeach
# Matricule Noms & Prénoms Notes
{{ $number }} {{ $matricule }} {{ $nom }} {{ $prenom }}
{{ $number }} {{ $matricule }} {{ $nom }} {{ $prenom }}
@endfor
@endsection @section('scripts') @if (Session::has('error')) @endif @endsection