@extends('layouts.app') @section('title', 'Payment Reports') @section('content')
Fees collection summaries by class and payment mode
Invoiced
KES {{ number_format($totals['invoiced'], 2) }}
Collected
KES {{ number_format($totals['collected'], 2) }}
Outstanding
KES {{ number_format($totals['outstanding'], 2) }}
Receipts (valid)
KES {{ number_format($totals['receipts'], 2) }}
| Class | Invoiced | Collected | Balance |
|---|---|---|---|
| {{ $c->class_name }} | KES {{ number_format($c->invoiced, 2) }} | KES {{ number_format($c->paid, 2) }} | KES {{ number_format($c->balance, 2) }} |
| Date | Receipts | Total |
|---|---|---|
| {{ $d->date }} | {{ $d->count }} | KES {{ number_format($d->total, 2) }} |