@extends('layouts.platform') @section('title', $school->name . ' — Subscriptions') @section('header', $school->name . ': Subscriptions') @section('content')
← Back to school
{{-- New Subscription --}}

Activate New Plan

@csrf
{{-- History --}}

Subscription History

@forelse($subscriptions as $sub) @empty @endforelse
Plan Status Period Amount Created
{{ $sub->plan?->name ?? 'No plan' }} {{ $sub->status->label() }} {{ $sub->starts_at?->format('d M Y') }} — {{ $sub->ends_at?->format('d M Y') }} @if($sub->payment_amount > 0)₦{{ number_format($sub->payment_amount, 0) }}@else Free @endif {{ $sub->created_at->format('d M Y H:i') }}
No subscription history yet.
@endsection