@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; $navGroups = \App\Support\Navigation\ParentNav::groups('hostel', $guardian, $student); $statusColors = ['active' => 'green', 'checked_out' => 'slate', 'cancelled' => 'red']; @endphp Back to {{ $student->first_name }}
@forelse($allocations as $allocation)

{{ $allocation->bed->room->building->name }}

{{ ucfirst(str_replace('_', ' ', $allocation->status)) }}
Room
{{ $allocation->bed->room->room_number }}
Bed
{{ $allocation->bed->bed_label }}
Check-in
{{ $allocation->check_in_date?->format('M j, Y') ?? '—' }}
Check-out
{{ $allocation->check_out_date?->format('M j, Y') ?? '—' }}
@if($allocation->bed->room->building->supervisor_name)

Warden Contact

{{ $allocation->bed->room->building->supervisor_name }} · {{ $allocation->bed->room->building->supervisor_designation ?? 'Warden' }}

@if($allocation->bed->room->building->supervisor_phone) {{ $allocation->bed->room->building->supervisor_phone }} @endif @if($allocation->bed->room->building->supervisor_email) · {{ $allocation->bed->room->building->supervisor_email }} @endif

@endif
@empty
No hostel allocation for this child.
@endforelse