@extends('app') @section('title', 'List note') @section('link') @endsection @section('content')
@include('includes._alert')

Liste des notes - {{ucfirst($class->libelle)}}

{{ucfirst($decoup->cutting->libelle.' [ '.($matter->matter->abbreviated ?? $matter->matter->libelle).' ]')}} @if (!$approved) @endif

@for ($i = 0; $i < $eval; $i++) @endfor @php $t=1 @endphp @foreach ($datas as $item) @for ($i = 0; $i < $eval; $i++) @endfor @endforeach
Nom et prénoms Genre MatriculeN{{$i+1}}Moyenne Rang
{{$t <= 9 ? '0'.$t++:$t++}}
{{$item['name']}}
{{ucfirst($item['sexe'] == 'F' ? 'Féminin':'Masculin')}}
{{$item['matricule']}}
{{$item['notes'][$i]['note'] ?? 'nc'}}
{{$item['moyen'] ? $item['moyen']['moyenne']:calculMoyenneMatter($item['notes'])}}
{{$item['moyen'] ? $item['moyen']['rang']:'--'}}
{{-- Modal --}} @endsection @section('script') @endsection