@php date_default_timezone_set('Africa/Porto-Novo'); $mois = ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre']; @endphp
{{-- Universite --}}

{{ $universite->descruni }}

****************

{{ $etablissement->descreta }}

{{-- Etablissement --}}

FICHE DU PARCOURS DE L'ÉTUDIANT

{{-- CodeQr --}}

Pays d'origine: {{$data['infosEtudiant']->first()->nationalite}}

{{-- PhotoEtu --}}
Noms et Prénoms : {{ $data['infosEtudiant']->first()->nom }} {{ $data['infosEtudiant']->first()->prenom }} Sexe : {{ $data['infosEtudiant']->first()->sexe }}
Date et lieu de naissance : {{ $data['infosEtudiant']->first()->date_nais }} à {{ $data['infosEtudiant']->first()->lieu_nais }} N° d'inscription : {{ $data['infosEtudiant']->first()->matricule }}
{{--
@if ($test == 'YES')
Duplicata
@endif
--}}

@foreach ($data['infosEtudiant'] as $studentAtAYear) @endforeach
Année académique Niveau Filière Statut UE Restant % Crédit Moyenne Pondérée
{{$studentAtAYear->annee_acad - 1}} - {{$studentAtAYear->annee_acad}} {{$studentAtAYear->niveauFormation}} {{$studentAtAYear->annee}} {{$studentAtAYear->sigleFilieres}} @php if($studentAtAYear->statut == 1){ echo 'TP'; } elseif($studentAtAYear->statut == 2){ echo 'Boursier'; } else{ echo 'Réduction'; } @endphp @php if($studentAtAYear->nombreUErestant == 0){ echo '0'; } else{ echo ''; foreach($data['ues_'.$studentAtAYear->annee_acad] as $ue){ echo ''; foreach($data['ecues_'.$studentAtAYear->annee_acad.'_'.$ue->code_unite] as $ecu){ echo ''; } } echo '
annee_acad.'_'.$ue->code_unite]).' >'.$ue->intituleUnite.''.$ecu->intituleEcu.'
'; } @endphp
{{$studentAtAYear->pourcentageCredit}} {{$studentAtAYear->moyennePonderee}}
{{$etablissement->ville.', le '.now()->format('d').' '.$mois[now()->format('n')-1].' '.now()->format('o')}}