- {{ $requiredDocumentSummary['missing'] === 0 ? 'Upload lengkap' : 'Kurang ' . $requiredDocumentSummary['missing'] . ' dokumen' }}
+ {{-- ===== HERO PROFIL PREMIUM ===== --}}
+
+
+
+
+
+
+
+
+
+
{{ $student->full_name }}
+
+
+
+ NISN {{ $student->nisn ?: '-' }}
+
+
+ NIS {{ $student->student_number ?: '-' }}
+
+
+
+
+ {{ $student->classRoom?->name ?: '-' }}
+
+
+ {{ $student->department?->name ?: '-' }}
+
+
+ TA {{ $student->academicYear?->name ?: '-' }}
+
+
+
+
+
+
+ {{-- ===== KPI STRIP ===== --}}
+
+
+
+
-
{{ $requiredDocumentSummary['verification_percentage'] }}%
-
- {{ $requiredDocumentSummary['unverified'] === 0 && $requiredDocumentSummary['missing'] === 0 ? 'Terverifikasi penuh' : $requiredDocumentSummary['unverified'] . ' belum valid' }}
-
+
Dokumen Wajib
+
+
{{ $requiredDocumentSummary['missing'] === 0 ? 'Lengkap semua' : 'Kurang ' . $requiredDocumentSummary['missing'] . ' dokumen' }}
+
+
+
+
+
+
+
+
Prestasi
+
+
{{ $student->achievements->pluck('level')->filter()->unique()->count() }} tingkat berbeda
+
+
+
+
+
+
+
+
+
+
+
Orang Tua / Wali
+
+
{{ $student->parents->filter(fn ($parent) => filled($parent->phone_number))->count() }} punya nomor HP
+
+
+
+
+
+
+
+
+
+
+
Histori Akademik
+
+
{{ $student->academicHistories->where('is_current', true)->count() === 1 ? 'Posisi saat ini tercatat' : 'Riwayat penempatan' }}
+
+
+
+
+
+
+
-
+ {{-- ===== PROGRES DOKUMEN WAJIB ===== --}}
+
+
+
+
+
+
+
+
Kelengkapan Dokumen Wajib
+
Upload & verifikasi dokumen wajib siswa
+
+
+
+
+
+
{{ $requiredDocumentSummary['missing'] === 0 ? 'Upload lengkap' : 'Kurang ' . $requiredDocumentSummary['missing'] }}
+
+
+
+
+
Upload Dokumen Wajib
{{ $requiredDocumentSummary['uploaded'] }}/{{ $requiredDocumentSummary['total'] }}
-
-
Verifikasi Dokumen Wajib
{{ $requiredDocumentSummary['verified'] }}/{{ $requiredDocumentSummary['total'] }}
-
+ @if ($requiredDocumentSummary['missing_items']->isNotEmpty() || $requiredDocumentSummary['unverified_items']->isNotEmpty())
+
+ @foreach ($requiredDocumentSummary['missing_items'] as $missingDocument)
+ Belum upload: {{ $missingDocument }}
+ @endforeach
+ @foreach ($requiredDocumentSummary['unverified_items'] as $unverifiedDocument)
+ Belum valid: {{ $unverifiedDocument }}
+ @endforeach
+
+ @endif
-
- @if ($requiredDocumentSummary['missing_items']->isNotEmpty() || $requiredDocumentSummary['unverified_items']->isNotEmpty())
-
- @foreach ($requiredDocumentSummary['missing_items'] as $missingDocument)
- Belum upload: {{ $missingDocument }}
- @endforeach
- @foreach ($requiredDocumentSummary['unverified_items'] as $unverifiedDocument)
- Belum valid: {{ $unverifiedDocument }}
- @endforeach
-
- @endif
-
+
@@ -84,7 +193,7 @@
-
+
@@ -102,7 +211,7 @@
-
@if ($student->academicHistories->isEmpty())
-
Belum ada histori akademik untuk siswa ini.
+
Belum ada histori akademik untuk siswa ini.
@else
-
-
-
-
- | Tahun |
- Jurusan |
- Kelas |
- Status |
- Periode |
-
-
-
- @foreach ($student->academicHistories as $history)
-
- | {{ $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' }}
- |
-
- @endforeach
-
-
+
+
+ @foreach ($student->academicHistories as $history)
+
+
+ @if ($history->is_current)
+
+ @else
+
+ @endif
+
+
+
+
+ {{ $history->academicYear?->name ?: '-' }}
+
+
+ {{ $history->is_current ? 'Aktif Sekarang' : ucfirst($history->status) }}
+
+
+
+
+
+ {{ $history->classRoom?->name ?: '-' }}
+
+
+
+ {{ $history->department?->name ?: '-' }}
+
+
+
+
+ {{ $history->start_date?->format('d-m-Y') ?: '-' }} s/d {{ $history->end_date?->format('d-m-Y') ?: 'Sekarang' }}
+
+
+
+ @endforeach
@endif
@@ -609,8 +727,4 @@
-