@extends('layouts.master_panel') @section('title') Liste provisoire d'absences @stop @section('CSS') @stop @section('JS') @stop @section('content')
@if(auth()->user()->is_admin == 1 OR auth()->user()->is_personnel == 1) Télécharger les absences du matin Télécharger les absences de l'après-midi @endif
@if(Session::has('error')) @endif @if(Session::has('success')) @endif
@if(auth()->user()->is_admin == 1) @endif @foreach($absences as $absence)
Type élève Classe - Matière date Heure Enseignant AgentAction
{{ $absence->id }} @if($absence->absence_type == 1) @elseif($absence->absence_type == 2) @endif @if($absence->user) {{ $absence->user->nom . ' ' . $absence->user->prenom }} @endif @if($absence->classe) {{ $absence->classe->name }} - {{ $absence->subject->name }} @endif