@foreach ($data as $index => $item) {{-- --}} @endforeach
{{ __('tables.eleves') }} {{ __('tables.date') }} {{ __('tables.heure') }} {{ __('tables.matiere') }} {{ __('tables.commentaire') }} {{ __('tables.edit') }}
{{ $item['eleve'] }} {{ $item['date_cours'] }} {{ $item['heure_debut'] . ' - ' . $item['heure_fin'] }} {{ $item['matiere_designation'] }} @if ($item['is_absent'] == 1 || $item['is_retard'] == 1) @if ($item['is_absent'] == 1) Absent @endif @if ($item['is_retard'] == 1) Retard @endif @endif
{{-- --}}