{{-- B2B tenancy — People for school operators: seat summary + two rosters (Teachers, Students). Invite/enrol live in the header actions; each row has a Remove button. --}} @php($d = $this->getData()) @php($seats = $d['seats']) {{-- ── Seat summary ───────────────────────────────────────────────────── --}}
{{ $seats['used'] }} of {{ $seats['purchased'] }} seats used @if ($seats['remaining'] > 0) · {{ $seats['remaining'] }} remaining @else · no seats remaining @endif
{{-- ── Teachers ───────────────────────────────────────────────────────── --}}
Teachers ({{ count($d['teachers']) }})
@forelse ($d['teachers'] as $t) @empty @endforelse
Name Email Class Role Action
{{ $t['name'] ?: '—' }} {{ $t['email'] }} {{ $t['house'] }} {{ $t['role_label'] }}
No teachers yet.
{{-- ── Students ───────────────────────────────────────────────────────── --}}
Students ({{ count($d['students']) }})
@forelse ($d['students'] as $s) @empty @endforelse
Name Email Class Action
{{ $s['name'] ?: '—' }} {{ $s['email'] }} {{ $s['house'] }}
No students yet.