{{-- B2B tenancy — "Today" teacher digest. What changed since the user's last visit: new students, recent skill passes, and students needing attention. Each row links into the per-student Atlas. --}} @php($d = $this->getData()) @php($since = $d['since'] instanceof \Illuminate\Support\Carbon ? $d['since'] : \Illuminate\Support\Carbon::parse($d['since']))

Since {{ $since->diffForHumans() }}

{{-- ── New students ───────────────────────────────────────────────────── --}}
New students ({{ count($d['new_students']) }})
@forelse ($d['new_students'] as $row) {{ $row['name'] ?: '—' }} {{ $row['house'] }} @empty
No new students.
@endforelse
{{-- ── Recent passes ──────────────────────────────────────────────────── --}}
Recent passes ({{ count($d['passes']) }})
@forelse ($d['passes'] as $row) {{ $row['student_name'] ?: '—' }} passed {{ $row['skill'] }} @empty
No new passes.
@endforelse
{{-- ── Needs attention ────────────────────────────────────────────────── --}}
Needs attention ({{ count($d['attention']) }})