@extends('layouts.admin') @section('title') {{ config('app.name', 'SMS') }} | E registrer les absences @endsection @section('header') @endsection @section('content')

Enregistrer les absences

@csrf
@if ($eleveSelection==true)
Année: {{$LaSeance->cour->module->classe->option->filiere->annee->nom_params}}
Departement: {{$LaSeance->cour->module->classe->option->filiere->departement->libelle}}
Filière: {{$LaSeance->cour->module->classe->option->filiere->libelle}}
Option: {{$LaSeance->cour->module->classe->option->libelle}}
Classe: {{$LaSeance->cour->module->classe->libelle}}
Module: {{$LaSeance->cour->module->libelle}}
Cours: {{$LaSeance->cour->module->libelle}}.{{$LaSeance->cour->semestre->cd_params}}
Séance: {{$LaSeance->date}}
@else @endif @if ($eleveSelection==true)
@csrf @forelse($etudiants as $key => $value) @php $test = App\Models\Absence::where('etudiant_id', $value->id) ->where('seance_id', $LaSeance->id) ->orderBy('id', 'desc')->first(); @endphp @empty @endforelse
Nom(s) et Prénom(s) des Etudiants Nombre d'heures d'absences
{{ $key+1 }} {{ $value->nom }} {{ $value->prenom }}
@if(empty($test)) @else @endif
Aucun étudiant trouvé !
@endif
@endsection @section('footer') @endsection