@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
@forelse($guardians as $index => $guardian) @empty @endforelse
# Name Relationship Phone Email Children
{{ $guardians->firstItem() + $index }}
{{ $guardian->fullName() }}
{{ ucfirst($guardian->relationship) }} {{ $guardian->phone }} {{ $guardian->email ?? '—' }} @forelse($guardian->students as $student)
{{ $student->fullName() }} — {{ $student->section?->schoolClass?->name ?? '—' }} @if($student->section?->name) ({{ $student->section->name }}) @endif · {{ $student->branch?->name ?? '—' }} · Roll {{ $student->roll_number ?? '—' }}
@empty — @endforelse
No guardians found.
{{ $guardians->links() }}