@extends('layouts.admin') @section('title', setting('school_name', 'ShulePoint') . ' | Invoice ' . $invoice->invoice_no) @section('page-title', 'Invoice ' . $invoice->invoice_no) @push('styles') @endpush @section('content') @php $invPill = $invoice->status === 'paid' ? 'ok' : ($invoice->status === 'partial' ? 'warn' : 'muted'); $learner = $invoice->learner; @endphp {{-- Invoice card --}}
| # | Vote head | Detail | Amount |
|---|---|---|---|
| {{ $i + 1 }} | {{ $line['label'] }} | {{ $line['detail'] }} | KES {{ number_format($line['amount'], 0) }} |
| 1 | School fees | {{ $invoice->term->name ?? 'Term' }} {{ $invoice->academicYear->name ?? '' }} | KES {{ number_format($invoice->total, 0) }} |
| – | Other charges / adjustments | Rounding and manual adjustments | KES {{ number_format($breakdown['adjustment'], 0) }} |
| Amount | Method | Ref | Date | Receipt |
|---|---|---|---|---|
| KES {{ number_format($p->amount, 0) }} | {{ $p->method }} | {{ $p->reference ?? '–' }} | {{ $p->paid_at }} | |
|
No payments recorded Record the first payment against this invoice. Record Payment |
||||