@extends('layouts.school') @section('title', 'Fee Structures') @section('header', 'Fee Structures') @section('content')

Add Fee Structure

Term left empty = applies to every term of the year. Section/student-category narrow who gets billed.

@csrf
@forelse($structures as $s) @empty @endforelse
CategoryClassYear / TermApplies ToAmountActions
{{ $s->category?->name ?? '—' }} {{ $s->classroom?->name }} {{ $s->academicYear?->name }}{{ $s->term?->name ?? 'All terms' }} {{ $s->section?->name ? 'Section: ' . $s->section->name : 'Whole class' }} @if ($s->student_category)Category: {{ ucfirst($s->student_category) }}@endif ₦{{ number_format($s->amount, 0) }}
@csrf @method('PATCH')
@csrf
No fee structures yet.
@endsection