@extends('layouts.app') @section('title', 'Fee Management') @section('page-title', 'Fee Management') @section('content')
Total Collected
₹{{ number_format($totalCollected ?? 0, 2) }}
Total Pending
₹{{ number_format($totalPending ?? 0, 2) }}
Total Invoices
{{ $totalInvoices ?? 0 }}
| Invoice # | Student | Amount | Status | Due Date |
|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->student->name ?? 'N/A' }} | ₹{{ number_format($invoice->total, 2) }} | {{ ucfirst($invoice->status) }} | {{ $invoice->due_date->format('d M Y') }} |