diff --git a/resources/views/students/show.blade.php b/resources/views/students/show.blade.php index 345d55d..c3b8dd0 100644 --- a/resources/views/students/show.blade.php +++ b/resources/views/students/show.blade.php @@ -2,175 +2,66 @@ @php $isAdmin = auth()->user()?->isAdmin() ?? false; @endphp - {{-- ===== HERO PROFIL PREMIUM ===== --}} -
- - NISN {{ $student->nisn ?: '-' }} - - - NIS {{ $student->student_number ?: '-' }} - -
-Dokumen Wajib
-{{ $requiredDocumentSummary['uploaded'] }}/{{ $requiredDocumentSummary['total'] }}
-{{ $requiredDocumentSummary['missing'] === 0 ? 'Lengkap semua' : 'Kurang ' . $requiredDocumentSummary['missing'] . ' dokumen' }}
-Prestasi
-{{ $student->achievements->count() }}
-{{ $student->achievements->pluck('level')->filter()->unique()->count() }} tingkat berbeda
-Orang Tua / Wali
-{{ $student->parents->count() }}
-{{ $student->parents->filter(fn ($parent) => filled($parent->phone_number))->count() }} punya nomor HP
-Histori Akademik
-{{ $student->academicHistories->count() }}
-{{ $student->academicHistories->where('is_current', true)->count() === 1 ? 'Posisi saat ini tercatat' : 'Riwayat penempatan' }}
-Upload & verifikasi dokumen wajib siswa
-Ringkasan upload dan verifikasi dokumen wajib siswa.
- - {{ $history->start_date?->format('d-m-Y') ?: '-' }} s/d {{ $history->end_date?->format('d-m-Y') ?: 'Sekarang' }} -
-| Tahun | +Jurusan | +Kelas | +Status | +Periode | +
|---|---|---|---|---|
| {{ $history->academicYear?->name ?: '-' }} | +{{ $history->department?->name ?: '-' }} | +{{ $history->classRoom?->name ?: '-' }} | ++ + {{ $history->is_current ? 'Aktif Sekarang' : ucfirst($history->status) }} + + | ++ {{ $history->start_date?->format('d-m-Y') ?: '-' }} s/d {{ $history->end_date?->format('d-m-Y') ?: 'Sekarang' }} + | +