@extends('layouts.platform') @section('title', 'Billing — Subscription Invoices') @section('header', 'Billing') @section('content')
Outstanding
₦{{ number_format($totals['issued'], 2) }}
Collected
₦{{ number_format($totals['paid'], 2) }}
| Invoice | School | Plan / Period | Base | Service charge | Total | Status |
|---|---|---|---|---|---|---|
|
{{ $invoice->invoice_ref }}
{{ $invoice->period_start->format('d M Y') }} → {{ $invoice->period_end->format('d M Y') }} |
{{ $invoice->school->name }} | {{ $invoice->subscription?->plan?->name ?? '—' }} | ₦{{ number_format((float) $invoice->base_amount, 2) }} | ₦{{ number_format((float) $invoice->service_charge, 2) }} | ₦{{ number_format((float) $invoice->total, 2) }} | {{ ucfirst($invoice->status) }} |
| No subscription invoices yet. Run billing to issue the next periods. | ||||||