{{-- Used by the sponsor thank-you page and both sponsorship emails, so inline styles only. --}} @foreach ([ 'Receipt No' => $sp->reference, 'Sponsor' => $sp->name, 'Organisation' => $sp->organisation, 'Email' => $sp->email, 'Phone' => $sp->phone, 'Program' => config('academy.class_name').' ยท '.config('academy.course_name'), 'Session' => $sp->academicSession ? $sp->academicSession->name.' Session' : null, 'Seats' => $sp->seats.' '.\Illuminate\Support\Str::plural('student', $sp->seats), 'Each seat covers' => $sp->planLabel(), 'Payment method' => $sp->channel ? ucwords(str_replace('_', ' ', $sp->channel)).' via Paystack' : 'Paystack', 'Date paid' => $sp->paid_at?->format('j M Y, g:i A'), ] as $k => $v) @continue(is_null($v) || $v === '') @endforeach
{{ $k }} {{ $v }}
Amount paid {{ $sp->amountNaira() }}