@extends('layouts.admin') @section('title', $sp->displayName()) @section('admin')

← All sponsors

{{ $sp->displayName() }}

{{ $sp->seats }} {{ \Illuminate\Support\Str::plural('seat', $sp->seats) }} · {{ $sp->planLabel() }} each · {{ $sp->amountNaira() }}

@if ($sp->isPaid() && ! $sp->isReleased())
@csrf
@elseif ($sp->isReleased() && $sp->seatsLeft() > 0)
@csrf
@endif
Payment{{ $sp->isPaid() ? 'Paid ✓' : 'Not paid' }}
Seats{{ $sp->seats_used }} used / {{ $sp->seats }}
Status{{ ! $sp->isPaid() ? '—' : ($sp->isReleased() ? ($sp->seatsLeft() ? 'Open to students' : 'All seats used') : 'Awaiting your review') }}
Session{{ $sp->academicSession?->name ?? '—' }}

Sponsor

@if ($sp->message)@endif @include('sponsor.partials.receipt-table', ['sp' => $sp])

Public thanks: {{ $sp->acknowledge ? 'Yes, allowed' : 'No — keep private' }}

Students using these seats

@forelse ($sp->registrations as $r)
@if($r->student){{ $r->full_name }}@else{{ $r->full_name }}@endif
{{ $r->matric_no }} · {{ $r->department }} · {{ $r->level }} Level
{{ $r->paid_at?->format('j M Y') }}
@empty

{{ $sp->isReleased() ? 'No student has used a seat yet.' : 'Open the seats to let students register with them.' }}

@endforelse

When seats are open, the registration form shows “Use a sponsored seat — free”. Seats go to the first eligible students to register, oldest sponsorship first.

@endsection