@extends('layouts.adminpanel') @section('title') Admin Panel - Attendance @endsection @section('admin_content')
@if ($attendances->count() > 0)
All attendance: ({{ $attendances->count() }})
@foreach ($attendances as $attendance) @endforeach
ID Classes id Student ID Student name Student surname Seat number Creation date
{{ $attendance->id }} {{ $attendance->classes_id }} {{ $attendance->student_id_number }} {{ $attendance->student_name}} {{ $attendance->student_surname}} {{ $attendance->created_at }} Delete
@else

No attendance data yet.

@endif
@endsection