@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

@php $i = 1 @endphp @foreach ($datas as $item) @endforeach
Nom et prénoms Genre Matricule CF OG EO Moyenne Rang
{{$i <= 9 ? '0'.$i++:$i++}}
{{$item['name']}}
{{ucfirst($item['sexe'] == 'F' ? 'Féminin':'Masculin')}}
{{$item['matricule']}}
@foreach ($item['notes']['CF']['notes'] as $item1) @endforeach
{{$item1['note'] ?? 'nc'}}
Moy : {{$item['notes']['CF']['moyenne']}}
@foreach ($item['notes']['OG']['notes'] as $item3) @endforeach
{{$item3['note'] ?? 'nc'}}
Moy : {{$item['notes']['OG']['moyenne']}}
@foreach ($item['notes']['EO']['notes'] as $item2) @endforeach
{{$item2['note'] ?? 'nc'}}
Moy : {{$item['notes']['EO']['moyenne']}}
{{$item['moyen'] ? $item['moyen']['moyenne']:'--'}}
{{$item['moyen'] ? $item['moyen']['rang']:'--'}}
{{-- Modal --}} @endsection @section('script') @endsection