@extends('pages.index') @section('admin_content')

Identitas Siswa

@php $totalSiswa = $students->count(); $totalKelas = $classes->count(); @endphp
Total Siswa
{{ $totalSiswa }}
Total Kelas
{{ $totalKelas }}
Daftar Identitas Siswa
@foreach($students as $student) @endforeach
Foto Profil Foto Webcam Nama Email NISN Kelas Tahun Masuk Password
@if($student->user->profile_picture) Foto Profil @else Foto Profil @endif @if($student->pictures)
@php $photos = explode(',', $student->pictures); @endphp @foreach($photos as $photo) @if(!empty($photo)) Foto Webcam @endif @endforeach
@else @endif
{{ $student->name }} {{ $student->user->email }} {{ $student->nisn }} {{ $student->class->name ?? '-' }} {{ $student->entry_year }} starbaks
{{-- Flash & validation feedback (single source) --}} @endsection