@extends('layouts.school') @section('title', 'Finance Report') @section('header', 'Finance Report') @section('content')
Total Invoiced
₦{{ number_format($stats['total_invoiced'], 2) }}
{{ $stats['invoice_count'] }} invoices
Total Collected
₦{{ number_format($stats['total_collected'], 2) }}
Outstanding
₦{{ number_format($stats['total_outstanding'], 2) }}
Discounts
₦{{ number_format($stats['total_discount'], 2) }}
{{ $stats['paid_count'] }}
Paid Invoices
{{ $stats['partial_count'] }}
Partial Payments
{{ $stats['pending_count'] }}
Pending Invoices
| Date | Student | Invoice | Method | Amount |
|---|---|---|---|---|
| {{ $payment->payment_date?->format('d M Y') ?? '—' }} | {{ $payment->student?->full_name ?? '—' }} | {{ $payment->invoice?->invoice_no ?? '—' }} | {{ ucfirst(str_replace('_', ' ', $payment->payment_method ?? '—')) }} | ₦{{ number_format($payment->amount, 2) }} |
| No payments in this period. | ||||