{{-- HERO SECTION --}}

{{ __('Student Credentials') }}

{{ __('Access portal login details and secure PDF passwords for your children. Keep this information safe.') }}

{{-- CHILDREN LIST --}}
@forelse(($children ?? []) as $child)
{{-- HEADER --}}
{{ strtoupper(substr($child->name ?? 'S', 0, 1)) }}

{{ $child->name ?? 'Unknown Student' }}

{{ $child->schoolClass?->name ?? 'No Class Assigned' }}
{{-- CREDENTIALS DETAILS --}}
{{-- Student ID --}}
{{ __('Student ID') }}
{{ $child->student_id_number ?? 'N/A' }}
{{-- Username --}}
{{ __('Username') }}
{{ $child->username ?? 'N/A' }}
{{-- Generated Password / PDF Access --}}
{{ __('PDF / Access Password') }}
•••••••• {{-- Change "temp_password" to whatever column holds the PDF password --}} {{ $child->temp_password ?? 'Not Generated' }}
{{-- Toggle Visibility Button --}} {{-- Copy Password Button --}}
{{-- OPTIONAL: PDF DOWNLOAD ACTION --}}
@empty
@endforelse
@push('scripts') @endpush