@extends('layouts.app') @section('title', 'Fee Management') @section('page-title', 'Fee Management') @section('content')
@csrf

Fee Structures

@forelse($structures ?? [] as $s) @empty @endforelse
Name Amount Frequency Actions
{{ $s->name }} ₹{{ number_format($s->amount, 2) }} {{ $s->frequency }}
@csrf
No fee structures yet.
@if(isset($pendingSummary) && $pendingSummary->count() > 0)

Total pending fees: ₹{{ number_format(is_numeric($pendingSummary) ? $pendingSummary : $pendingSummary->where('status', 'pending')->first()?->total_amount ?? 0, 2) }}

@endif
@endsection